Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Skyfire::ServerRestartSchedule Namespace Reference

Functions

bool CalculateRestartDelay (char const *text, time_t now, uint32 &delaySeconds)
bool CalculateRestartDelay (char const *text, uint32 &delaySeconds)
bool CalculateRestartDelay (char const *text, uint32 currentSecondsOfDay, uint32 &delaySeconds)
bool ParseTimeOfDay (char const *text, uint32 &secondsOfDay)

Function Documentation

◆ CalculateRestartDelay() [1/3]

bool Skyfire::ServerRestartSchedule::CalculateRestartDelay ( char const * text,
time_t now,
uint32 & delaySeconds )

Definition at line 94 of file ServerRestartSchedule.cpp.

References CalculateRestartDelay(), and Skyfire::LocalTime().

◆ CalculateRestartDelay() [2/3]

bool Skyfire::ServerRestartSchedule::CalculateRestartDelay ( char const * text,
uint32 & delaySeconds )

Definition at line 107 of file ServerRestartSchedule.cpp.

References CalculateRestartDelay().

◆ CalculateRestartDelay() [3/3]

bool Skyfire::ServerRestartSchedule::CalculateRestartDelay ( char const * text,
uint32 currentSecondsOfDay,
uint32 & delaySeconds )

◆ ParseTimeOfDay()

bool Skyfire::ServerRestartSchedule::ParseTimeOfDay ( char const * text,
uint32 & secondsOfDay )

Definition at line 34 of file ServerRestartSchedule.cpp.

Referenced by CalculateRestartDelay().