|
| go_ravager_cage () |
|
bool | OnGossipHello (Player *player, GameObject *go) override |
|
bool | IsDatabaseBound () const override |
|
virtual bool | OnGossipSelect (Player *, GameObject *, uint32, uint32) |
|
virtual bool | OnGossipSelectCode (Player *, GameObject *, uint32, uint32, const char *) |
|
virtual bool | OnQuestAccept (Player *, GameObject *, Quest const *) |
|
virtual bool | OnQuestReward (Player *, GameObject *, Quest const *, uint32) |
|
virtual uint32 | GetDialogStatus (Player *, GameObject *) |
|
virtual void | OnDestroyed (GameObject *, Player *) |
|
virtual void | OnDamaged (GameObject *, Player *) |
|
virtual void | OnModifyHealth (GameObject *, Unit *, int32 &, SpellInfo const *) |
|
virtual void | OnLootStateChanged (GameObject *, uint32, Unit *) |
|
virtual void | OnGameObjectStateChanged (GameObject *, uint32) |
|
virtual GameObjectAI * | GetAI (GameObject *) const |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
virtual void | OnUpdate (GameObject *, uint32) |
|
◆ go_ravager_cage()
go_ravager_cage::go_ravager_cage |
( |
| ) |
|
|
inline |
Definition GameObjectScript.h:25
◆ OnGossipHello()
Reimplemented from GameObjectScript.
343 {
346 {
348 {
351 ravager->AI()->AttackStart(player);
352 }
353 }
354 return true;
355 }
@ QUEST_STATUS_INCOMPLETE
Definition QuestDef.h:103
@ UNIT_FLAG_NON_ATTACKABLE
Definition UnitDefines.h:251
@ REACT_AGGRESSIVE
Definition Unit.h:550
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition GameObject.cpp:1414
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition PlayerQuest.cpp:1430
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2459
@ QUEST_STRENGTH_ONE
Definition zone_azuremyst_isle.cpp:334
@ NPC_DEATH_RAVAGER
Definition zone_azuremyst_isle.cpp:329
References WorldObject::FindNearestCreature(), Player::GetQuestStatus(), NPC_DEATH_RAVAGER, QUEST_STATUS_INCOMPLETE, QUEST_STRENGTH_ONE, REACT_AGGRESSIVE, UNIT_FLAG_NON_ATTACKABLE, and GameObject::UseDoorOrButton().
The documentation for this class was generated from the following file: