Skip to main content

Module protocol

Module protocol 

Source

Structs§

Deck
DraftConfig
IdentityProof
PlayerDeckInfo
PlayerInfo
ResumeRoomRequest
RoomInfo
RoomPlayerInfo
SealedConfig

Enums§

ClientMessage
EngineKind
GameFormat
RoomStatus
ServerMessage
StateEnvelope
Typed envelope carried inside ClientMessage::BroadcastState.state / ServerMessage::StateUpdate.state. One discriminator (kind) plus the payload for that variant. Constructed and parsed in every layer that touches the relay (engine, bot, host, web/Tauri UI) — anything that needs to handcraft json!({"kind": "..."}) belongs here instead.

Constants§

DEFAULT_RECONNECT_TIMEOUT_S
PROTOCOL_VERSION