Struct __GHOST_NAME__GhostSerializer
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Syntax
public struct __GHOST_NAME__GhostSerializer : IGhostSerializer<__GHOST_NAME__SnapshotData>
Properties
SnapshotSize
Declaration
public readonly int SnapshotSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
WantsPredictionDelta
Declaration
public readonly bool WantsPredictionDelta { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
BeginSerialize(ComponentSystemBase)
Declaration
public void BeginSerialize(ComponentSystemBase system)
Parameters
Type |
Name |
Description |
ComponentSystemBase |
system |
|
CalculateImportance(ArchetypeChunk)
Declaration
public int CalculateImportance(ArchetypeChunk chunk)
Parameters
Type |
Name |
Description |
ArchetypeChunk |
chunk |
|
Returns
Type |
Description |
System.Int32 |
|
CanSerialize(EntityArchetype)
Declaration
public bool CanSerialize(EntityArchetype arch)
Parameters
Type |
Name |
Description |
EntityArchetype |
arch |
|
Returns
Type |
Description |
System.Boolean |
|
CopyToSnapshot(ArchetypeChunk, Int32, UInt32, ref __GHOST_NAME__SnapshotData, GhostSerializerState)
Declaration
public void CopyToSnapshot(ArchetypeChunk chunk, int ent, uint tick, ref __GHOST_NAME__SnapshotData snapshot, GhostSerializerState serializerState)
Parameters
Type |
Name |
Description |
ArchetypeChunk |
chunk |
|
System.Int32 |
ent |
|
System.UInt32 |
tick |
|
__GHOST_NAME__SnapshotData |
snapshot |
|
GhostSerializerState |
serializerState |
|