public IdleAnimationData(AnimationGroupSection AnimationGroupSection, Byte LoopingMin, Byte LoopingMax, Byte Unused1, Int16 ReplayDelay, IdleAnimationFlags Flags, Byte Unused2) { this.AnimationGroupSection = AnimationGroupSection; this.LoopingMin = LoopingMin; this.LoopingMax = LoopingMax; this.Unused1 = Unused1; this.ReplayDelay = ReplayDelay; this.Flags = Flags; this.Unused2 = Unused2; }
public IdleAnimationData(string Tag = null) : base(Tag) { AnimationGroupSection = new AnimationGroupSection(); LoopingMin = new Byte(); LoopingMax = new Byte(); Unused1 = new Byte(); ReplayDelay = new Int16(); Flags = new IdleAnimationFlags(); Unused2 = new Byte(); }
protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; ele.TryPathTo("AnimationGroupSection", true, out subEle); subEle.Value = AnimationGroupSection.ToString(); ele.TryPathTo("Looping/Min", true, out subEle); subEle.Value = LoopingMin.ToString(); ele.TryPathTo("Looping/Max", true, out subEle); subEle.Value = LoopingMax.ToString(); WriteUnused1XML(ele, master); ele.TryPathTo("ReplayDelay", true, out subEle); subEle.Value = ReplayDelay.ToString(); ele.TryPathTo("Flags", true, out subEle); subEle.Value = Flags.ToString(); WriteUnused2XML(ele, master); }
public override int GetHashCode() { return(AnimationGroupSection.GetHashCode()); }