Struct ConnectionRejection

Namespace
Unity.Multiplayer.Core

Server side: a connection request that connection approval turned down.

public readonly struct ConnectionRejection
Inherited Members

Constructors

ConnectionRejection(ulong, ApprovalDecision)

Creates the record.

public ConnectionRejection(ulong clientId, ApprovalDecision decision)

Parameters

clientId ulong
decision ApprovalDecision

Properties

ClientId

The connection that was refused.

public ulong ClientId { get; }

Property Value

ulong

Decision

Why: the typed Rejection and the sentence the client was sent.

public ApprovalDecision Decision { get; }

Property Value

ApprovalDecision

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.