Class ListSIFormatter
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
public class ListSIFormatter : IMessagePackFormatter<ListSI>
Inheritance
Implements
IMessagePackFormatter<ListSI>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Deserialize(ref MessagePackReader, MessagePackSerializerOptions)
Deserializes a value.
public ListSI Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options)
Parameters
reader MessagePackReader
The reader to deserialize from.
options MessagePackSerializerOptions
The serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type
Returns
The deserialized value.
Serialize(ref MessagePackWriter, ListSI, MessagePackSerializerOptions)
Serializes a value.
public void Serialize(ref MessagePackWriter writer, ListSI value, MessagePackSerializerOptions options)
Parameters
writer MessagePackWriter
The writer to use when serializing the value.
value ListSI
The value to be serialized.
options MessagePackSerializerOptions
The serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type