40 time_t
const StartTime = []
64 return GameTimeSystemPoint;
69 return GameTimeSteadyPoint;
72 template<
typename Clock>
75 static_assert(Trinity::dependant_false_v<Clock>,
"Missing specialization for GetGameTimePoint");
115 GameTimeSystemPoint = std::chrono::system_clock::now();
116 GameTimeSteadyPoint = std::chrono::steady_clock::now();
118 UtcWow.SetUtcTimeFromUnixTime(
GameTime);
std::chrono::system_clock::time_point SystemTimePoint
std::chrono::steady_clock::time_point TimePoint
time_point shorthand typedefs
WowTime const * GetWowTime()
SystemTimePoint GetTime< std::chrono::system_clock >()
WowTime const * GetUtcWowTime()
Clock::time_point GetTime()
Current chrono Clock time point.
SystemTimePoint GetSystemTime()
Current chrono system_clock time point.
TimePoint Now()
Current chrono steady_clock time point.
tm const * GetDateAndTime()
uint32 GetUptime()
Uptime (in secs)
TimePoint GetTime< std::chrono::steady_clock >()
Minutes GetSystemZoneOffsetAt(SystemTimePoint date)