|
| | go_razorscale_harpoon () |
| |
| bool | OnGossipHello (Player *, GameObject *go) override |
| |
| GameObjectAI * | GetAI (GameObject *go) const override |
| |
| bool | IsDatabaseBound () const override |
| |
| virtual bool | OnGossipSelect (Player *, GameObject *, uint32, uint32) |
| |
| virtual bool | OnGossipSelectCode (Player *, GameObject *, uint32, uint32, char const *) |
| |
| 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 bool | isAfterLoadScript () const |
| |
| virtual void | checkValidity () |
| |
| std::string const & | GetName () const |
| |
| uint16 | GetTotalAvailableHooks () |
| |
| virtual void | OnUpdate (GameObject *, uint32) |
| |
◆ go_razorscale_harpoon()
| go_razorscale_harpoon::go_razorscale_harpoon |
( |
| ) |
|
|
inlineexplicit |
1276 { }
Definition GameObjectScript.h:25
◆ GetAI()
Reimplemented from GameObjectScript.
1335 {
1336 return GetUlduarAI<go_razorscale_harpoonAI>(go);
1337 }
◆ OnGossipHello()
Reimplemented from GameObjectScript.
1279 {
1282 {
1284 return true;
1285
1288 {
1291 break;
1294 break;
1297 break;
1300 break;
1301 }
1302 if (spell)
1303 controller->CastSpell(controller, spell, true);
1304 }
1305 return true;
1306 }
std::uint32_t uint32
Definition Define.h:107
@ GO_FLAG_NOT_SELECTABLE
Definition SharedDefines.h:1611
@ UNIT_STATE_CASTING
Definition UnitDefines.h:188
@ SPELL_HARPOON_SHOT_1
Definition boss_razorscale.cpp:53
@ SPELL_HARPOON_SHOT_3
Definition boss_razorscale.cpp:55
@ SPELL_HARPOON_SHOT_4
Definition boss_razorscale.cpp:56
@ SPELL_HARPOON_SHOT_2
Definition boss_razorscale.cpp:54
void SetGameObjectFlag(GameObjectFlags flags)
Definition GameObject.h:219
uint32 GetEntry() const
Definition Object.h:123
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2558
@ GO_RAZOR_HARPOON_4
Definition ulduar.h:325
@ GO_RAZOR_HARPOON_3
Definition ulduar.h:324
@ GO_RAZOR_HARPOON_2
Definition ulduar.h:323
@ GO_RAZOR_HARPOON_1
Definition ulduar.h:322
@ NPC_RAZORSCALE_CONTROLLER
Definition ulduar.h:192
References WorldObject::FindNearestCreature(), Object::GetEntry(), GO_FLAG_NOT_SELECTABLE, GO_RAZOR_HARPOON_1, GO_RAZOR_HARPOON_2, GO_RAZOR_HARPOON_3, GO_RAZOR_HARPOON_4, NPC_RAZORSCALE_CONTROLLER, GameObject::SetGameObjectFlag(), SPELL_HARPOON_SHOT_1, SPELL_HARPOON_SHOT_2, SPELL_HARPOON_SHOT_3, SPELL_HARPOON_SHOT_4, and UNIT_STATE_CASTING.
The documentation for this class was generated from the following file: