Skip to content
IonizeDocsionize.cc ↗

API Reference

Miscellaneous Library

Executor identity, HTTP requests, compression, clipboard, and client settings.

11 members

identifyexecutor(): (string, string)

Returns the executor name and version.

request(options: table): table

Performs an HTTP request and returns the response.

setclipboard(text: string): ()

Writes text to the system clipboard.

getcustomasset(path: string): string

Returns an asset URI for a file in the workspace directory.

setfpscap(cap: number): ()

Sets the client frame rate cap.

getfpscap(): number

Returns the current frame rate cap.

lz4compress(data: string): string

Compresses a string with LZ4.

lz4decompress(data: string, size: number): string

Decompresses an LZ4 string.

getfflag(flag: string): string

Reads a fast flag value.

setfflag(flag: string, value: string): ()

Writes a fast flag value.

messagebox(text: string, caption: string, flags: number): number

Shows a system message box and returns the chosen button.