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