Beispiel #1
0
 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;
 }
Beispiel #2
0
 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();
 }
Beispiel #3
0
        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);
        }
Beispiel #4
0
 public override int GetHashCode()
 {
     return(AnimationGroupSection.GetHashCode());
 }