Players
Description
Player represents an authenticated session. PlayerState is the server-validated snapshot
received through playerState.
Attributes
| Type | Attribute | Description |
|---|---|---|
Player | id | Active numeric session slot; may be reused after leave. |
Player | accountId | Persistent verified identity key. |
PlayerState | stateFlags | Validated movement/state flags. |
PlayerState | position | { x, y, z } coordinates. |
PlayerState | heading | Character heading. |
PlayerState | health | Current health. |
PlayerState | armor | Current armor. |
PlayerState | weapon | Current weapon ID. |
PlayerState | modelId | Current skin/model ID. |
Notes
Use id for active targeting and accountId for persistent server-owned records. Do not retain a
numeric ID without checking the current session after reconnect.