From a91ac7cca83cc5c1d2669df30c056f8a990459d5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 2 Apr 2023 10:28:52 +0800 Subject: [PATCH] 1 --- server/tools/protobuild/cs_proto.proto | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index c625d9e4..9a053f19 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -663,10 +663,13 @@ message MFBullet optional int32 bullet_uniid = 12; //子弹唯一id optional int32 hand = 16 [default = 0]; //手 0:右手 1:左手 - //追踪型子弹一下字段才有意义(trace_target_uniid != 0) + //追踪型子弹以下字段才有意义(trace_target_uniid != 0) optional int32 trace_target_uniid = 13 [default = 0]; //不为空和0的时候表示要追踪的目标对象uniid optional float track_change_time = 14 [default = 0]; //变轨时间间隔(毫秒) optional int32 is_through = 15 [default = 0]; //是否穿墙 + + //客户端上报型子弹一下字段才有意义(reporter_list.size() > 0) + repeated int32 reporter_list = 20; //上报者列表 } //射击 @@ -1370,13 +1373,16 @@ message CMMatchBroadcastMsg optional string content = 2; //消息内容 } -//请求子弹伤害(追踪型子弹) +/* + 请求子弹伤害(追踪型子弹、上报型子弹) +*/ message CMRequestBulletDmg { optional int32 bullet_uniid = 1; //子弹唯一id optional int32 shield_hit = 2; //打中盾牌 optional int32 strengthen_wall_uniid = 3; //能量墙uniid optional int32 target_uniid = 4; //命中目标id + optional MFVec3 pos = 5; //子弹当前位置 } //请求投掷物伤害