From cd4370948a1e77f2ee42d819a858a944c114c16b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 17 Apr 2019 16:01:30 +0800 Subject: [PATCH] 1 --- server/tools/protobuild/cs_proto.proto | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index f4d7ffa..e73f078 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -158,6 +158,7 @@ message MFPlayerFull optional int32 vip = 20; //vip optional int32 sdmg = 21; optional int32 max_energy_shield = 22; //最大能量护盾 + repeated MFBodyState states = 23; //角色状态 } //阻挡物-部分 @@ -516,11 +517,18 @@ message MFAirDrop //对象状态(只同步一次客户端自己到及时,有变化时服务器会再次下发) message MFBodyState { - optional int32 state_type = 1; //1:止痛药持续加血 + optional int32 state_type = 1; //1:止痛药持续加血 2:在飞机上(这时left_time、lasting_time无意义) 3:跳伞中 optional float left_time = 2; //剩余时间(单位毫秒) optional float lasting_time = 3; //持续时间(总时间毫秒) } +//飞机 +message MFPlane +{ + optional MFVector2D start_point = 1; //飞机起点 + optional MFVector2D end_point = 2; //飞机终点 +} + //end mfmsg //加入 @@ -572,6 +580,8 @@ message CMMove optional bool spectate = 30; //自杀 optional int32 emote = 31; //表情id + + optional bool jump = 32; //跳伞 } //丢弃道具 @@ -644,6 +654,7 @@ message SMUpdate repeated MFSmoke smokes = 25; //烟雾 repeated MFEmote emotes = 23; //表情 optional MFAirDrop airdrop = 26; //空投 + optional MFPlane plane = 27; //飞机 optional int32 ack = 24; //服务器最后处理的req id }