|
| | go_warmaul_prison () |
| |
| 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_warmaul_prison()
| go_warmaul_prison::go_warmaul_prison |
( |
| ) |
|
|
inline |
Definition GameObjectScript.h:25
◆ OnGossipHello()
Reimplemented from GameObjectScript.
458 {
460
462 return false;
463
465 {
467
468 prisoner->AI()->Talk(
SAY_FREE, player);
469 prisoner->DespawnOrUnsummon(6s);
470 }
471
472 return true;
473 }
@ QUEST_STATUS_INCOMPLETE
Definition QuestDef.h:103
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition GameObject.cpp:1410
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition PlayerQuest.cpp:1927
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition PlayerQuest.cpp:1430
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2450
@ SAY_FREE
Definition zone_nagrand.cpp:449
@ QUEST_FINDING_THE_SURVIVORS
Definition zone_nagrand.cpp:446
@ NPC_MAGHAR_PRISONER
Definition zone_nagrand.cpp:447
References WorldObject::FindNearestCreature(), Player::GetQuestStatus(), Player::KilledMonsterCredit(), NPC_MAGHAR_PRISONER, QUEST_FINDING_THE_SURVIVORS, QUEST_STATUS_INCOMPLETE, SAY_FREE, and GameObject::UseDoorOrButton().
The documentation for this class was generated from the following file: