class EnumSerializer (Niantic.ARDK.Utilities.BinarySerialization.ItemSerializers.EnumSerializer)
Overview
class EnumSerializer: Niantic.ARDK.Utilities.BinarySerialization.IItemSerializer { public: // properties Type DataType; // methods static IItemSerializer ForType(Type enumType); static IItemSerializer<T> ForType< T >(); static void RegisterSerializerForAllEnumsOf(Assembly assembly); object Deserialize(BinaryDeserializer deserializer); void Serialize(BinarySerializer serializer, object item); };
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
Methods
static void RegisterSerializerForAllEnumsOf(Assembly assembly)
Registers an EnumSerializer instance for each enum type found in the given assembly.