![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ScriptMgr.h"
Public Member Functions | |
virtual void | OnAllCreatureUpdate (Creature *, uint32) |
virtual void | Creature_SelectLevel (const CreatureTemplate *, Creature *) |
virtual void | OnCreatureAddWorld (Creature *) |
This hook runs after add creature in world. | |
virtual void | OnCreatureRemoveWorld (Creature *) |
This hook runs after remove creature in world. | |
virtual void | OnCreatureSaveToDB (Creature *) |
This hook runs after creature has been saved to DB. | |
virtual bool | CanCreatureGossipHello (Player *, Creature *) |
This hook called when a player opens a gossip dialog with the creature. | |
virtual bool | CanCreatureGossipSelect (Player *, Creature *, uint32, uint32) |
This hook called when a player selects a gossip item in the creature's gossip menu. | |
virtual bool | CanCreatureGossipSelectCode (Player *, Creature *, uint32, uint32, const char *) |
This hook called when a player selects a gossip with a code in the creature's gossip menu. | |
virtual bool | CanCreatureQuestAccept (Player *, Creature *, Quest const *) |
virtual bool | CanCreatureQuestReward (Player *, Creature *, Quest const *, uint32) |
virtual CreatureAI * | GetCreatureAI (Creature *) const |
virtual void | OnFfaPvpStateUpdate (Creature *, bool) |
![]() | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
Protected Member Functions | |
AllCreatureScript (const char *name) | |
![]() | |
ScriptObject (const char *name) | |
virtual | ~ScriptObject ()=default |
|
protected |
References ScriptRegistry< TScript >::AddScript().
This hook called when a player opens a gossip dialog with the creature.
player | Contains information about the Player |
creature | Contains information about the Creature |
Referenced by ScriptMgr::OnGossipHello().
|
inlinevirtual |
This hook called when a player selects a gossip item in the creature's gossip menu.
player | Contains information about the Player |
creature | Contains information about the Creature |
sender | Contains information about the sender type |
action | Contains information about the action id |
Referenced by ScriptMgr::OnGossipSelect().
|
inlinevirtual |
This hook called when a player selects a gossip with a code in the creature's gossip menu.
player | Contains information about the Player |
creature | Contains information about the Creature |
sender | Contains information about the sender type |
action | Contains information about the action id |
code | Contains information about the code entered |
Referenced by ScriptMgr::OnGossipSelectCode().
|
inlinevirtual |
Referenced by ScriptMgr::OnQuestAccept().
|
inlinevirtual |
Referenced by ScriptMgr::OnQuestReward().
|
inlinevirtual |
Referenced by ScriptMgr::Creature_SelectLevel().
|
inlinevirtual |
Referenced by ScriptMgr::GetCreatureAI().
Referenced by ScriptMgr::OnCreatureUpdate().
|
inlinevirtual |
This hook runs after add creature in world.
creature | Contains information about the Creature |
Referenced by ScriptMgr::OnCreatureAddWorld().
|
inlinevirtual |
This hook runs after remove creature in world.
creature | Contains information about the Creature |
Referenced by ScriptMgr::OnCreatureRemoveWorld().
|
inlinevirtual |
This hook runs after creature has been saved to DB.
creature | Contains information about the Creature |
Referenced by ScriptMgr::OnCreatureSaveToDB().
|
inlinevirtual |
Referenced by ScriptMgr::OnFfaPvpStateUpdate().