This commit is contained in:
aozhiwei 2023-12-05 11:36:08 +08:00
parent 9258ab4c50
commit 2aa5254ae2
2 changed files with 6 additions and 0 deletions

View File

@ -1422,6 +1422,9 @@ void Human::SendBattleReport()
if (room->GetBattleStartFrameNo() <= 0) {
return;
}
if (room->GetCustomBattle()) {
return;
}
std::shared_ptr<a8::MutableXObject> params = a8::MutableXObject::CreateObject();
GenBattleReportData(params.get());

View File

@ -231,6 +231,9 @@ void Team::SendTeamBattleReport(Human* sender)
if (room->GetBattleStartFrameNo() <= 0) {
return;
}
if (room->GetCustomBattle()) {
return;
}
std::shared_ptr<a8::MutableXObject> post_data = a8::MutableXObject::CreateObject();
GenBattleReportData(player, post_data.get());
std::string url;