1
This commit is contained in:
parent
ceaf83f9e3
commit
6bc5377baa
@ -3662,8 +3662,20 @@ void Human::ShiledBreak()
|
||||
|
||||
void Human::SendPersonalBattleReport()
|
||||
{
|
||||
if (room->IsPveRoom()) {
|
||||
return;
|
||||
}
|
||||
std::shared_ptr<a8::MutableXObject> params = a8::MutableXObject::CreateObject();
|
||||
GenBattleReportData(params.get());
|
||||
{
|
||||
params->SetVal("account_id", account_id);
|
||||
params->SetVal("session_id", session_id);
|
||||
|
||||
params->SetVal("version", 2023030201);
|
||||
params->SetVal("battle_uuid", a8::XValue(battle_uuid));
|
||||
params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid()));
|
||||
params->SetVal("room_mode", room->GetReportRoomMode());
|
||||
params->SetVal("team_id", GetTeam()->GetTeamId());
|
||||
}
|
||||
std::string url;
|
||||
JsonDataMgr::Instance()->GetApiUrl(url);
|
||||
if (url.find('?') != std::string::npos) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user