diff --git a/server/matchserver/proto/cs_msgid.proto b/server/matchserver/proto/cs_msgid.proto index 076d9e08..52249874 100644 --- a/server/matchserver/proto/cs_msgid.proto +++ b/server/matchserver/proto/cs_msgid.proto @@ -46,4 +46,5 @@ enum SMMessageId_e _SMTeamStateNotify = 1002; _SMTeamDisbandNotify = 1003; _SMTeamKickoutNotify = 1004; + _SMPushLastBattleInfo = 1005; } diff --git a/server/matchserver/proto/cs_proto.proto b/server/matchserver/proto/cs_proto.proto index d1840a87..e8077e24 100644 --- a/server/matchserver/proto/cs_proto.proto +++ b/server/matchserver/proto/cs_proto.proto @@ -151,6 +151,15 @@ message MFTeam optional int32 mode_id = 5; //地图mapMode表.id } +//最后一次战斗信息 +message MFLastBattleInfo +{ + optional int32 map_id = 1; //地图id + optional int32 mode_id = 2; //地图mapMode表.id + optional int32 start_time = 3; //开始时间 + optional int32 interval_time = 6; //间隔时间(单位秒,<=0无间隔) +} + //登录 message CMLogin { @@ -359,3 +368,9 @@ message SMTeamKickoutNotify { optional string account_id = 1; //账号id } + +//最后一次战斗信息 +message SMPushLastBattleInfo +{ + repeated MFLastBattleInfo battle_list = 1; //战斗信息 +}