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
467{ }

Member Function Documentation

◆ operator()()

bool FrozenThroneResetWorker::operator() ( GameObject go)
inline
470 {
471 switch (go->GetEntry())
472 {
475 break;
478 break;
481 break;
484 break;
489 go->ResetDoorOrButton();
490 break;
491 default:
492 break;
493 }
494
495 return false;
496 }
@ GO_STATE_READY
Definition: GameObjectData.h:691
@ GO_STATE_ACTIVE
Definition: GameObjectData.h:690
@ GO_DOODAD_ICESHARD_STANDING01
Definition: icecrown_citadel.h:476
@ GO_DOODAD_ICESHARD_STANDING02
Definition: icecrown_citadel.h:475
@ GO_DOODAD_ICECROWN_SNOWEDGEWARNING01
Definition: icecrown_citadel.h:479
@ GO_DOODAD_ICESHARD_STANDING04
Definition: icecrown_citadel.h:478
@ GO_ARTHAS_PLATFORM
Definition: icecrown_citadel.h:471
@ GO_DOODAD_ICESHARD_STANDING03
Definition: icecrown_citadel.h:477
@ GO_DOODAD_ICECROWN_THRONEFROSTYWIND01
Definition: icecrown_citadel.h:473
@ GO_DOODAD_ICECROWN_THRONEFROSTYEDGE01
Definition: icecrown_citadel.h:474
@ GO_DESTRUCTIBLE_INTACT
Definition: SharedDefines.h:1627
void SetGoState(GOState state)
Definition: GameObject.cpp:2477
void ResetDoorOrButton()
Definition: GameObject.cpp:1419
void SetDestructibleState(GameObjectDestructibleState state, Player *eventInvoker=nullptr, bool setHealth=false)
Definition: GameObject.cpp:2340
uint32 GetEntry() const
Definition: Object.h:112

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