Exemplo n.º 1
0
 /// <summary>
 /// Writes a <see cref="QuestID"/> 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="QuestID"/> that will be used to distinguish it
 /// from other values when reading.</param>
 /// <param name="value"><see cref="QuestID"/> to write.</param>
 public static void Write(this IValueWriter valueWriter, string name, QuestID value)
 {
     value.Write(valueWriter, name);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Writes a <see cref="QuestID"/> to a <see cref="BitStream"/>.
 /// </summary>
 /// <param name="bitStream"><see cref="BitStream"/> to write to.</param>
 /// <param name="value"><see cref="QuestID"/> to write.</param>
 public static void Write(this BitStream bitStream, QuestID value)
 {
     value.Write(bitStream);
 }