This commit is contained in:
aozhiwei 2024-04-15 21:15:08 +08:00
parent 95684ed6c3
commit a84807aced
2 changed files with 7 additions and 0 deletions

View File

@ -3096,6 +3096,7 @@ void Room::OnBattleStart()
}); });
battle_starting_ = false; battle_starting_ = false;
SendSMTeamFull(nullptr); SendSMTeamFull(nullptr);
SendRecentBattle();
} }
bool Room::CanAddObstacle(const glm::vec3& pos, int obstacle_id) bool Room::CanAddObstacle(const glm::vec3& pos, int obstacle_id)
@ -4010,3 +4011,8 @@ void Room::TryRoomReport(int try_count)
a8::XPrintf("RoomReportLen:%d\n", {params->ToJsonStr().size()}); a8::XPrintf("RoomReportLen:%d\n", {params->ToJsonStr().size()});
#endif #endif
} }
void Room::SendRecentBattle()
{
}

View File

@ -377,6 +377,7 @@ private:
void DecAliveCount(); void DecAliveCount();
void GenBattleRoomReportData(a8::MutableXObject* params); void GenBattleRoomReportData(a8::MutableXObject* params);
void TryRoomReport(int try_count); void TryRoomReport(int try_count);
void SendRecentBattle();
private: private:
bool destorying_ = false; bool destorying_ = false;