Readonly$nullPut in place of an object argument to pass none on purpose. A plain null is
refused for an object parameter the game does not mark optional, since many
game functions use one without checking it and an empty one can crash the game.
Pass real data where you can: the game's own scripts usually do.
Readonly$outPut in place of an argument to get that parameter's value back after the
call, in out. Some native functions write their answer into a parameter
the game does not mark as out; the call then returns { result, out }.
Calls a global function by name or full name, for example an operator such
as "Cast;EntityID;StatsObjectID".
Builds a game object by its class name (native or script name) and sets properties on it first. Resolves with a GameRef for an object, which keeps the object alive until the reference is released (or a save loads), since nothing in the game holds it yet; or with the value, for a struct.
Optionalprops: Record<string, unknown>Calls a class's static function by name or full name.
Extra calls on api for names the typed API cannot express.