public override void WriteXml(XmlWriter writer)
 {
     writer.WriteAttributeString("ItemID", ItemID);
     writer.WriteAttributeString("CheckNewMail", CheckNewMail.ToString());
     writer.WriteAttributeString("GetMailType", GetMailType.ToString());
     writer.WriteAttributeString("AutoFindMailBox", AutoFindMailBox.ToString());
     writer.WriteAttributeString("X", loc.X.ToString());
     writer.WriteAttributeString("Y", loc.Y.ToString());
     writer.WriteAttributeString("Z", loc.Z.ToString());
     writer.WriteAttributeString("MinFreeBagSlots", MinFreeBagSlots.ToString());
 }
 public override void WriteXml(XmlWriter writer)
 {
     writer.WriteAttributeString("ItemID", ItemID);
     writer.WriteAttributeString("Amount", Amount.ToString());
     writer.WriteAttributeString("Bank", Bank.ToString());
     writer.WriteAttributeString("GetItemfromBankType", GetItemfromBankType.ToString());
     writer.WriteAttributeString("NpcEntry", NpcEntry.ToString());
     writer.WriteAttributeString("AutoFindBank", AutoFindBank.ToString());
     writer.WriteAttributeString("X", loc.X.ToString());
     writer.WriteAttributeString("Y", loc.Y.ToString());
     writer.WriteAttributeString("Z", loc.Z.ToString());
     writer.WriteAttributeString("MinFreeBagSlots", MinFreeBagSlots.ToString());
     writer.WriteAttributeString("WithdrawAdditively", WithdrawAdditively.ToString());
 }