benilla-re systems structs docs

Script::GetTime

function · ui · primitive

Address
0x515ea0 · 61 bytes, up to 0x515edc
Signature
int __fastcall (lua_State *L)
Meaning
Returns the clock in seconds
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/unitverbs#time-console-and-files
Test
ui::luabind_515ea0_get_time

Finding: Time, console and files in ui: time, console and the remaining unit functions

GetTime() returns the asynchronous millisecond clock in seconds. GetGameTime() returns the hour and then the minute of the game clock (0xce8538: the minute at +0, the hour at +4). ConsoleExec(line) runs a console line without recording it in the history (ConsoleCommandExecute with a zero history flag, 0x63ce38; console/screen#writing-and-executing) and raises Usage: ConsoleExec("console_command") for a non-string. ReadFile, DeleteFile and AppendToFile take no argument and always raise Access Denied.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.