/// <summary> /// Writes the <see cref="NPCChatConditionalParameter"/> to the given <see cref="IValueWriter"/>. /// </summary> /// <param name="p">The <see cref="NPCChatConditionalParameter"/>.</param> /// <param name="writer">The <see cref="IValueWriter"/> to write to.</param> public static void Write(NPCChatConditionalParameter p, IValueWriter writer) { writer.Write("ValueType", (byte)p.ValueType); p.WriteValue(writer, "Value"); }