Struct RpcRejection

Namespace
Unity.Multiplayer.Core

One RPC call that was dropped instead of handled, and why.

public readonly struct RpcRejection
Inherited Members

Constructors

RpcRejection(string, ulong, ulong, RpcVerdict)

Creates the record.

public RpcRejection(string rpc, ulong senderClientId, ulong objectId, RpcVerdict verdict)

Parameters

rpc string
senderClientId ulong
objectId ulong
verdict RpcVerdict

Properties

ObjectId

The network object id of the entity the call was for.

public ulong ObjectId { get; }

Property Value

ulong

Rpc

The RPC's key: the declaring type and method name, e.g. CursorAvatar.Move.

public string Rpc { get; }

Property Value

string

SenderClientId

The client id that sent (or tried to send) the call.

public ulong SenderClientId { get; }

Property Value

ulong

Verdict

Why it was dropped.

public RpcVerdict Verdict { get; }

Property Value

RpcVerdict

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.