SMGameOver add room_uuid
This commit is contained in:
parent
e11bbbae14
commit
704a1e9792
@ -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);
|
||||
|
@ -750,6 +750,7 @@ message SMGameOver
|
||||
optional bool victory = 5; //是否胜利
|
||||
|
||||
repeated MFPlayerStats player_stats = 6; //玩家信息统计
|
||||
optional string room_uuid = 7; //房间唯一id
|
||||
}
|
||||
|
||||
//离开
|
||||
|
Loading…
x
Reference in New Issue
Block a user