This commit is contained in:
aozhiwei 2022-10-24 09:56:19 +08:00
parent 127b8a82b7
commit 663bcec87c

View File

@ -13,8 +13,6 @@ class MatchPool : public a8::Singleton<MatchPool>
friend class a8::Singleton<MatchPool>; friend class a8::Singleton<MatchPool>;
public: public:
a8::TimerAttacher timer_attacher;
void Init(); void Init();
void UnInit(); void UnInit();
@ -31,6 +29,7 @@ private:
void RemoveSocket(int socket_handle); void RemoveSocket(int socket_handle);
private: private:
a8::TimerAttacher timer_attacher_;
std::map<std::string, MatchTeam*> team_hash_; std::map<std::string, MatchTeam*> team_hash_;
std::map<int, std::tuple<std::string, MatchTeam*>> socket_hash_; std::map<int, std::tuple<std::string, MatchTeam*>> socket_hash_;
}; };