TrinityCore
Loading...
Searching...
No Matches
WorldStateMgr Namespace Reference

Functions

void LoadFromDB ()
 
void Update ()
 
TC_GAME_API WorldStateTemplate const * GetWorldStateTemplate (int32 worldStateId)
 
TC_GAME_API int32 GetValue (int32 worldStateId, Map const *map)
 
TC_GAME_API void SetValue (int32 worldStateId, int32 value, bool hidden, Map *map)
 
TC_GAME_API void SaveValueInDb (int32 worldStateId, int32 value)
 
TC_GAME_API void SetValueAndSaveInDb (int32 worldStateId, int32 value, bool hidden, Map *map)
 
WorldStateValueContainer GetInitialWorldStatesForMap (Map const *map)
 
void FillInitialWorldStates (WorldPackets::WorldState::InitWorldStates &initWorldStates, Map const *map, uint32 playerAreaId)
 

Function Documentation

◆ FillInitialWorldStates()

void WorldStateMgr::FillInitialWorldStates ( WorldPackets::WorldState::InitWorldStates initWorldStates,
Map const *  map,
uint32  playerAreaId 
)

Definition at line 299 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetInitialWorldStatesForMap()

WorldStateValueContainer WorldStateMgr::GetInitialWorldStatesForMap ( Map const *  map)

Definition at line 286 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetValue()

int32 WorldStateMgr::GetValue ( int32  worldStateId,
Map const *  map 
)

Definition at line 220 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWorldStateTemplate()

WorldStateTemplate const * WorldStateMgr::GetWorldStateTemplate ( int32  worldStateId)

Definition at line 215 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadFromDB()

void WorldStateMgr::LoadFromDB ( )

Definition at line 51 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveValueInDb()

void WorldStateMgr::SaveValueInDb ( int32  worldStateId,
int32  value 
)

Definition at line 269 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetValue()

void WorldStateMgr::SetValue ( int32  worldStateId,
int32  value,
bool  hidden,
Map map 
)

Definition at line 239 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetValueAndSaveInDb()

void WorldStateMgr::SetValueAndSaveInDb ( int32  worldStateId,
int32  value,
bool  hidden,
Map map 
)

Definition at line 280 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

void WorldStateMgr::Update ( )

Definition at line 192 of file WorldStateMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: