AzeorthCore 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
462{ }

Member Function Documentation

◆ operator()()

bool FrozenThroneResetWorker::operator() ( GameObject go)
inline
465 {
466 switch (go->GetEntry())
467 {
470 break;
473 break;
476 break;
479 break;
484 go->ResetDoorOrButton();
485 break;
486 default:
487 break;
488 }
489
490 return false;
491 }
@ GO_STATE_READY
Definition: GameObject.h:735
@ GO_STATE_ACTIVE
Definition: GameObject.h:734
@ GO_DOODAD_ICESHARD_STANDING01
Definition: icecrown_citadel.h:466
@ GO_DOODAD_ICESHARD_STANDING02
Definition: icecrown_citadel.h:465
@ GO_DOODAD_ICECROWN_SNOWEDGEWARNING01
Definition: icecrown_citadel.h:469
@ GO_DOODAD_ICESHARD_STANDING04
Definition: icecrown_citadel.h:468
@ GO_ARTHAS_PLATFORM
Definition: icecrown_citadel.h:461
@ GO_DOODAD_ICESHARD_STANDING03
Definition: icecrown_citadel.h:467
@ GO_DOODAD_ICECROWN_THRONEFROSTYWIND01
Definition: icecrown_citadel.h:463
@ GO_DOODAD_ICECROWN_THRONEFROSTYEDGE01
Definition: icecrown_citadel.h:464
@ GO_DESTRUCTIBLE_INTACT
Definition: SharedDefines.h:1599
void SetGoState(GOState state)
Definition: GameObject.cpp:2441
void ResetDoorOrButton()
Definition: GameObject.cpp:1390
void SetDestructibleState(GameObjectDestructibleState state, Player *eventInvoker=nullptr, bool setHealth=false)
Definition: GameObject.cpp:2311
uint32 GetEntry() const
Definition: Object.h:109

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().