英雄信息
parent
30c8d01845
commit
242eafee62
|
|
@ -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; //玩家名称(只有玩家才有)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue