Table of Contents

Class Deserialize

Namespace
Coherence.Serializer
Assembly
Coherence.Serializer.dll
public static class Deserialize
Inheritance
Deserialize

Methods

ReadEntity(IInBitStream, AbsoluteSimulationFrame, ref ushort, out EntityWithMeta, out AbsoluteSimulationFrame, Logger)

public static bool ReadEntity(IInBitStream bitStream, AbsoluteSimulationFrame referenceSimulationFrame, ref ushort lastIndex, out EntityWithMeta meta, out AbsoluteSimulationFrame entityRefSimulationFrame, Logger logger)

Parameters

bitStream IInBitStream
referenceSimulationFrame AbsoluteSimulationFrame
lastIndex ushort
meta EntityWithMeta
entityRefSimulationFrame AbsoluteSimulationFrame
logger Logger

Returns

bool

ReadFloatingOrigin(IInBitStream, Logger)

public static Vector3d ReadFloatingOrigin(IInBitStream bitstream, Logger logger)

Parameters

bitstream IInBitStream
logger Logger

Returns

Vector3d

ReadPacket(List<IncomingEntityUpdate>, AbsoluteSimulationFrame, Vector3, ISchemaSpecificComponentDeserialize, IInBitStream, IComponentInfo, Logger)

public static void ReadPacket(List<IncomingEntityUpdate> updatesBuffer, AbsoluteSimulationFrame referenceSimulationFrame, Vector3 floatingOriginDelta, ISchemaSpecificComponentDeserialize componentDeserializer, IInBitStream bitStream, IComponentInfo definition, Logger logger)

Parameters

updatesBuffer List<IncomingEntityUpdate>
referenceSimulationFrame AbsoluteSimulationFrame
floatingOriginDelta Vector3
componentDeserializer ISchemaSpecificComponentDeserialize
bitStream IInBitStream
definition IComponentInfo
logger Logger

UpdateComponents(ISchemaSpecificComponentDeserialize, IncomingEntityUpdate, AbsoluteSimulationFrame, IInBitStream, IComponentInfo, Logger)

public static IncomingEntityUpdate UpdateComponents(ISchemaSpecificComponentDeserialize componentDeserializer, IncomingEntityUpdate entityUpdate, AbsoluteSimulationFrame entityRefSimulationFrame, IInBitStream bitStream, IComponentInfo definition, Logger logger)

Parameters

componentDeserializer ISchemaSpecificComponentDeserialize
entityUpdate IncomingEntityUpdate
entityRefSimulationFrame AbsoluteSimulationFrame
bitStream IInBitStream
definition IComponentInfo
logger Logger

Returns

IncomingEntityUpdate