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
IInBitStreamreferenceSimulationFrame
AbsoluteSimulationFramelastIndex
ushortmeta
EntityWithMetaentityRefSimulationFrame
AbsoluteSimulationFramelogger
Logger
Returns
ReadFloatingOrigin(IInBitStream, Logger)
public static Vector3d ReadFloatingOrigin(IInBitStream bitstream, Logger logger)
Parameters
bitstream
IInBitStreamlogger
Logger
Returns
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
AbsoluteSimulationFramefloatingOriginDelta
Vector3componentDeserializer
ISchemaSpecificComponentDeserializebitStream
IInBitStreamdefinition
IComponentInfologger
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
ISchemaSpecificComponentDeserializeentityUpdate
IncomingEntityUpdateentityRefSimulationFrame
AbsoluteSimulationFramebitStream
IInBitStreamdefinition
IComponentInfologger
Logger