[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
@@ -7,6 +7,12 @@
class WorldEventScheduler : public ServerEventScheduler {
public:
void Process(ZSList *zs_list);
static WorldEventScheduler* Instance()
{
static WorldEventScheduler instance;
return &instance;
}
};
#endif //EQEMU_EVENT_SCHEDULER_H