Struct RPCInvokeID
Identifies an RPC handle method so a received RPC can be routed to it.
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
public readonly struct RPCInvokeID
Constructors
RPCInvokeID(ulong)
Creates an invoke id from a raw value.
Declaration
public RPCInvokeID(ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | value | The raw id value. Zero is not a valid id. |
Methods
IsValid()
Checks whether this id has been assigned.
Declaration
public bool IsValid()
Returns
| Type | Description |
|---|---|
| bool | True if the id is non-zero. |