This commit is contained in:
aozhiwei 2021-09-10 05:17:14 +00:00
parent 674173034b
commit 9364d4dafd
3 changed files with 5 additions and 1 deletions

View File

@ -1335,6 +1335,9 @@ void Human::SendGameOver()
cs::SMGameOver msg;
FillSMGameOver(msg);
SendNotifyMsg(msg);
#ifdef DEBUG
a8::XPrintf("SendGameOver socket_handle:%d\n", {socket_handle});
#endif
}
}
}

View File

@ -1916,6 +1916,7 @@ void Room::NotifyWxVoip()
&xtimer_attacher_.timer_list_);
}
#if 0
void Room::BattleReport()
{
for (auto& pair : accountid_hash_) {
@ -1925,6 +1926,7 @@ void Room::BattleReport()
game_over_frameno_ = frameno_;
RoomMgr::Instance()->AddOverRoom(room_uuid_);
}
#endif
BornPoint* Room::AllocBornPoint(Human* hum)
{

View File

@ -245,7 +245,6 @@ private:
void OnGameOver();
void RandRemoveAndroid();
void NotifyWxVoip();
void BattleReport();
BornPoint* AllocBornPoint(Human* hum);
BornPoint* GetBornPoint(int point_uniid);
void CreateSpawnPoints();