[Code] ZSList Global to Singleton Cleanup (#4940)

* [Code] ZSList Global to Singleton Cleanup

* Final

* Post merge fixes

---------

Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
Alex KingandChris Miles authored and GitHub committed 2025-06-25 15:16:44 -05:00
1 parent 643ee56433
commit dc261bb203
24 files changed
+266 -275

No files matched your search

+1 -2
View File
@@ -7,7 +7,6 @@
#include "launcher_list.h"
extern ClientList client_list;
extern ZSList zoneserver_list;
extern LauncherList launcher_list;
void EQW__GetConfig(WebInterface *i, const std::string& method, const std::string& id, const Json::Value& params) {
@@ -58,7 +57,7 @@ void EQW__GetPlayerCount(WebInterface *i, const std::string& method, const std::
}
void EQW__GetZoneCount(WebInterface *i, const std::string& method, const std::string& id, const Json::Value& params) {
Json::Value ret = zoneserver_list.GetZoneCount();
Json::Value ret = ZSList::Instance()->GetZoneCount();
i->SendResponse(id, ret);
}