Skip to main content

TypeSerializationHelper.HashedSerialization<T>

A class in Root.Township, the global namespace.

Serializer for HashedGeneralValue types, sent as their hash (0 for null). Made on demand by GetSerialization.

Constructors​

MemberWhat it is
HashedSerialization()Creates a TypeSerializationHelper.HashedSerialization with default values.

Methods​

MemberWhat it is
protected override void Serialize(Type type, ref T value, Stream stream, ChunkVersioning versioning)Writes the value's hash, or reads a hash and looks the value up by type and hash.