public override void WriteXml(XmlWriter writer) { writer.WriteAttributeString("ItemID", ItemID); writer.WriteAttributeString("MaxBuyout", MaxBuyout.ToString()); writer.WriteAttributeString("Amount", Amount.ToString()); writer.WriteAttributeString("ItemListType", ItemListType.ToString()); writer.WriteAttributeString("AutoFindAh", AutoFindAh.ToString()); writer.WriteAttributeString("X", loc.X.ToString()); writer.WriteAttributeString("Y", loc.Y.ToString()); writer.WriteAttributeString("Z", loc.Z.ToString()); writer.WriteAttributeString("BidOnItem", BidOnItem.ToString()); writer.WriteAttributeString("BuyAdditively", BuyAdditively.ToString()); }
public override void WriteXml(XmlWriter writer) { writer.WriteAttributeString("ItemID", ItemID); writer.WriteAttributeString("MinBuyout", MinBuyout.ToString()); writer.WriteAttributeString("MaxBuyout", MaxBuyout.ToString()); writer.WriteAttributeString("RunTime", RunTime.ToString()); writer.WriteAttributeString("Amount", Amount.ToString()); writer.WriteAttributeString("StackSize", StackSize.ToString()); writer.WriteAttributeString("AmountType", AmountType.ToString()); writer.WriteAttributeString("AutoFindAh", AutoFindAh.ToString()); writer.WriteAttributeString("BidPrecent", BidPrecent.ToString(CultureInfo.InvariantCulture)); writer.WriteAttributeString("UndercutPrecent", UndercutPrecent.ToString(CultureInfo.InvariantCulture)); writer.WriteAttributeString("UseCategory", UseCategory.ToString()); writer.WriteAttributeString("Category", Category.ToString()); writer.WriteAttributeString("SubCategoryType", SubCategory.GetType().Name); writer.WriteAttributeString("SubCategory", SubCategory.ToString()); writer.WriteAttributeString("X", loc.X.ToString()); writer.WriteAttributeString("Y", loc.Y.ToString()); writer.WriteAttributeString("Z", loc.Z.ToString()); writer.WriteAttributeString("PostIfBelowMinBuyout", PostIfBelowMinBuyout.ToString()); }