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