This commit is contained in:
aozhiwei 2021-09-29 15:28:43 +08:00
parent c07ee02788
commit 0dbd6af8f4
2 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,7 @@ void MatchTeam::SyncMatchInfo()
}
notifymsg.mutable_info()->set_phase(phase_);
notifymsg.mutable_info()->set_countdown(phase_left_time_);
notifymsg.mutable_info()->set_predict_time(MetaMgr::Instance()->match_team_time);
for (auto& member : curr_member_hash_) {
if (member->socket_handle != 0) {
GGListener::Instance()->SendToClient(member->socket_handle, 0, notifymsg);

View File

@ -890,6 +890,7 @@ message MFMatchInfo
repeated MFMatchTeamMember members = 1; //
optional int32 phase = 2; // 1:() 2 3:
optional int32 countdown = 3; //()
optional int32 predict_time = 4; //()
}
//end mfmsg