|
| | 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.
1036 {
1037 return new npc_doctorAI(creature);
1038 }
◆ OnQuestAccept()
Reimplemented from CreatureScript.
1028 {
1029 if ((quest->GetQuestId() == 6624) || (quest->GetQuestId() == 6622))
1031
1032 return true;
1033 }
#define CAST_AI(a, b)
Definition UnitAI.h:26
CreatureAI * AI() const
Definition Creature.h:145
Definition npcs_special.cpp:906
References Creature::AI(), CAST_AI, and Quest::GetQuestId().
The documentation for this class was generated from the following file: