|
| go_scourge_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_scourge_cage()
go_scourge_cage::go_scourge_cage |
( |
| ) |
|
|
inline |
Definition GameObjectScript.h:25
◆ OnGossipHello()
Reimplemented from GameObjectScript.
1277 {
1280 {
1282 pNearestPrisoner->DisappearAndDie();
1283 }
1284
1285 return true;
1286 }
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
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2459
@ NPC_SCOURGE_PRISONER
Definition go_scripts.cpp:1268
References WorldObject::FindNearestCreature(), Player::KilledMonsterCredit(), NPC_SCOURGE_PRISONER, and GameObject::UseDoorOrButton().
The documentation for this class was generated from the following file: