![]() |
TrinityCore
|
#include <Timer.h>
Public Member Functions | |
| IntervalTimer () | |
| void | Update (time_t diff) |
| bool | Passed () |
| void | Reset () |
| void | SetCurrent (time_t current) |
| void | SetInterval (time_t interval) |
| time_t | GetInterval () const |
| time_t | GetCurrent () const |
Private Attributes | |
| time_t | _interval |
| time_t | _current |
|
inline |
Definition at line 104 of file Timer.h.
References _current.
Referenced by MapManager::Update(), and Weather::Update().
|
inline |
Definition at line 99 of file Timer.h.
References _interval.
Referenced by World::SetInitialWorldSettings(), Map::Update(), and Weather::Weather().
|
inline |
Definition at line 78 of file Timer.h.
References _current, and _interval.
Referenced by MapManager::Update(), Weather::Update(), and Map::Update().
|
inline |
Definition at line 83 of file Timer.h.
References _current, and _interval.
Referenced by World::ForceGameEventUpdate(), World::LoadConfigSettings(), Weather::Update(), World::Update(), and Map::Update().
|
inline |
Definition at line 89 of file Timer.h.
References _current.
Referenced by World::RemoveOldCorpses(), MapManager::Update(), Weather::Update(), and World::Update().
|
inline |
Definition at line 94 of file Timer.h.
References _interval.
Referenced by World::ForceGameEventUpdate(), World::LoadConfigSettings(), Map::Map(), MapManager::MapManager(), World::SetInitialWorldSettings(), World::Update(), and Weather::Weather().
|
inline |
Definition at line 71 of file Timer.h.
References _current.
Referenced by MapManager::Update(), Weather::Update(), World::Update(), and Map::Update().
|
private |
Definition at line 112 of file Timer.h.
Referenced by GetCurrent(), Passed(), Reset(), SetCurrent(), and Update().
|
private |
Definition at line 111 of file Timer.h.
Referenced by GetInterval(), Passed(), Reset(), and SetInterval().