Skip to main content

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.

Constructors​

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

Methods​

MemberWhat 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.