Class ClientContext
Public identity of a connected client. Passed to per-client View factories.
public sealed class ClientContext
- Inheritance
-
ClientContext
- Inherited Members
Constructors
ClientContext()
public ClientContext()
Properties
ConnectionId
Unique connection identifier assigned by the server.
public int ConnectionId { get; }
Property Value
UserData
Game-specific player identity. Game code sets this after connection (e.g. from a connect callback); the engine treats it as an opaque payload and never inspects it.
public object UserData { get; set; }