TypeSerializationHelper.LogicValueDataSerialization<T>
A class in Root.Township, the global namespace.
Serializer for logic value data, sent as its logic identifier and looked up in the current GlobalLogicManager on read.
- Listed in Global namespace: T to X
- Nested in
TypeSerializationHelper - Inherits or implements
TypeSerializationHelper.TypeSerialization<T>
Constructors
| Member | What it is |
|---|---|
LogicValueDataSerialization() | Creates a TypeSerializationHelper.LogicValueDataSerialization with default values. |
Methods
| Member | What it is |
|---|---|
protected override void Serialize(Type type, ref T data, Stream stream, ChunkVersioning versioning) | Writes the data's logic identifier, or reads one and fetches the data from GlobalLogicManager.Current, logging an error if missing. |