[Code] WorldEventScheduler and ZoneEventScheduler Global to Singleton Cleanup (#4932)

This commit is contained in:
Alex King
2025-06-25 15:47:37 -04:00
committed by GitHub
parent f304f9cc61
commit 967a13e692
5 changed files with 17 additions and 10 deletions
+6
View File
@@ -9,6 +9,12 @@ class ZoneEventScheduler : public ServerEventScheduler {
public:
void Process(Zone *zone, WorldContentService *content_service);
void SyncEventDataWithActiveEvents();
static ZoneEventScheduler* Instance()
{
static ZoneEventScheduler instance;
return &instance;
}
};
#endif //EQEMU_ZONE_EVENT_SCHEDULER_H