protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; ele.TryPathTo("Day/Near", true, out subEle); subEle.Value = DayNear.ToString("G15"); ele.TryPathTo("Day/Far", true, out subEle); subEle.Value = DayFar.ToString("G15"); ele.TryPathTo("Night/Near", true, out subEle); subEle.Value = NightNear.ToString("G15"); ele.TryPathTo("Night/Far", true, out subEle); subEle.Value = NightFar.ToString("G15"); ele.TryPathTo("Day/Power", true, out subEle); subEle.Value = DayPower.ToString("G15"); ele.TryPathTo("Night/Power", true, out subEle); subEle.Value = NightPower.ToString("G15"); }
public override int GetHashCode() { return(DayNear.GetHashCode()); }