Skip to content

Class: ClientID ​

Network client identifier.

Source ​

C++ class ClientID

Custom Constructor ​

ClientID

Remarks ​

0xffffffff is used by the engine as broadcast client id in network code.

Extends ​

Constructors ​

Constructor ​

ts
new ClientID(): ClientID;

Create an empty client id.

Returns ​

ClientID

Overrides ​

EngineBinding.constructor

Methods ​

set() ​

ts
set(value: number): void;

Set raw client id value.

Parameters ​

ParameterTypeDescription
valuenumberClient id value.

Returns ​

void


value() ​

ts
value(): number;

Get raw client id value.

Returns ​

number

Client id value.

Properties ​

__name ​

ts
readonly __name: string;

LuaBind instance constructor name.

Inherited from ​

EngineBinding.__name


__name ​

ts
readonly static __name: string;

LuaBind class constructor name.

Inherited from ​

EngineBinding.__name