template class BaseItemSerializer (Niantic.ARDK.Utilities.BinarySerialization.ItemSerializers.BaseItemSerializer)
Overview
Class used to implement the untyped IItemSerializer and the typed IItemSerializer<T> the right way. This class should be used only as a base-class to implement a new serializer but any method that requires a serializer should ask only for the interfaces, be it the typed or the untyped version. More...
template <T> class BaseItemSerializer: Niantic.ARDK.Utilities.BinarySerialization.IItemSerializer, Niantic.ARDK.Utilities.BinarySerialization.IItemSerializer { public: // methods T Deserialize(BinaryDeserializer deserializer); void Serialize(BinarySerializer serializer, T item); }; // direct descendants template <T> class ArrayOfSealedSerializer; template <T> class ArrayOfUnsealedSerializer; class BooleanArraySerializer; class BooleanSerializer; class ByteArraySerializer; class ByteSerializer; class CameraIntrinsicsSerializer; class ColorSerializer; class CompressedInt32Serializer; class CompressedInt64Serializer; class CompressedUInt32Serializer; class CompressedUInt64Serializer; class DoubleSerializer; class FloatSerializer; class GuidSerializer; class Int16Serializer; class IntPtrSerializer; class Matrix4x4Serializer; class MeshSerializer; class NetworkIdSerializer; class QuaternionSerializer; class ResolutionSerializer; class SByteSerializer; class StringSerializer; class UInt16Serializer; class Vector2Serializer; class Vector3Serializer; class Vector4Serializer;
Inherited Members
public: // properties Type DataType; // methods object Deserialize(BinaryDeserializer deserializer); T Deserialize(BinaryDeserializer deserializer); void Serialize(BinarySerializer serializer, object item); void Serialize(BinarySerializer serializer, T item);
Detailed Documentation
Class used to implement the untyped IItemSerializer and the typed IItemSerializer<T> the right way. This class should be used only as a base-class to implement a new serializer but any method that requires a serializer should ask only for the interfaces, be it the typed or the untyped version.
Methods
T Deserialize(BinaryDeserializer deserializer)
Implements the IItemSerializer<T>.Deserialize() method.
void Serialize(BinarySerializer serializer, T item)
Implements the IItemSerializer<T>.Serialize() method.