英雄信息

master_huanxiang
wangyuan 2019-08-29 15:40:42 +08:00
parent 30c8d01845
commit 242eafee62
1 changed files with 8 additions and 0 deletions

View File

@ -443,6 +443,12 @@ option optimize_for = SPEED;
repeated int32 value = 7; // buffer
}
message BloodyHeroInfo {
optional string heroId = 1;
optional int32 heroHp = 2;
optional int32 heroMaxHp =3;
}
message Creature{
repeated int32 path = 1; //
optional int32 speed =2;//
@ -450,6 +456,7 @@ option optimize_for = SPEED;
optional int32 curHp =4;//
optional int32 mineral = 5; //
optional int32 camp = 6; //
repeated BloodyHeroInfo heroInfo = 7 ; //
}
message SceneActor{
@ -458,6 +465,7 @@ option optimize_for = SPEED;
optional int32 state = 3; // 1 0
optional int32 type =4 ;// 1 2 3 4 npc
optional Creature Creature = 6 ;//
optional int32 userName = 7; //
}