1
This commit is contained in:
parent
7b6333bfc4
commit
8609d72de5
@ -464,11 +464,6 @@ void RoomMgr::OnJoinRoomOk(const cs::CMJoin& msg, Player* hum)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void RoomMgr::SetMatchMode(int mode)
|
|
||||||
{
|
|
||||||
match_mode_ = mode;
|
|
||||||
}
|
|
||||||
|
|
||||||
void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -66,8 +66,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);
|
||||||
int GetMatchMode() { return match_mode_; };
|
|
||||||
void SetMatchMode(int mode);
|
|
||||||
bool HasTask();
|
bool HasTask();
|
||||||
void OnJoinRoomOk(const cs::CMJoin& msg, Player* hum);
|
void OnJoinRoomOk(const cs::CMJoin& msg, Player* hum);
|
||||||
std::shared_ptr<CustomMember> GetCustomMemberBySocket(int socket_handle);
|
std::shared_ptr<CustomMember> GetCustomMemberBySocket(int socket_handle);
|
||||||
@ -100,7 +98,6 @@ class RoomMgr : public a8::Singleton<RoomMgr>
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int current_room_idx_ = 0;
|
int current_room_idx_ = 0;
|
||||||
int match_mode_ = 0;
|
|
||||||
|
|
||||||
std::map<std::string, std::shared_ptr<Room>> inactive_room_hash_;
|
std::map<std::string, std::shared_ptr<Room>> inactive_room_hash_;
|
||||||
std::map<std::string, std::shared_ptr<Room>> room_hash_;
|
std::map<std::string, std::shared_ptr<Room>> room_hash_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user