Class GhostReceiveSystem<TGhostDeserializerCollection>
Inheritance
GhostReceiveSystem<TGhostDeserializerCollection>
Syntax
public class GhostReceiveSystem<TGhostDeserializerCollection> : JobComponentSystem where TGhostDeserializerCollection : struct, IGhostDeserializerCollection
Type Parameters
Name |
Description |
TGhostDeserializerCollection |
|
Methods
InvokeDeserialize<T>(BufferFromEntity<T>, Entity, UInt32, UInt32, UInt32, UInt32, ref DataStreamReader, NetworkCompressionModel)
Declaration
public static bool InvokeDeserialize<T>(BufferFromEntity<T> snapshotFromEntity, Entity entity, uint snapshot, uint baseline, uint baseline2, uint baseline3, ref DataStreamReader reader, NetworkCompressionModel compressionModel)
where T : struct, ISnapshotData<T>
Parameters
Type |
Name |
Description |
BufferFromEntity<T> |
snapshotFromEntity |
|
Entity |
entity |
|
UInt32 |
snapshot |
|
UInt32 |
baseline |
|
UInt32 |
baseline2 |
|
UInt32 |
baseline3 |
|
DataStreamReader |
reader |
|
NetworkCompressionModel |
compressionModel |
|
Returns
Type Parameters
InvokeSpawn<T>(UInt32, ref DataStreamReader, NetworkCompressionModel)
Declaration
public static T InvokeSpawn<T>(uint snapshot, ref DataStreamReader reader, NetworkCompressionModel compressionModel)
where T : struct, ISnapshotData<T>
Parameters
Type |
Name |
Description |
UInt32 |
snapshot |
|
DataStreamReader |
reader |
|
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
Type |
Name |
Description |
JobHandle |
inputDeps |
|
Returns
Type |
Description |
JobHandle |
|