|
| npc_doctor () |
|
bool | OnQuestAccept (Player *player, Creature *creature, Quest const *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_doctor()
npc_doctor::npc_doctor |
( |
| ) |
|
|
inline |
◆ GetAI()
Reimplemented from CreatureScript.
1035 {
1036 return new npc_doctorAI(creature);
1037 }
◆ OnQuestAccept()
Reimplemented from CreatureScript.
1027 {
1028 if ((quest->GetQuestId() == 6624) || (quest->GetQuestId() == 6622))
1030
1031 return true;
1032 }
#define CAST_AI(a, b)
Definition UnitAI.h:26
CreatureAI * AI() const
Definition Creature.h:141
Definition npcs_special.cpp:905
References Creature::AI(), CAST_AI, and Quest::GetQuestId().
The documentation for this class was generated from the following file: