|
| npc_hyjal_jaina () |
|
CreatureAI * | GetAI (Creature *creature) const override |
|
bool | OnGossipSelect (Player *, Creature *creature, uint32, uint32) override |
|
bool | IsDatabaseBound () const override |
|
virtual bool | OnGossipHello (Player *, Creature *) |
|
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 void | OnFfaPvpStateUpdate (Creature *, bool) |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
virtual void | OnUpdate (Creature *, uint32) |
|
◆ npc_hyjal_jaina()
npc_hyjal_jaina::npc_hyjal_jaina |
( |
| ) |
|
|
inline |
Definition CreatureScript.h:25
◆ GetAI()
Reimplemented from CreatureScript.
101 {
102 return new hyjalJainaAI(creature);
103 }
◆ OnGossipSelect()
Reimplemented from CreatureScript.
178 {
180
182 {
184 {
187 }
188 else
189 {
192 }
193 }
194 return true;
195 }
@ DONE
Definition InstanceScript.h:61
@ UNIT_NPC_FLAG_GOSSIP
Definition UnitDefines.h:315
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
Definition CreatureAI.cpp:50
CreatureAI * AI() const
Definition Creature.h:141
Definition InstanceScript.h:143
void MovePath(uint32 path_id, bool repeatable)
Move the unit following a specific path. Doesn't work with UNIT_FLAG_DISABLE_MOVE.
Definition MotionMaster.cpp:852
MotionMaster * GetMotionMaster()
Definition Unit.h:1673
void RemoveNpcFlag(NPCFlags flags)
Definition Unit.h:736
InstanceScript * GetInstanceScript() const
Definition Object.cpp:1203
@ SAY_SUCCESS
Definition hyjal.cpp:88
@ JAINA_RETREAT_PATH
Definition hyjal.h:157
@ DATA_RESET_WAVES
Definition hyjal.h:49
@ DATA_SPAWN_WAVES
Definition hyjal.h:44
@ DATA_WINTERCHILL
Definition hyjal.h:31
@ DATA_ANETHERON
Definition hyjal.h:32
References Creature::AI(), DATA_ANETHERON, DATA_RESET_WAVES, DATA_SPAWN_WAVES, DATA_WINTERCHILL, DONE, WorldObject::GetInstanceScript(), Unit::GetMotionMaster(), JAINA_RETREAT_PATH, MotionMaster::MovePath(), Unit::RemoveNpcFlag(), SAY_SUCCESS, CreatureAI::Talk(), and UNIT_NPC_FLAG_GOSSIP.
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp