1
This commit is contained in:
parent
f5626febf7
commit
e9a28bed5b
@ -1417,6 +1417,10 @@ void Human::DeadDrop()
|
||||
|
||||
void Human::SendBattleReport()
|
||||
{
|
||||
if (room->GetBattleStartFrameNo() <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::shared_ptr<a8::MutableXObject> params = a8::MutableXObject::CreateObject();
|
||||
GenBattleReportData(params.get());
|
||||
std::string url;
|
||||
@ -3786,6 +3790,9 @@ void Human::SendPersonalBattleReport()
|
||||
if (room->IsPveRoom()) {
|
||||
return;
|
||||
}
|
||||
if (room->GetBattleStartFrameNo() <= 0) {
|
||||
return;
|
||||
}
|
||||
std::shared_ptr<a8::MutableXObject> params = a8::MutableXObject::CreateObject();
|
||||
{
|
||||
params->SetVal("account_id", account_id);
|
||||
|
@ -1620,6 +1620,9 @@ void Human::SendBattleSettlement()
|
||||
if (!IsPlayer()) {
|
||||
return;
|
||||
}
|
||||
if (room->GetBattleStartFrameNo() <= 0) {
|
||||
return;
|
||||
}
|
||||
Player* p = (Player*)this;
|
||||
std::shared_ptr<a8::MutableXObject> params = a8::MutableXObject::CreateObject();
|
||||
{
|
||||
|
@ -216,7 +216,9 @@ void Team::SendTeamBattleReport(Human* sender)
|
||||
if (AllIsRunAway()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (room->GetBattleStartFrameNo() <= 0) {
|
||||
return;
|
||||
}
|
||||
std::shared_ptr<a8::MutableXObject> post_data = a8::MutableXObject::CreateObject();
|
||||
GenBattleReportData(player, post_data.get());
|
||||
std::string url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user