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.
- Listed in Global namespace: T to X
- Nested in
TypeSerializationHelper - Inherits or implements
TypeSerializationHelper.TypeSerialization<T>
Constructors
| Member | What it is |
|---|---|
HashedSerialization() | Creates a TypeSerializationHelper.HashedSerialization with default values. |
Methods
| Member | What 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. |