struct
PlayerStateComponent
- Module
- Networking
- Header
#include "Networking/Components/PlayerStateComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
uint32_t | playerId | Default 0. |
std::string | playerName | |
int32_t | score | Default 0. |
uint32_t | team | 0 = no team. A non-zero team also becomes the peer's relevancy group (bit team), so objects marked with that group reach only the team. Default 0. |
uint32_t | pawnNetworkId | Default 0. |
bool | isHost | Default false. |
bool | isReady | Default false. |
bool | isSpectator | Default false. |
bool | isInactive | Dropped and inside the rejoin grace: the slot is held, the pawn too. Default false. |
float | pingMs | Round trip to the host, whole milliseconds. Continuous on purpose: it moves every second and must not churn the reliable stream. Default 0.0f. |
uint32_t | peerId | Server bookkeeping, never sent. Default 0. |
Generated from Networking/Components/PlayerStateComponent.h via networking.json · Nov 4, 2026Version 1.0.0