Lua API
On this page
UBNetRemoteExecResponse
Inherits from
Response from a remote client replying to a UBNetRemoteExecRequest
Fields:
Error string
The error, if any. This is only valid when Success == false.
Response string
The response from the remote client. This is the raw string value without attempting to be converted to a DynValue. Only valid when Success == true.
Sender UBNetClientInfo
The UBNetClientInfo of the client that sent this message
SenderId number
The ubnet client id of the client that sent this message
Success boolean
Wether the remote client was able to execute the function without any errors.
Constructors:
New() :
Create a new response object
New(success: boolean, response: string, error: string) :
Create a new response object
Name | Type | Default | Summary |
success | boolean | ||
response | string | ||
error | string |
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