[Code] ClientList Global to Singleton Cleanup (#4942)

This commit is contained in:
Alex King authored and GitHub committed 2025-06-25 13:49:42 -05:00
1 parent 4f7ff2d6f2
commit 2128b45313
10 files changed
+65 -59

No files matched your search

+6
View File
@@ -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++; }