template class SimpleSerializableSerializer (Niantic.ARDK.Utilities.BinarySerialization.ItemSerializers.SimpleSerializableSerializer)

Serializes/deserializes objects of classes that have the [Serializable] attribute by serializing/deserializing all their fields. This doesn’t work with types that implement ISerializable (those types aren’t “simple serializables”).

template <T>
class SimpleSerializableSerializer: Niantic.ARDK.Utilities.BinarySerialization.IItemSerializer {
public:
    // fields

    static readonly IItemSerializer<T> Instance =       new _UntypedToTypedSerializerAdapter<T>(SimpleSerializableSerializer.ForType(typeof(T)));

    // properties

    Type DataType;

    // methods

    static SimpleSerializableSerializer ForType(Type type);
    static void RegisterSerializerForAllSimpleSerializablesOf(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);