This commit is contained in:
aozhiwei 2024-04-23 15:45:36 +08:00
commit 7c05eeeadb
2 changed files with 2 additions and 0 deletions

View File

@ -3082,6 +3082,7 @@ void CustomBattle::NotifyState()
auto info = notify_msg.mutable_info(); auto info = notify_msg.mutable_info();
info->set_map_id(GetMapId()); info->set_map_id(GetMapId());
info->set_state(state_); info->set_state(state_);
info->set_is_moba(IsMoba() ? 1 : 0);
TraverseTeamList TraverseTeamList
( (
[info] (std::shared_ptr<CustomTeam> team) -> bool [info] (std::shared_ptr<CustomTeam> team) -> bool

View File

@ -1535,6 +1535,7 @@ message MFBattlePreInfo
repeated MFBattlePreTeam team_list = 1; //(account_id获取自己所在队伍,) repeated MFBattlePreTeam team_list = 1; //(account_id获取自己所在队伍,)
optional int32 state = 2; //0: 1: SMJoinedNotify和SMMapInfo信息 optional int32 state = 2; //0: 1: SMJoinedNotify和SMMapInfo信息
optional int32 map_id = 3; //id optional int32 map_id = 3; //id
optional int32 is_moba = 4; //moba模式
} }
// //