mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
[Code] WorldEventScheduler and ZoneEventScheduler Global to Singleton Cleanup (#4932)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user