AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ScriptMgr.h"
Public Member Functions | |
virtual void | OnPlayerEnterAll (Map *, Player *) |
This hook called when a player enters any Map. | |
virtual void | OnPlayerLeaveAll (Map *, Player *) |
This hook called when a player leave any Map. | |
virtual void | OnBeforeCreateInstanceScript (InstanceMap *, InstanceScript *, bool, std::string, uint32) |
This hook called before create instance script. | |
virtual void | OnDestroyInstance (MapInstanced *, Map *) |
This hook called before destroy instance. | |
virtual void | OnCreateMap (Map *) |
This hook called before creating map. | |
virtual void | OnDestroyMap (Map *) |
This hook called before destroing map. | |
virtual void | OnMapUpdate (Map *, uint32) |
This hook called before updating map. | |
Public Member Functions inherited from ScriptObject | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
Protected Member Functions | |
AllMapScript (const char *name) | |
Protected Member Functions inherited from ScriptObject | |
ScriptObject (const char *name) | |
virtual | ~ScriptObject ()=default |
|
protected |
References ScriptRegistry< TScript >::AddScript().
|
inlinevirtual |
This hook called before create instance script.
instanceMap | Contains information about the WorldSession |
instanceData | Contains information about the WorldPacket |
load | if true loading instance save data |
data | Contains information about the instance save data |
completedEncounterMask | Contains information about the completed encouter mask |
Referenced by ScriptMgr::OnBeforeCreateInstanceScript().
|
inlinevirtual |
This hook called before creating map.
map | Contains information about the Map |
Referenced by ScriptMgr::OnCreateMap().
|
inlinevirtual |
This hook called before destroy instance.
mapInstanced | Contains information about the MapInstanced |
map | Contains information about the Map |
Referenced by ScriptMgr::OnDestroyInstance().
|
inlinevirtual |
This hook called before destroing map.
map | Contains information about the Map |
Referenced by ScriptMgr::OnDestroyMap().
This hook called before updating map.
map | Contains information about the Map |
diff | Contains information about the diff time |
Referenced by ScriptMgr::OnMapUpdate().