|
| npc_zephyr () |
|
bool | OnGossipSelect (Player *player, Creature *, uint32, uint32 action) override |
|
bool | OnGossipHello (Player *player, Creature *creature) override |
|
bool | IsDatabaseBound () const override |
|
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) |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
virtual void | OnUpdate (Creature *, uint32) |
|
◆ npc_zephyr()
npc_zephyr::npc_zephyr |
( |
| ) |
|
|
inline |
Definition CreatureScript.h:25
◆ OnGossipHello()
bool npc_zephyr::OnGossipHello |
( |
Player * |
player, |
|
|
Creature * |
creature |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from CreatureScript.
109 {
112
114
115 return true;
116 }
void SendGossipMenuFor(Player *player, uint32 npcTextID, ObjectGuid const guid)
Definition ScriptedGossip.cpp:45
void AddGossipItemFor(Player *player, uint32 icon, std::string const &text, uint32 sender, uint32 action)
Definition ScriptedGossip.cpp:28
@ GOSSIP_SENDER_MAIN
Definition ScriptedGossip.h:70
@ GOSSIP_ACTION_INFO_DEF
Definition ScriptedGossip.h:68
@ REP_REVERED
Definition SharedDefines.h:186
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:112
ReputationRank GetReputationRank(uint32 faction_id) const
Definition Player.cpp:5903
uint32 GetGossipTextId(uint32 menuId, WorldObject *source)
Definition PlayerGossip.cpp:404
@ GOSSIP_MENU_ZEPHYR
Definition zone_shattrath_city.cpp:90
References AddGossipItemFor(), Player::GetGossipTextId(), Object::GetGUID(), Player::GetReputationRank(), GOSSIP_ACTION_INFO_DEF, GOSSIP_MENU_ZEPHYR, GOSSIP_SENDER_MAIN, REP_REVERED, and SendGossipMenuFor().
◆ OnGossipSelect()
Reimplemented from CreatureScript.
100 {
104
105 return true;
106 }
void ClearGossipMenuFor(Player *player)
Definition ScriptedGossip.cpp:22
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1178
@ SPELL_TELEPORT_CAVERNS_OF_TIME
Definition zone_shattrath_city.cpp:91
References Unit::CastSpell(), ClearGossipMenuFor(), GOSSIP_ACTION_INFO_DEF, and SPELL_TELEPORT_CAVERNS_OF_TIME.
The documentation for this class was generated from the following file: