예제 #1
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            int num = stream26_0.ReadInt();

            if (num == 0)
            {
                return;
            }
            int[] array = new int[num];
            if (num > 1)
            {
                stream26_0.Position = (long)stream26_0.ReadInt();
                for (int i = 0; i < num; i++)
                {
                    array[i] = stream26_0.ReadInt();
                }
            }
            else
            {
                array[0] = stream26_0.ReadInt();
            }
            int[] array2 = array;
            for (int j = 0; j < array2.Length; j++)
            {
                int int_ = array2[j];
                AbstractTreeNode1 @class = this.vmethod_12(stream26_0.ReadIntAt(int_, true));
                base.Nodes.Add(@class);
                @class.method_4(stream26_0);
            }
        }
예제 #2
0
        public override void vmethod_14(Stream26 stream26_0)
        {
            byte[] array = new byte[4];
            array[1] = 1;
            array[2] = 4;
            stream26_0.WriteByteArray(array, false);
            stream26_0.WriteInt(base.Nodes.Count);
            if (base.Nodes.Count == 0)
            {
                return;
            }
            if (base.Nodes.Count > 1)
            {
                stream26_0.WriteInt((int)stream26_0.Position + 4);
            }
            int      num    = (int)stream26_0.Position + 4 * base.Nodes.Count;
            Stream26 stream = new Stream26();

            foreach (UnicodeValueNode @class in base.Nodes)
            {
                stream26_0.WriteInt(num);
                stream.WriteString(@class.string_0, stream26_0._reverseEndianness);
                stream.WriteNBytes(0, 2);
                num += @class.string_0.Length * 2 + 2;
            }
            stream26_0.WriteByteArray(stream.ReadEverything(), false);
            stream26_0.WriteNBytes(0, AbstractTreeNode1.smethod_0(stream26_0.Position));
        }
예제 #3
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            int num = stream26_0.ReadInt();

            if (num == 0)
            {
                return;
            }
            int[] array = new int[num];
            if (num > 1)
            {
                stream26_0.Position = (long)stream26_0.ReadInt();
                for (int i = 0; i < num; i++)
                {
                    array[i] = stream26_0.ReadInt();
                }
            }
            else
            {
                array[0] = stream26_0.ReadInt();
            }
            int[] array2 = array;
            for (int j = 0; j < array2.Length; j++)
            {
                int int_ = array2[j];
                base.Nodes.Add(new UnicodeValueNode(stream26_0.ReadUnicodeStringAt(int_)));
            }
            stream26_0.Position += (long)AbstractTreeNode1.smethod_0(stream26_0.Position);
        }
예제 #4
0
 public override void vmethod_2(ref int int_1)
 {
     int_1 += 16;
     if (base.Nodes.Count != 0)
     {
         ((UnicodeValueNode)base.Nodes[0]).vmethod_2(ref int_1);
         int_1 += 2;
         int_1 += AbstractTreeNode1.smethod_0((long)int_1);
     }
 }
예제 #5
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            int num = stream26_0.ReadInt();

            if (num != 0)
            {
                stream26_0.Position = (long)num;
                AbstractTreeNode1 @class = this.method_11(stream26_0.ReadInt());
                base.Nodes.Add(@class);
                @class.method_4(stream26_0);
            }
        }
예제 #6
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            this.int_0 = stream26_0.ReadInt();
            base.Nodes.Add(new TextValueNode(stream26_0.ReadInt(), this.vmethod_10()));
            int num = stream26_0.ReadInt();

            if (num != 0)
            {
                AbstractTreeNode1 @class = (base.Parent is StructureHeaderNode) ? (base.Parent as StructureHeaderNode).method_11(stream26_0.ReadIntAt(num)) : this.vmethod_12(stream26_0.ReadIntAt(num, true));
                base.method_1().Nodes.Add(@class);
                @class.method_4(stream26_0);
            }
        }
예제 #7
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            this.int_0 = stream26_0.ReadInt();
            this.int_1 = stream26_0.ReadInt();
            int num = stream26_0.ReadInt();

            stream26_0.ReadInt();
            if (num != 0)
            {
                base.Nodes.Add(new UnicodeValueNode(stream26_0.ReadUnicodeStringAt(num)));
                stream26_0.Position += (long)AbstractTreeNode1.smethod_0(stream26_0.Position);
            }
        }
예제 #8
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            this.int_0 = stream26_0.ReadInt();
            this.int_1 = stream26_0.ReadInt();
            int num = stream26_0.ReadInt();

            stream26_0.ReadInt();
            if (num != 0)
            {
                AbstractTreeNode1 @class = this.vmethod_12(stream26_0.ReadIntAt(num, true));
                base.Nodes.Add(@class);
                @class.method_4(stream26_0);
            }
        }
예제 #9
0
 public override void vmethod_13(Stream26 stream26_0)
 {
     while (stream26_0.Length > stream26_0.Position)
     {
         int num = stream26_0.ReadInt(true);
         if (num != 0)
         {
             AbstractTreeNode1 @class = this.vmethod_12(num);
             stream26_0._reverseEndianness = this.vmethod_7();
             base.Nodes.Add(@class);
             @class.method_4(stream26_0);
         }
         else
         {
             stream26_0.Position += 4L;
         }
     }
 }
예제 #10
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            this.int_0 = stream26_0.ReadInt();
            int num  = stream26_0.ReadInt();
            int num2 = stream26_0.ReadInt();

            if (num != 0)
            {
                base.Nodes.Add(new UnicodeValueNode(stream26_0.ReadUnicodeStringAt(num)));
                stream26_0.Position += (long)AbstractTreeNode1.smethod_0(stream26_0.Position);
            }
            if (num2 != 0)
            {
                AbstractTreeNode1 @class = (base.Parent is StructureHeaderNode) ? (base.Parent as StructureHeaderNode).method_11(stream26_0.ReadIntAt(num2)) : this.vmethod_12(stream26_0.ReadIntAt(num2, true));
                base.method_1().Nodes.Add(@class);
                @class.method_4(stream26_0);
            }
        }
예제 #11
0
 public override void vmethod_2(ref int int_0)
 {
     int_0 += 8;
     if (base.Nodes.Count == 0)
     {
         return;
     }
     if (base.Nodes.Count > 1)
     {
         int_0 += 4;
     }
     int_0 += 4 * base.Nodes.Count;
     foreach (UnicodeValueNode @class in base.Nodes)
     {
         @class.vmethod_2(ref int_0);
         int_0 += 2;
     }
     int_0 += AbstractTreeNode1.smethod_0((long)int_0);
 }
예제 #12
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            this.int_0 = stream26_0.ReadInt();
            int num  = stream26_0.ReadInt();
            int num2 = stream26_0.ReadInt();

            if (num != 0)
            {
                AbstractTreeNode1 @class = this.vmethod_12(stream26_0.ReadIntAt(num, true));
                base.Nodes.Add(@class);
                @class.method_4(stream26_0);
            }
            if (num2 != 0)
            {
                AbstractTreeNode1 class2 = (base.Parent is StructureHeaderNode) ? (base.Parent as StructureHeaderNode).method_11(stream26_0.ReadIntAt(num2)) : this.vmethod_12(stream26_0.ReadIntAt(num2, true));
                base.method_1().Nodes.Add(class2);
                class2.method_4(stream26_0);
            }
        }
예제 #13
0
 public override void vmethod_14(Stream26 stream26_0)
 {
     byte[] array = new byte[4];
     array[1] = (this.vmethod_7() ? (byte)32 : (byte)4);
     array[2] = 4;
     stream26_0.WriteByteArray(array, false);
     stream26_0.WriteInt(this.int_0);
     stream26_0.WriteInt(this.int_1);
     if (base.Nodes.Count != 0)
     {
         stream26_0.WriteInt((int)stream26_0.Position + 8);
         stream26_0.WriteInt(0);
         stream26_0.WriteString(this.method_7(), stream26_0._reverseEndianness);
         stream26_0.WriteNBytes(0, 2);
         stream26_0.WriteNBytes(0, AbstractTreeNode1.smethod_0(stream26_0.Position));
         return;
     }
     stream26_0.WriteNBytes(0, 8);
 }
예제 #14
0
        public override void vmethod_14(Stream26 stream26_0)
        {
            if (this.vmethod_8())
            {
                byte[] array = new byte[4];
                array[1] = 1;
                array[2] = 4;
                stream26_0.WriteByteArray(array, false);
            }
            else
            {
                byte[] array2 = new byte[4];
                array2[1] = (this.vmethod_7() ? (byte)132 : (byte)9);
                stream26_0.WriteByteArray(array2, false);
            }
            stream26_0.WriteInt(this.int_0);
            int int_ = (int)stream26_0.Position + 4;

            if (base.Nodes.Count != 0)
            {
                stream26_0.WriteInt((int)stream26_0.Position + 8);
                stream26_0.WriteInt(0);
                stream26_0.WriteString(this.method_8(), stream26_0._reverseEndianness);
                stream26_0.WriteNBytes(0, 2);
                stream26_0.WriteNBytes(0, AbstractTreeNode1.smethod_0(stream26_0.Position));
            }
            else
            {
                stream26_0.WriteInt(0);
            }
            int num = (int)stream26_0.Position;

            if (base.method_1().Nodes.IndexOf(this) < base.method_1().Nodes.Count - 1)
            {
                stream26_0.WriteIntAt(int_, num);
            }
            else
            {
                stream26_0.WriteIntAt(int_, 0);
            }
            stream26_0.Position = (long)num;
        }
예제 #15
0
 public ZzGenericNode1(string string0, AbstractTreeNode1 class2590)
 {
     Text = KeyGenerator.GetFileName(string0);
     Nodes.Add(class2590);
 }
예제 #16
0
 public zzGenericNode1(string string_0, AbstractTreeNode1 class259_0)
 {
     base.Text = KeyGenerator.GetFileName(string_0);
     base.Nodes.Add(class259_0);
 }
예제 #17
0
 public zzGenericNode1(string string_0, AbstractTreeNode1 class259_0)
 {
     base.Text = KeyGenerator.GetFileName(string_0);
     base.Nodes.Add(class259_0);
 }