Class GhostReceiveSystem<TGhostDeserializerCollection>
Inheritance
System.Object
GhostReceiveSystem<TGhostDeserializerCollection>
Syntax
[UpdateInGroup(typeof(ClientSimulationSystemGroup))]
[UpdateBefore(typeof(GhostSimulationSystemGroup))]
public class GhostReceiveSystem<TGhostDeserializerCollection> : JobComponentSystem where TGhostDeserializerCollection : struct, IGhostDeserializerCollection
Type Parameters
Name |
Description |
TGhostDeserializerCollection |
|
Methods
InvokeDeserialize<T>(BufferLookup<T>, Entity, UInt32, UInt32, UInt32, UInt32, DataStreamReader, ref DataStreamReader.Context, NetworkCompressionModel)
Declaration
public static bool InvokeDeserialize<T>(BufferLookup<T> snapshotFromEntity, Entity entity, uint snapshot, uint baseline, uint baseline2, uint baseline3, DataStreamReader reader, ref DataStreamReader.Context ctx, NetworkCompressionModel compressionModel)
where T : struct, ISnapshotData<T>
Parameters
Type |
Name |
Description |
BufferLookup<T> |
snapshotFromEntity |
|
Entity |
entity |
|
System.UInt32 |
snapshot |
|
System.UInt32 |
baseline |
|
System.UInt32 |
baseline2 |
|
System.UInt32 |
baseline3 |
|
DataStreamReader |
reader |
|
Unity.Collections.DataStreamReader.Context |
ctx |
|
NetworkCompressionModel |
compressionModel |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
InvokeSpawn<T>(UInt32, DataStreamReader, ref DataStreamReader.Context, NetworkCompressionModel)
Declaration
public static T InvokeSpawn<T>(uint snapshot, DataStreamReader reader, ref DataStreamReader.Context ctx, NetworkCompressionModel compressionModel)
where T : struct, ISnapshotData<T>
Parameters
Type |
Name |
Description |
System.UInt32 |
snapshot |
|
DataStreamReader |
reader |
|
Unity.Collections.DataStreamReader.Context |
ctx |
|
NetworkCompressionModel |
compressionModel |
|
Returns
Type Parameters
OnCreate()
Declaration
protected override void OnCreate()
OnDestroy()
Declaration
protected override void OnDestroy()
OnUpdate(JobHandle)
Declaration
protected override JobHandle OnUpdate(JobHandle inputDeps)
Parameters
Returns