AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "WorldScript.h"
Public Member Functions | |
virtual void | OnOpenStateChange (bool) |
virtual void | OnAfterConfigLoad (bool) |
virtual void | OnLoadCustomDatabaseTable () |
virtual void | OnBeforeConfigLoad (bool) |
virtual void | OnMotdChange (std::string &, LocaleConstant &) |
virtual void | OnShutdownInitiate (ShutdownExitCode, ShutdownMask) |
virtual void | OnShutdownCancel () |
virtual void | OnUpdate (uint32) |
virtual void | OnStartup () |
virtual void | OnShutdown () |
virtual void | OnAfterUnloadAllMaps () |
Called after all maps are unloaded from core. More... | |
virtual void | OnBeforeFinalizePlayerWorldSession (uint32 &) |
This hook runs before finalizing the player world session. Can be also used to mutate the cache version of the Client. More... | |
virtual void | OnBeforeWorldInitialized () |
This hook runs after all scripts loading and before itialized. More... | |
Public Member Functions inherited from ScriptObject | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
uint16 | GetTotalAvailableHooks () |
Protected Member Functions | |
WorldScript (const char *name, std::vector< uint16 > enabledHooks=std::vector< uint16 >()) | |
Protected Member Functions inherited from ScriptObject | |
ScriptObject (const char *name, uint16 totalAvailableHooks=0) | |
virtual | ~ScriptObject ()=default |
|
protected |
References ScriptRegistry< TScript >::AddScript(), and WORLDHOOK_END.
|
inlinevirtual |
|
inlinevirtual |
Called after all maps are unloaded from core.
|
inlinevirtual |
|
inlinevirtual |
This hook runs before finalizing the player world session. Can be also used to mutate the cache version of the Client.
version | The cache version that we will be sending to the Client. |
|
inlinevirtual |
This hook runs after all scripts loading and before itialized.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |