TypeSerializationHelper.SubClassSerialization<T>
A class in Root.Township, the global namespace.
Serializer for plain classes: a null flag, then each of the class's fields through ClassSerializationHelper. Made on demand by GetSerialization.
Constructors
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|
override void Initialize() | Builds the field serializer for the class with ClassSerializationHelper.Prepare. |
protected override void Serialize(Type type, ref T value, Stream stream, ChunkVersioning versioning) | Writes a null flag then the fields, or reads the flag and creates and fills a new instance. |