Skip to main content

GameTime

A table containing two timespans.

Fields

FieldTypeDescription
ElapsedGameTimeTimeSpanTime since the last tick call.
TotalGameTimeTimeSpanTime since Blish HUD started.


TimeSpan

A timespan.

Fields

FieldTypeDescription
DaysintegerGets the days component of the time interval.
HoursintegerGets the hours component of the time interval.
MillisecondsintegerGets the milliseconds component of the time interval.
MinutesintegerGets the minutes component of the time interval.
SecondsintegerGets the seconds component of the time interval.
TicksintegerGets the number of ticks.
TotalDaysnumberGets the value of the time interval expressed in whole and fractional days.
TotalHoursnumberGets the value of the time interval expressed in whole and fractional hours.
TotalMillisecondsnumberGets the value of the time interval expressed in whole and fractional milliseconds.
TotalMinutesnumberGets the value of the time interval expressed in whole and fractional minutes.
TotalSecondsnumberGets the value of the time interval expressed in whole and fractional seconds.