添加僵尸模式协议
This commit is contained in:
parent
ead9b67793
commit
ad43e3a120
@ -118,6 +118,12 @@ message MFVec2
|
||||
property_type: 10 更新武器子弹数
|
||||
property_subtype: 武器索引
|
||||
valule: 当前数量
|
||||
property_type: 20 等级
|
||||
valule: 当前等级
|
||||
property_type: 21 经验
|
||||
valule: 当前经验
|
||||
property_type: 22 阵营
|
||||
valule: 当前阵营
|
||||
*/
|
||||
message MFPropertyChg
|
||||
{
|
||||
@ -220,6 +226,7 @@ message MFPlayerFull
|
||||
optional int32 level = 41; //等级
|
||||
optional int32 exp = 42; //经验
|
||||
optional int32 race = 43; //1:人 2:僵尸
|
||||
optional int32 zombieid = 44; //僵尸id
|
||||
}
|
||||
|
||||
//阻挡物-部分
|
||||
@ -685,6 +692,14 @@ message MFTeamMember
|
||||
optional int32 create_time = 7; //账号创建时间
|
||||
}
|
||||
|
||||
//位置信息
|
||||
message MFPosition
|
||||
{
|
||||
optional int32 obj_uniid = 1; //唯一id
|
||||
optional MFVec2 pos = 2; //位置
|
||||
optional MFVec2 dir = 3; //朝向
|
||||
}
|
||||
|
||||
//end mfmsg
|
||||
|
||||
//加入
|
||||
@ -892,8 +907,12 @@ message SMUpdate
|
||||
repeated MFBuffChg chged_buff_list = 28; //buff变更列表
|
||||
repeated MFPropertyChg chged_property_list = 31; //property变更列表
|
||||
|
||||
//一下字段只有僵尸模式才有效
|
||||
repeated int32 revive_objids = 41; //复活的玩家
|
||||
repeated MFTuple dead_objs = 42; //死亡的玩家values[0]:objid values[1]:多少毫秒后复活
|
||||
repeated MFPosition zombie_positions = 43; //僵尸位置信息
|
||||
repeated MFPosition human_positions = 44; //人类位置信息
|
||||
optional int32 game_left_time = 45; //游戏剩余时间(毫秒, 战斗开始后字段才有意义)
|
||||
}
|
||||
|
||||
//滚动消息
|
||||
|
Loading…
x
Reference in New Issue
Block a user