gameClientBootstrap
Single startup payload for browser game clients: the authenticated user, server/min-client version requirements, current UDP proxy status, realtime protocol details (subprotocol + subscription name), and the spatial send limits/constants (maxReplicationDistance, maxDecayRate, sequenceNumberModulo). Requires a bearer game token. Read-only: does not open a UDP proxy session. Call this once after login to initialize a play session.
gameClientBootstrap(
appId: BigInt!
): GameClientBootstrap!
Arguments
gameClientBootstrap.appId ● BigInt! non-null scalar
The app (game) the client is initializing for, as a BigInt decimal string. Used to scope the returned UDP status and to mirror this app’s entitlements; reuse the same appId when subscribing and on every spatial send.
Type
GameClientBootstrap object
Startup contract for browser game clients. Fetch this after login to initialize protocol/version checks and UDP proxy state in one round trip.