Field ClientId
The client identifier can vary depending upon the following conditions:
- Scene
Event s that always set the ClientType Id to the local client identifier, are initiated (and processed locally) by the server-host, and sent to all clients to be processed.
- Events that always set the Client
Id to the local client identifier, are initiated (and processed locally) by a client or server-host, and if initiated by a client will always be sent to and processed on the server-host: -
Events that always set the Client
Id to the ServerId:
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
public ulong ClientId
Returns
Type | Description |
---|---|
ulong |