AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GameTime.cpp File Reference
#include "GameTime.h"
#include "Timer.h"

Go to the source code of this file.

Namespaces

namespace  GameTime
 

Functions

Seconds GameTime::GetStartTime ()
 
Seconds GameTime::GetGameTime ()
 
Milliseconds GameTime::GetGameTimeMS ()
 
SystemTimePoint GameTime::GetSystemTime ()
 Current chrono system_clock time point. More...
 
TimePoint GameTime::Now ()
 Current chrono steady_clock time point. More...
 
Seconds GameTime::GetUptime ()
 Uptime. More...
 
void GameTime::UpdateGameTimers ()
 Update all timers. More...
 

Variables

Seconds const GameTime::StartTime = GetEpochTime()
 
Seconds GameTime::GameTime = GetEpochTime()
 
Milliseconds GameTime::GameMSTime = 0ms
 
SystemTimePoint GameTime::GameTimeSystemPoint = SystemTimePoint::min()
 
TimePoint GameTime::GameTimeSteadyPoint = TimePoint::min()