|
| | npc_daphne_stilwell () |
| |
| bool | OnQuestAccept (Player *player, Creature *creature, const Quest *quest) override |
| |
| CreatureAI * | GetAI (Creature *creature) const override |
| |
| 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 | 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 void | OnFfaPvpStateUpdate (Creature *, bool) |
| |
| virtual bool | isAfterLoadScript () const |
| |
| virtual void | checkValidity () |
| |
| const std::string & | GetName () const |
| |
| uint16 | GetTotalAvailableHooks () |
| |
| virtual void | OnUpdate (Creature *, uint32) |
| |
◆ npc_daphne_stilwell()
| npc_daphne_stilwell::npc_daphne_stilwell |
( |
| ) |
|
|
inline |
Definition CreatureScript.h:25
◆ GetAI()
Reimplemented from CreatureScript.
67 {
68 return new npc_daphne_stilwellAI(creature);
69 }
◆ OnQuestAccept()
| bool npc_daphne_stilwell::OnQuestAccept |
( |
Player * |
player, |
|
|
Creature * |
creature, |
|
|
const Quest * |
quest |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from CreatureScript.
55 {
57 {
60 pEscortAI->Start(
true, player->
GetGUID());
61 }
62
63 return true;
64 }
#define CAST_AI(a, b)
Definition UnitAI.h:26
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0ms)
Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
Definition CreatureAI.cpp:53
CreatureAI * AI() const
Definition Creature.h:145
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:113
uint32 GetQuestId() const
Definition QuestDef.h:228
Definition zone_westfall.cpp:72
Definition ScriptedEscortAI.h:53
@ QUEST_TOME_VALOR
Definition zone_westfall.cpp:40
@ SAY_DS_START
Definition zone_westfall.cpp:30
References Creature::AI(), CAST_AI, Object::GetGUID(), Quest::GetQuestId(), QUEST_TOME_VALOR, SAY_DS_START, and CreatureAI::Talk().
The documentation for this class was generated from the following file: