|
| npc_kernobee () |
|
CreatureAI * | GetAI (Creature *creature) const override |
|
bool | OnQuestAccept (Player *player, Creature *creature, const Quest *quest) 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_kernobee()
npc_kernobee::npc_kernobee |
( |
| ) |
|
|
inline |
Definition CreatureScript.h:25
◆ GetAI()
Reimplemented from CreatureScript.
109 {
110 return GetGnomereganAI<npc_kernobeeAI>(creature);
111 }
◆ OnQuestAccept()
Reimplemented from CreatureScript.
114 {
116 {
120 }
121 return true;
122 }
@ MOTION_SLOT_CONTROLLED
Definition MotionMaster.h:65
#define PET_FOLLOW_DIST
Definition PetDefines.h:202
@ UNIT_STAND_STATE_STAND
Definition UnitDefines.h:32
CreatureAI * AI() const
Definition Creature.h:141
void MoveFollow(Unit *target, float dist, float angle, MovementSlot slot=MOTION_SLOT_ACTIVE, bool inheritWalkState=true, bool inheritSpeed=true)
The unit will follow this target. Doesn't work with UNIT_FLAG_DISABLE_MOVE.
Definition MotionMaster.cpp:409
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:112
uint32 GetQuestId() const
Definition QuestDef.h:228
virtual void SetGUID(ObjectGuid, int32=0)
Definition UnitAI.h:215
MotionMaster * GetMotionMaster()
Definition Unit.h:1673
void SetStandState(uint8 state)
Definition Unit.cpp:16778
@ QUEST_A_FINE_MESS
Definition instance_gnomeregan.cpp:100
References Creature::AI(), Object::GetGUID(), Unit::GetMotionMaster(), Quest::GetQuestId(), MOTION_SLOT_CONTROLLED, MotionMaster::MoveFollow(), PET_FOLLOW_DIST, QUEST_A_FINE_MESS, UnitAI::SetGUID(), Unit::SetStandState(), and UNIT_STAND_STATE_STAND.
The documentation for this class was generated from the following file: