Lua API
On this page

Capabilities

Inherits from

Methods:

Get() : ClientCapability

Get a flag enum of all supported game client capabilities.

GetPropertyKeys() : string[]

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

Returns:string[]

Has(capability: ClientCapability) : boolean

Check if the current game client has the specified capability flag.

Parameters:
NameTypeDefaultSummary
capabilityClientCapability

The capability to check

Returns:boolean

ToString() : string

Returns a string that represents the current object.

Returns:string