Nebula
Control plane

GatewaySessionRequest

An operation on one player's admission claim.

generated from the sources
public sealed class GatewaySessionRequest

An operation on one player's admission claim. Transport must preserve all 64 bits of each ID.

Fields

Operation

public string Operation = "";

claim, poll, release, end, cancel, or reserve. Poll returns disconnect requests for the named gateway. End is a release after which nothing is kept for a reclaim (the player said goodbye or was removed): the player's next claim starts a new session.

Identity

public string Identity = "";

Authenticated player identity; empty only for poll.

Gateway

public string Gateway = "";

Gateway ID and process incarnation, formatted by PlayerSessions.GatewayKey.

Claim

public string Claim = "";

Unique ID for this connection's claim. Retries reuse it; releases match both gateway and claim.

Worker

public string Worker = "";

Worker reserved for a pending spawn or currently owning the pawn.

SessionId

public ulong SessionId;

Proposed ID on an initial claim. The coordinator preserves an existing session's ID.

Generation

public ulong Generation;

Minimum generation from a verified token. A replacement receives a strictly newer generation.

Container

public ContainerRef Container = ContainerRef.None;

Container for the spawn reservation or observed pawn.

ObservedPawn

public bool ObservedPawn;

The route came from an existing authoritative pawn announcement rather than a proposed spawn.

On this page