AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
npc_sayge () | |
bool | OnGossipHello (Player *player, Creature *creature) override |
void | SendAction (Player *player, Creature *creature, uint32 action) |
bool | OnGossipSelect (Player *player, Creature *creature, uint32 sender, uint32 action) override |
Public Member Functions inherited from CreatureScript | |
bool | IsDatabaseBound () const override |
virtual bool | OnGossipHello (Player *, Creature *) |
virtual bool | OnGossipSelect (Player *, Creature *, uint32, uint32) |
virtual bool | OnGossipSelectCode (Player *, Creature *, uint32, uint32, const char *) |
virtual bool | OnQuestAccept (Player *, Creature *, Quest const *) |
virtual bool | OnQuestSelect (Player *, Creature *, Quest const *) |
virtual bool | OnQuestComplete (Player *, Creature *, Quest const *) |
virtual bool | OnQuestReward (Player *, Creature *, Quest const *, uint32) |
virtual uint32 | GetDialogStatus (Player *, Creature *) |
virtual CreatureAI * | GetAI (Creature *) const |
virtual void | OnFfaPvpStateUpdate (Creature *, bool) |
Public Member Functions inherited from ScriptObject | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
uint16 | GetTotalAvailableHooks () |
Public Member Functions inherited from UpdatableScript< Creature > | |
virtual void | OnUpdate (Creature *, uint32) |
Additional Inherited Members | |
Protected Member Functions inherited from CreatureScript | |
CreatureScript (const char *name) | |
Protected Member Functions inherited from ScriptObject | |
ScriptObject (const char *name, uint16 totalAvailableHooks=0) | |
virtual | ~ScriptObject ()=default |
Protected Member Functions inherited from UpdatableScript< Creature > | |
UpdatableScript ()=default | |
|
inline |
Reimplemented from CreatureScript.
References AddGossipItemFor(), Player::GetGossipTextId(), Object::GetGUID(), GOSSIP_ACTION_INFO_DEF, GOSSIP_MENU_SAYGE_HELLO, GOSSIP_SENDER_MAIN, Player::HasSpellCooldown(), Unit::IsQuestGiver(), Player::PrepareQuestMenu(), SendGossipMenuFor(), SPELL_AGI, SPELL_ARM, SPELL_DMG, SPELL_INT, SPELL_RES, SPELL_SPI, SPELL_STM, and SPELL_STR.
|
inlineoverridevirtual |
Reimplemented from CreatureScript.
References Player::AddSpellCooldown(), Unit::CastSpell(), ClearGossipMenuFor(), GOSSIP_SENDER_MAIN, HOUR, IN_MILLISECONDS, SPELL_AGI, SPELL_ARM, SPELL_DMG, SPELL_INT, SPELL_RES, SPELL_SPI, SPELL_STM, and SPELL_STR.
References AddGossipItemFor(), Unit::CastSpell(), Object::GetGUID(), GOSSIP_ACTION_INFO_DEF, GOSSIP_MENU_SAYGE_1, GOSSIP_MENU_SAYGE_CONFISCATE, GOSSIP_MENU_SAYGE_END, GOSSIP_MENU_SAYGE_LET_GO, GOSSIP_MENU_SAYGE_SLAY, GOSSIP_MENU_SAYGE_TURN_OVER, GOSSIP_SENDER_MAIN, NPC_TEXT_SAYGE_1, NPC_TEXT_SAYGE_CONFISCATE, NPC_TEXT_SAYGE_END, NPC_TEXT_SAYGE_END_FORTUNE, NPC_TEXT_SAYGE_LET_GO, NPC_TEXT_SAYGE_SLAY, NPC_TEXT_SAYGE_TURN_OVER, SendGossipMenuFor(), and SPELL_FORTUNE.