27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
global record os
|
|
pullEvent: function(filter: string | nil): string, any...
|
|
pullEventRaw: function(filter: string | nil): string, any...
|
|
sleep: function(time: number)
|
|
version: function(): string
|
|
run: function(env: table, path: string, ...: any): boolean
|
|
queueEvent: function(name: string, ...: any)
|
|
startTimer: function(time: number): integer
|
|
cancelTimer: function(token: integer)
|
|
setAlarm: function(time: number): integer
|
|
cancelAlarm: function(token: integer)
|
|
shutdown: function()
|
|
reboot: function()
|
|
getComputerID: function(): integer
|
|
computerID: function(): integer
|
|
getComputerLabel: function(): string
|
|
computerLabel: function(): string
|
|
setComputerLabel: function(label: string | nil)
|
|
clock: function(): number
|
|
time: function(locale: string | nil): number
|
|
time: function(locale: table): integer
|
|
day: function(args: string | nil): integer
|
|
epoch: function(args: string | nil): integer
|
|
date: function(): string
|
|
date: function(format: string): string | table
|
|
date: function(format: string, time: number): string | table
|
|
end |