Interface IGhostSerializer<T>
Syntax
public interface IGhostSerializer<T>
where T : struct, ISnapshotData<T>
Type Parameters
Properties
SnapshotSize
Declaration
int SnapshotSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
WantsPredictionDelta
Declaration
bool WantsPredictionDelta { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
BeginSerialize(ComponentSystemBase)
Declaration
void BeginSerialize(ComponentSystemBase system)
Parameters
CalculateImportance(ArchetypeChunk)
Declaration
int CalculateImportance(ArchetypeChunk chunk)
Parameters
Returns
Type |
Description |
System.Int32 |
|
CanSerialize(EntityArchetype)
Declaration
bool CanSerialize(EntityArchetype arch)
Parameters
Returns
Type |
Description |
System.Boolean |
|
CopyToSnapshot(ArchetypeChunk, Int32, UInt32, ref T, GhostSerializerState)
Declaration
void CopyToSnapshot(ArchetypeChunk chunk, int ent, uint tick, ref T snapshot, GhostSerializerState serializerState)
Parameters