1
This commit is contained in:
commit
7c05eeeadb
@ -3082,6 +3082,7 @@ void CustomBattle::NotifyState()
|
||||
auto info = notify_msg.mutable_info();
|
||||
info->set_map_id(GetMapId());
|
||||
info->set_state(state_);
|
||||
info->set_is_moba(IsMoba() ? 1 : 0);
|
||||
TraverseTeamList
|
||||
(
|
||||
[info] (std::shared_ptr<CustomTeam> team) -> bool
|
||||
|
@ -1535,6 +1535,7 @@ message MFBattlePreInfo
|
||||
repeated MFBattlePreTeam team_list = 1; //成员列表(通过判断account_id获取自己所在队伍,如果是观战则找不到)
|
||||
optional int32 state = 2; //0:准备阶段 1:可以开始 这时服务器会通知后续的SMJoinedNotify和SMMapInfo信息
|
||||
optional int32 map_id = 3; //地图id
|
||||
optional int32 is_moba = 4; //是否moba模式
|
||||
}
|
||||
|
||||
//游戏内语音击杀信息
|
||||
|
Loading…
x
Reference in New Issue
Block a user