Version 2.1.0.0

SelfFormatterFormatter<T> class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class SelfFormatterFormatter<T> : BaseFormatter<T>, IFormatter<T>, IFormatter where T : ISelfFormatter
Formatter for types that implement the Sirenix.Serialization.ISelfFormatter interface.
Inheritance
See Also

Type Parameters

T

Constructors

SelfFormatterFormatter()
public SelfFormatterFormatter()

Methods

DeserializeImplementation(ref T, IDataReader)
Calls Sirenix.Serialization.ISelfFormatter.Deserialize(Sirenix.Serialization.IDataReader) on the value to deserialize.
protected override void DeserializeImplementation(ref T value, IDataReader reader)
Parameters
T value

Sirenix.Serialization.IDataReader reader

SerializeImplementation(ref T, IDataWriter)
Calls Sirenix.Serialization.ISelfFormatter.Serialize(Sirenix.Serialization.IDataWriter) on the value to deserialize.
protected override void SerializeImplementation(ref T value, IDataWriter writer)
Parameters
T value

Sirenix.Serialization.IDataWriter writer

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.