This commit is contained in:
aozhiwei 2024-08-30 13:29:39 +08:00
parent f64cda608d
commit 73e7669ab5
3 changed files with 4 additions and 0 deletions

View File

@ -3646,6 +3646,7 @@ void Human::SendPersonalBattleReport()
params->SetVal("session_id", session_id); params->SetVal("session_id", session_id);
params->SetVal("version", 2023030201); params->SetVal("version", 2023030201);
params->SetVal("is_newbie_battle", a8::XValue(room->IsNewBieBattle()));
params->SetVal("battle_uuid", a8::XValue(GetTeam()->GetBattleUuid())); params->SetVal("battle_uuid", a8::XValue(GetTeam()->GetBattleUuid()));
params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid())); params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid()));
params->SetVal("room_mode", room->GetReportRoomMode()); params->SetVal("room_mode", room->GetReportRoomMode());

View File

@ -4021,6 +4021,7 @@ int Room::GetReportMapMode()
void Room::GenBattleRoomReportData(a8::MutableXObject* params) void Room::GenBattleRoomReportData(a8::MutableXObject* params)
{ {
params->SetVal("version", 2023030201); params->SetVal("version", 2023030201);
params->SetVal("is_newbie_battle", a8::XValue(IsNewBieBattle()));
params->SetVal("room_uuid", a8::XValue(GetRoomUuid())); params->SetVal("room_uuid", a8::XValue(GetRoomUuid()));
params->SetVal("room_mode", GetReportRoomMode()); params->SetVal("room_mode", GetReportRoomMode());
params->SetVal("map_mode", GetReportMapMode()); params->SetVal("map_mode", GetReportMapMode());
@ -4042,6 +4043,7 @@ void Room::GenBattleRoomReportData(a8::MutableXObject* params)
void Room::GenBattleMobaReportData(a8::MutableXObject* params) void Room::GenBattleMobaReportData(a8::MutableXObject* params)
{ {
params->SetVal("version", 2023030201); params->SetVal("version", 2023030201);
params->SetVal("is_newbie_battle", a8::XValue(IsNewBieBattle()));
params->SetVal("room_uuid", a8::XValue(GetRoomUuid())); params->SetVal("room_uuid", a8::XValue(GetRoomUuid()));
params->SetVal("room_mode", GetReportRoomMode()); params->SetVal("room_mode", GetReportRoomMode());
params->SetVal("map_mode", GetReportMapMode()); params->SetVal("map_mode", GetReportMapMode());

View File

@ -274,6 +274,7 @@ void Team::SendTeamBattleReport(Human* sender)
void Team::GenBattleReportData(a8::MutableXObject* params) void Team::GenBattleReportData(a8::MutableXObject* params)
{ {
params->SetVal("version", 2023030201); params->SetVal("version", 2023030201);
params->SetVal("is_newbie_battle", a8::XValue(room->IsNewBieBattle()));
params->SetVal("battle_uuid", a8::XValue(battle_uuid_)); params->SetVal("battle_uuid", a8::XValue(battle_uuid_));
params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid())); params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid()));
params->SetVal("room_mode", room->GetReportRoomMode()); params->SetVal("room_mode", room->GetReportRoomMode());