Struct RpcDeserializerState
Interop struct used to pass additional data to the Deserialize(ref DataStreamReader, in RpcDeserializerState, ref T) method.
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct RpcDeserializerState
Fields
CompressionModel
Read-only map for retrieving the Unity.Collections.StreamCompressionModel assigned to be used for RPCs.
Declaration
public StreamCompressionModel CompressionModel
Field Value
Type | Description |
---|---|
StreamCompressionModel |
ghostMap
Read-only map for retrieving the entity bound the given SpawnedGhost. Used to deserialize replicated ghost entity references.
Declaration
public NativeParallelHashMap<SpawnedGhost, Entity>.ReadOnly ghostMap
Field Value
Type | Description |
---|---|
NativeParallelHashMap<SpawnedGhost, Entity>.ReadOnly |