SMGameOver add room_uuid

This commit is contained in:
aozhiwei 2019-05-29 13:30:24 +08:00
parent e11bbbae14
commit 704a1e9792
2 changed files with 2 additions and 0 deletions

View File

@ -498,6 +498,7 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
msg.set_team_allcnt(1);
msg.set_game_over(room->game_over);
msg.set_victory(!dead);
msg.set_room_uuid(a8::XValue(room_uuid));
cs::MFPlayerStats* p = msg.add_player_stats();
FillMFPlayerStats(p);

View File

@ -750,6 +750,7 @@ message SMGameOver
optional bool victory = 5; //
repeated MFPlayerStats player_stats = 6; //
optional string room_uuid = 7; //id
}
//