public override int GetHashCode() { return(BarterValue.GetHashCode()); }
protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; ele.TryPathTo("Barter/Value", true, out subEle); subEle.Value = BarterValue.ToString(); ele.TryPathTo("BigGuns/Value", true, out subEle); subEle.Value = BigGunsValue.ToString(); ele.TryPathTo("EnergyWeapons/Value", true, out subEle); subEle.Value = EnergyWeaponsValue.ToString(); ele.TryPathTo("Explosives/Value", true, out subEle); subEle.Value = ExplosivesValue.ToString(); ele.TryPathTo("Lockpick/Value", true, out subEle); subEle.Value = LockpickValue.ToString(); ele.TryPathTo("Medicine/Value", true, out subEle); subEle.Value = MedicineValue.ToString(); ele.TryPathTo("MeleeWeapons/Value", true, out subEle); subEle.Value = MeleeWeaponsValue.ToString(); ele.TryPathTo("Repair/Value", true, out subEle); subEle.Value = RepairValue.ToString(); ele.TryPathTo("Science/Value", true, out subEle); subEle.Value = ScienceValue.ToString(); ele.TryPathTo("Guns/Value", true, out subEle); subEle.Value = GunsValue.ToString(); ele.TryPathTo("Sneak/Value", true, out subEle); subEle.Value = SneakValue.ToString(); ele.TryPathTo("Speech/Value", true, out subEle); subEle.Value = SpeechValue.ToString(); ele.TryPathTo("Survival/Value", true, out subEle); subEle.Value = SurvivalValue.ToString(); ele.TryPathTo("Unarmed/Value", true, out subEle); subEle.Value = UnarmedValue.ToString(); ele.TryPathTo("Barter/Offset", true, out subEle); subEle.Value = BarterOffset.ToString(); ele.TryPathTo("BigGuns/Offset", true, out subEle); subEle.Value = BigGunsOffset.ToString(); ele.TryPathTo("EnergyWeapons/Offset", true, out subEle); subEle.Value = EnergyWeaponsOffset.ToString(); ele.TryPathTo("Explosives/Offset", true, out subEle); subEle.Value = ExplosivesOffset.ToString(); ele.TryPathTo("Lockpick/Offset", true, out subEle); subEle.Value = LockpickOffset.ToString(); ele.TryPathTo("Medicine/Offset", true, out subEle); subEle.Value = MedicineOffset.ToString(); ele.TryPathTo("MeleeWeapons/Offset", true, out subEle); subEle.Value = MeleeWeaponsOffset.ToString(); ele.TryPathTo("Repair/Offset", true, out subEle); subEle.Value = RepairOffset.ToString(); ele.TryPathTo("Science/Offset", true, out subEle); subEle.Value = ScienceOffset.ToString(); ele.TryPathTo("Guns/Offset", true, out subEle); subEle.Value = GunsOffset.ToString(); ele.TryPathTo("Sneak/Offset", true, out subEle); subEle.Value = SneakOffset.ToString(); ele.TryPathTo("Speech/Offset", true, out subEle); subEle.Value = SpeechOffset.ToString(); ele.TryPathTo("Survival/Offset", true, out subEle); subEle.Value = SurvivalOffset.ToString(); ele.TryPathTo("Unarmed/Offset", true, out subEle); subEle.Value = UnarmedOffset.ToString(); }