Struct ReceiveRpcCommandRequest
A component used to signal that an RPC has been received from a remote connection and should be processed.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct ReceiveRpcCommandRequest : IComponentData, IQueryTypeParameter
Fields
| Name | Description |
|---|---|
| SourceConnection | The connection which sent the RPC being processed. |
Properties
| Name | Description |
|---|---|
| IsConsumed | ReceiveRpcCommandRequest has a Unity.NetCode.WarnAboutStaleRpcSystem which will log a warning if this Age value exceeds WarnAboutStaleRpcSystem.MaxRpcAgeFrames. Counts simulation frames. 0 is the simulation frame it is received on. |
Methods
| Name | Description |
|---|---|
| Consume() | ReceiveRpcCommandRequest has a Unity.NetCode.WarnAboutStaleRpcSystem which will log a warning if this Age value exceeds WarnAboutStaleRpcSystem.MaxRpcAgeFrames. Counts simulation frames. 0 is the simulation frame it is received on. |