1
This commit is contained in:
parent
0e223cb263
commit
26c8190ece
@ -3874,3 +3874,8 @@ void Room::MobaBatterysUpdate()
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
int Room::GetReportMapMode()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
@ -299,6 +299,7 @@ public:
|
||||
void SendSMTeamFull(Human* hum);
|
||||
void OnTeamPartChg(Human* hum);
|
||||
bool IsAlreadyRoomReportBattle() { return already_room_report_battle_; }
|
||||
int GetReportMapMode();
|
||||
|
||||
std::shared_ptr<InGameVoice> GetInGameVoice() { return ingame_voice_; }
|
||||
|
||||
|
@ -279,6 +279,7 @@ void Team::GenBattleReportData(Human* player, a8::MutableXObject* params)
|
||||
params->SetVal("room_mode", room->GetReportRoomMode());
|
||||
params->SetVal("team_id", GetTeamId());
|
||||
params->SetVal("team_mode", 1);
|
||||
params->SetVal("map_mode", room->GetReportMapMode());
|
||||
params->SetVal("map_id", room->GetMapMeta()->map_id());
|
||||
if (room->IsPveRoom()) {
|
||||
params->SetVal("victory", room->pve_data.pve_kill_boss == 1 ? 1 : 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user