1
This commit is contained in:
parent
2aa5254ae2
commit
a2a3d4f87b
@ -944,6 +944,11 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
|
||||
} else {
|
||||
msg.set_star_num(mt::Param::GetStarNum(stats->rank));
|
||||
}
|
||||
if (room->GetCustomBattle()) {
|
||||
msg.mutable_settlement_new()->set_custom_battle(1);
|
||||
} else {
|
||||
msg.mutable_settlement_new()->set_custom_battle(0);
|
||||
}
|
||||
if (GetTeam()->already_report_battle) {
|
||||
msg.mutable_settlement_new()->set_settlement_status(1);
|
||||
auto p = msg.mutable_settlement_new();
|
||||
|
@ -1282,6 +1282,7 @@ message MFSettlementNew
|
||||
optional int32 map_id = 10; //地图id
|
||||
optional string battle_uuid = 11; //本次战斗唯一id
|
||||
optional int32 settlement_status = 12; //0: 结算中(读取个人结算数据) 1:已结算(请求小胡接口)
|
||||
optional int32 custom_battle = 13; //是否自定义房间
|
||||
|
||||
optional int32 pvp_settlement_type = 101; //結算類型0:個人 1:組隊(保留)
|
||||
optional int32 pvp_settlement_color = 102; // 0:灰 1:黃
|
||||
|
Loading…
x
Reference in New Issue
Block a user