AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
FrozenThroneResetWorker Class Reference

Public Member Functions

 FrozenThroneResetWorker ()
 
bool operator() (GameObject *go)
 

Detailed Description

Constructor & Destructor Documentation

◆ FrozenThroneResetWorker()

FrozenThroneResetWorker::FrozenThroneResetWorker ( )
inline
468{ }

Member Function Documentation

◆ operator()()

bool FrozenThroneResetWorker::operator() ( GameObject go)
inline
471 {
472 switch (go->GetEntry())
473 {
476 break;
479 break;
482 break;
485 break;
490 go->ResetDoorOrButton();
491 break;
492 default:
493 break;
494 }
495
496 return false;
497 }
@ GO_DOODAD_ICESHARD_STANDING01
Definition: icecrown_citadel.h:470
@ GO_DOODAD_ICESHARD_STANDING02
Definition: icecrown_citadel.h:469
@ GO_DOODAD_ICECROWN_SNOWEDGEWARNING01
Definition: icecrown_citadel.h:473
@ GO_DOODAD_ICESHARD_STANDING04
Definition: icecrown_citadel.h:472
@ GO_ARTHAS_PLATFORM
Definition: icecrown_citadel.h:465
@ GO_DOODAD_ICESHARD_STANDING03
Definition: icecrown_citadel.h:471
@ GO_DOODAD_ICECROWN_THRONEFROSTYWIND01
Definition: icecrown_citadel.h:467
@ GO_DOODAD_ICECROWN_THRONEFROSTYEDGE01
Definition: icecrown_citadel.h:468
@ GO_DESTRUCTIBLE_INTACT
Definition: SharedDefines.h:1627
@ GO_STATE_READY
Definition: GameObjectData.h:690
@ GO_STATE_ACTIVE
Definition: GameObjectData.h:689
void SetGoState(GOState state)
Definition: GameObject.cpp:2479
void ResetDoorOrButton()
Definition: GameObject.cpp:1421
void SetDestructibleState(GameObjectDestructibleState state, Player *eventInvoker=nullptr, bool setHealth=false)
Definition: GameObject.cpp:2342
uint32 GetEntry() const
Definition: Object.h:115

References Object::GetEntry(), GO_ARTHAS_PLATFORM, GO_DESTRUCTIBLE_INTACT, GO_DOODAD_ICECROWN_SNOWEDGEWARNING01, GO_DOODAD_ICECROWN_THRONEFROSTYEDGE01, GO_DOODAD_ICECROWN_THRONEFROSTYWIND01, GO_DOODAD_ICESHARD_STANDING01, GO_DOODAD_ICESHARD_STANDING02, GO_DOODAD_ICESHARD_STANDING03, GO_DOODAD_ICESHARD_STANDING04, GO_STATE_ACTIVE, GO_STATE_READY, GameObject::ResetDoorOrButton(), GameObject::SetDestructibleState(), and GameObject::SetGoState().