AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Timer.h"
Public Member Functions | |
IntervalTimer ()=default | |
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 {0} |
time_t | _current {0} |
|
default |
|
inline |
References _current.
Referenced by World::GetNextWhoListUpdateDelaySecs(), and Weather::Update().
|
inline |
References _interval.
Referenced by World::GetNextWhoListUpdateDelaySecs(), and Weather::Weather().
|
inline |
References _current, and _interval.
Referenced by Weather::Update().
|
inline |
References _current, and _interval.
Referenced by World::ForceGameEventUpdate(), World::LoadConfigSettings(), MapMgr::SetMapUpdateInterval(), Weather::Update(), and World::Update().
|
inline |
References _current.
Referenced by World::RemoveOldCorpses(), World::SetInitialWorldSettings(), Weather::Update(), World::Update(), and MapMgr::Update().
|
inline |
References _interval.
Referenced by World::ForceGameEventUpdate(), World::LoadConfigSettings(), MapMgr::MapMgr(), World::SetInitialWorldSettings(), MapMgr::SetMapUpdateInterval(), World::Update(), and Weather::Weather().
|
inline |
References _current.
Referenced by Weather::Update(), and World::Update().
|
private |
Referenced by GetCurrent(), Passed(), Reset(), SetCurrent(), and Update().
|
private |
Referenced by GetInterval(), Passed(), Reset(), and SetInterval().