Struct CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData
Helper struct used by code-gen for implementing the Execute method of the the generated receiving job.
The ReceiveJobData implement the command deserialization logic, by reading from the data stream the
serialized commands and enqueuing them into the taget entity command buffer.
As part of the command deserialization, if a Command
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData
Fields
Name | Description |
---|---|
auto |
Accessor for retrieving the optional Auto |
cmd |
Read-only type handle for reading the data from the Incoming |
command |
The output command buffer where the deserialized command are added. |
commmand |
Read-only type handle to get the Command |
compression |
The compression model used for decoding the delta compressed commands. |
delay |
Accessor for retrieving the optional Command |
ghost |
A readonly mapping to retrieve a ghost entity instance from a Spawned |
ghost |
Accessor for retrieving the optional Ghost |
net |
The Net |
network |
Read-only type handle to get the Network |
server |
The current server tick |
snapshot |
Read-only type handle to get the Network |
stable |
The stable hash for the ICommand |
Methods
Name | Description |
---|---|
Execute(Archetype |
Decode the commands present in the Incoming |