Lua API
On this page

UBNetClientInfo

classubnet
Inherits from

Information about a client

Fields:

Id number

The id of the client. This is set by the server

Name string

The name of the client. This was set by the client itself and can be anything.

Tags string[]

Client tags. Used for grouping clients in order to broadcast to a subset of clients.

Type ClientType

The type of client this is

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:string