Script: Add date methods for getting time in minutes

This commit is contained in:
Jonathan G Rennison
2020-10-29 17:47:05 +00:00
parent 5556ef38b0
commit f094518f8e
3 changed files with 67 additions and 4 deletions

View File

@@ -89,6 +89,16 @@ public:
* @note This uses the clock of the host system, which can skew or be set back. Use with caution.
*/
static int32 GetSystemTime();
static bool IsTimeShownInMinutes();
static int32 GetTicksPerMinute();
static DateTicksScaled GetCurrentScaledDateTicks();
static int32 GetHour(DateTicksScaled ticks);
static int32 GetMinute(DateTicksScaled ticks);
};
#endif /* SCRIPT_DATE_HPP */