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
rpcstringsenderClientIdulongobjectIdulongverdictRpcVerdict
Properties
ObjectId
The network object id of the entity the call was for.
public ulong ObjectId { get; }
Property Value
Rpc
The RPC's key: the declaring type and method name, e.g. CursorAvatar.Move.
public string Rpc { get; }
Property Value
SenderClientId
The client id that sent (or tried to send) the call.
public ulong SenderClientId { get; }
Property Value
Verdict
Why it was dropped.
public RpcVerdict Verdict { get; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.