public override bool ParseXmlAttribute(XmlAttribute _attribute) { bool flag = base.ParseXmlAttribute(_attribute); if (!flag) { string name = _attribute.Name; if (name != null) { if (name == "item") { this.CreateItem = _attribute.Value; return(true); } if (name == "lootgroup") { lootgroup = (int)StringParsers.ParseSInt64(_attribute.Value, 0, -1, NumberStyles.Any); return(true); } if (name == "count") { this.CreateItemCount = (int)StringParsers.ParseFloat(_attribute.Value, 0, -1, NumberStyles.Any); return(true); } } } return(flag); }