Beispiel #1
0
 /// <summary>
 /// Writes a <see cref="StatValueType"/> to a <see cref="IValueWriter"/>.
 /// </summary>
 /// <param name="valueWriter"><see cref="IValueWriter"/> to write to.</param>
 /// <param name="name">Unique name of the <see cref="StatValueType"/> that will be used to distinguish it
 /// from other values when reading.</param>
 /// <param name="value"><see cref="StatValueType"/> to write.</param>
 public static void Write(this IValueWriter valueWriter, string name, StatValueType value)
 {
     value.Write(valueWriter, name);
 }
Beispiel #2
0
 /// <summary>
 /// Writes a <see cref="StatValueType"/> to a <see cref="BitStream"/>.
 /// </summary>
 /// <param name="bitStream"><see cref="BitStream"/> to write to.</param>
 /// <param name="value"><see cref="StatValueType"/> to write.</param>
 public static void Write(this BitStream bitStream, StatValueType value)
 {
     value.Write(bitStream);
 }