This commit is contained in:
aozhiwei 2024-04-03 22:24:30 +08:00
parent 09f3687e24
commit 1b4398bdff
2 changed files with 0 additions and 7 deletions

View File

@ -453,11 +453,6 @@ void RoomMgr::JoinErrorHandle(const cs::CMJoin& msg, int error_code, int socket_
});
}
bool RoomMgr::IsGM(const std::string& account_id)
{
return gm_hash_.find(account_id) != gm_hash_.end();
}
void RoomMgr::OnJoinRoomOk(const cs::CMJoin& msg, Player* hum)
{
}

View File

@ -65,7 +65,6 @@ class RoomMgr : public a8::Singleton<RoomMgr>
int OverRoomNum();
std::shared_ptr<Room> GetRoomByUuid(const std::string& uuid);
void AddOverRoom(const std::string& room_uuid);
bool IsGM(const std::string& account_id);
int GetMatchMode() { return match_mode_; };
void SetMatchMode(int mode);
bool HasTask();
@ -106,7 +105,6 @@ class RoomMgr : public a8::Singleton<RoomMgr>
std::map<int, std::shared_ptr<Room>> room_idx_hash_;
std::map<std::string, std::shared_ptr<Room>> over_room_hash_;
f8::Attacher reportstate_timer_attacher_;
std::map<std::string, int> gm_hash_;
std::map<std::string, std::shared_ptr<CustomBattle>> custom_room_hash_;
std::map<std::string, std::shared_ptr<CustomBattle>> his_custom_room_hash_;
std::map<int, std::shared_ptr<CustomMember>> socket_hash_;