Lua API
On this page

UBNetRemoteExecRequest

classubnet
Inherits from

Used for executing a lua function on a remote set of clients.

Fields:

Arguments string

A serialized table of arguments to be passed to the function

Function string

The function to execute

ScriptName string

The name of the script executing this action, if any

Constructors:

New() :

Create a new Remote Exec request.

New(function: string, arguments: string, scriptName: string) :

Create a new Remote Exec request.

Parameters:
NameTypeDefaultSummary
functionstring
argumentsstring
scriptNamestring

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string