1
This commit is contained in:
parent
09f3687e24
commit
1b4398bdff
@ -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)
|
void RoomMgr::OnJoinRoomOk(const cs::CMJoin& msg, Player* hum)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,6 @@ class RoomMgr : public a8::Singleton<RoomMgr>
|
|||||||
int OverRoomNum();
|
int OverRoomNum();
|
||||||
std::shared_ptr<Room> GetRoomByUuid(const std::string& uuid);
|
std::shared_ptr<Room> GetRoomByUuid(const std::string& uuid);
|
||||||
void AddOverRoom(const std::string& room_uuid);
|
void AddOverRoom(const std::string& room_uuid);
|
||||||
bool IsGM(const std::string& account_id);
|
|
||||||
int GetMatchMode() { return match_mode_; };
|
int GetMatchMode() { return match_mode_; };
|
||||||
void SetMatchMode(int mode);
|
void SetMatchMode(int mode);
|
||||||
bool HasTask();
|
bool HasTask();
|
||||||
@ -106,7 +105,6 @@ class RoomMgr : public a8::Singleton<RoomMgr>
|
|||||||
std::map<int, std::shared_ptr<Room>> room_idx_hash_;
|
std::map<int, std::shared_ptr<Room>> room_idx_hash_;
|
||||||
std::map<std::string, std::shared_ptr<Room>> over_room_hash_;
|
std::map<std::string, std::shared_ptr<Room>> over_room_hash_;
|
||||||
f8::Attacher reportstate_timer_attacher_;
|
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>> custom_room_hash_;
|
||||||
std::map<std::string, std::shared_ptr<CustomBattle>> his_custom_room_hash_;
|
std::map<std::string, std::shared_ptr<CustomBattle>> his_custom_room_hash_;
|
||||||
std::map<int, std::shared_ptr<CustomMember>> socket_hash_;
|
std::map<int, std::shared_ptr<CustomMember>> socket_hash_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user