Struct Admission

Namespace
Unity.Multiplayer.Core

The outcome of Admit(ulong, byte[], double): the approval decision and, when approved, the seat.

public readonly struct Admission
Inherited Members

Properties

Approved

True when the connection may proceed; Claim then holds its seat.

public bool Approved { get; }

Property Value

bool

Claim

The seat given when approved; default (no seat) when rejected.

public SeatClaim Claim { get; }

Property Value

SeatClaim

Decision

Approved, or rejected with a reason the client is shown.

public ApprovalDecision Decision { get; }

Property Value

ApprovalDecision

Expired

Held seats whose grace window ran out while this request was handled (freed before deciding).

public IReadOnlyList<Seat> Expired { get; }

Property Value

IReadOnlyList<Seat>

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.