mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 02:38:45 +00:00
[Code] ClientList Global to Singleton Cleanup (#4942)
This commit is contained in:
@@ -85,6 +85,12 @@ public:
|
||||
return {m_gm_zone_server_ids.begin(), m_gm_zone_server_ids.end()};
|
||||
}
|
||||
|
||||
static ClientList* Instance()
|
||||
{
|
||||
static ClientList instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
private:
|
||||
void OnTick(EQ::Timer *t);
|
||||
inline uint32 GetNextCLEID() { return NextCLEID++; }
|
||||
|
||||
Reference in New Issue
Block a user