|
| 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.
467 {
469
471 return false;
472
474 {
476
477 prisoner->AI()->Talk(
SAY_FREE, player);
478 prisoner->DespawnOrUnsummon(6000);
479 }
480
481 return true;
482 }
@ QUEST_STATUS_INCOMPLETE
Definition QuestDef.h:103
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition GameObject.cpp:1414
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:2459
@ SAY_FREE
Definition zone_nagrand.cpp:458
@ QUEST_FINDING_THE_SURVIVORS
Definition zone_nagrand.cpp:455
@ NPC_MAGHAR_PRISONER
Definition zone_nagrand.cpp:456
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: