Struct RpcSendParams
Generic RPC. Defines parameters for sending Remote Procedure Calls (RPCs) in the network system.
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public struct RpcSendParams
  Fields
LocalDeferMode
Controls how the RPC is handled for local execution timing.
Declaration
public LocalDeferMode LocalDeferMode
  Field Value
| Type | Description | 
|---|---|
| LocalDeferMode | 
Target
Specifies the target that will receive this RPC.
Declaration
public BaseRpcTarget Target
  Field Value
| Type | Description | 
|---|---|
| BaseRpcTarget | 
Operators
implicit operator RpcSendParams(BaseRpcTarget)
Implicitly converts a BaseRpcTarget to RpcSendParams.
Declaration
public static implicit operator RpcSendParams(BaseRpcTarget target)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BaseRpcTarget | target | The RPC target to convert.  | 
      
Returns
| Type | Description | 
|---|---|
| RpcSendParams | A new RpcSendParams instance with the specified target.  | 
      
implicit operator RpcSendParams(LocalDeferMode)
Implicitly converts a LocalDeferMode to RpcSendParams.
Declaration
public static implicit operator RpcSendParams(LocalDeferMode deferMode)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LocalDeferMode | deferMode | The defer mode to convert.  | 
      
Returns
| Type | Description | 
|---|---|
| RpcSendParams | A new RpcSendParams instance with the specified defer mode.  |