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
Syntax
public struct ReceiveRpcCommandRequest : IComponentData, IQueryTypeParameter
Fields
SourceConnection
The connection which sent the RPC being processed.
Declaration
public Entity SourceConnection
Field Value
Type | Description |
---|---|
Entity |
Properties
IsConsumed
ReceiveRpcCommandRequest has a Unity.NetCode.WarnAboutStaleRpcSystem which will log a warning if this
Declaration
public readonly bool IsConsumed { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Consume()
ReceiveRpcCommandRequest has a Unity.NetCode.WarnAboutStaleRpcSystem which will log a warning if this
Declaration
public void Consume()