std_time.zh#

Variables#

Functions#

Variable descriptions#

const long time::TIME_FRAME = 1L 🔗 Source


const int time::FRAMES_PER_SECOND = 60 🔗 Source


const int time::SECONDS_PER_MINUTE = 60 🔗 Source


const int time::MINUTES_PER_HOUR = 60 🔗 Source


Function descriptions#

int time::Hours() 🔗 Source

Returns the current in-game clock hours value.


int time::Minutes() 🔗 Source

Returns the current in-game clock minutes value.


int time::Seconds() 🔗 Source

Returns the current in-game clock seconds value.


int time::Frames(bool percent) 🔗 Source

param percent If set true, it will return 0-99, as percentage of a second (i.e. milliseconds)

Returns the number of frames needed to tick the next second.


int time::TotalMinutes() 🔗 Source

Returns the total time, in minutes, that a player has been playing a quest.


int time::TotalSeconds() 🔗 Source

Returns the total time, in seconds, that a player has been playing a quest.