Exemplo n.º 1
0
 public override void vmethod_13(Stream26 stream26_0)
 {
     base.Nodes.Add(new FloatValueNode(stream26_0.ReadFloat()));
     base.Nodes.Add(new FloatValueNode(stream26_0.ReadFloat()));
     if (base.method_1() is VectorArrayNode || base.method_1() is VectorPointerRootNode || base.method_1() is VectorPointerNode)
     {
         base.Nodes.Add(new FloatValueNode(stream26_0.ReadFloat()));
     }
     base.method_1().BackColor = Color.Gray;
 }
Exemplo n.º 2
0
 public override void vmethod_13(Stream26 stream260)
 {
     Nodes.Add(new FloatValueNode(stream260.ReadFloat()));
     Nodes.Add(new FloatValueNode(stream260.ReadFloat()));
     if (method_1() is VectorArrayNode || method_1() is VectorPointerRootNode || method_1() is VectorPointerNode)
     {
         Nodes.Add(new FloatValueNode(stream260.ReadFloat()));
     }
     method_1().BackColor = Color.Gray;
 }
Exemplo n.º 3
0
        public override void vmethod_13(Stream26 stream260)
        {
            Int0 = stream260.ReadInt();
            if (this is FloatStructureNode)
            {
                Nodes.Add(new FloatValueNode(stream260.ReadFloat()));
            }
            else if (this is IntegerStructureNode)
            {
                Nodes.Add(new IntegerValueNode(stream260.ReadInt()));
            }
            else if (this is TagStructureNode || this is FileTagStructureNode)
            {
                Nodes.Add(new TagValueNode(stream260.ReadInt()));
            }
            var num = stream260.ReadInt();

            if (num != 0)
            {
                var @class = (Parent is StructureHeaderNode)
                    ? (Parent as StructureHeaderNode).method_11(stream260.ReadIntAt(num))
                    : vmethod_12(stream260.ReadIntAt(num, true));
                method_1().Nodes.Add(@class);
                @class.method_4(stream260);
            }
        }
Exemplo n.º 4
0
        public override void vmethod_0(Stream26 stream26_0)
        {
            this.byte_0 = stream26_0.ReadByte2();
            this.int_0  = new int[]
            {
                stream26_0.ReadInt()
            };
            byte byte_ = this.byte_0;

            switch (byte_)
            {
            case 1:
                this.object_0 = stream26_0.ReadInt();
                return;

            case 2:
                this.object_0 = stream26_0.ReadFloat();
                return;

            case 3:
                break;

            case 4:
                this.object_0 = stream26_0.ReadUnicodeString();
                return;

            default:
                switch (byte_)
                {
                case 13:
                    this.int_0 = new int[]
                    {
                        this.int_0[0],
                        stream26_0.ReadInt()
                    };
                    return;

                case 14:
                case 16:
                    this.object_0 = stream26_0.ReadByte2();
                    return;

                case 15:
                    break;

                case 17:
                    this.object_0 = stream26_0.ReadShort();
                    break;

                default:
                    return;
                }
                break;
            }
        }
Exemplo n.º 5
0
        public override void vmethod_0(Stream26 stream260)
        {
            Byte0 = stream260.ReadByte2();
            Int0  = new[]
            {
                stream260.ReadInt()
            };
            var byte_ = Byte0;

            switch (byte_)
            {
            case 1:
                Object0 = stream260.ReadInt();
                return;

            case 2:
                Object0 = stream260.ReadFloat();
                return;

            case 3:
                break;

            case 4:
                Object0 = stream260.ReadUnicodeString();
                return;

            default:
                switch (byte_)
                {
                case 13:
                    Int0 = new[]
                    {
                        Int0[0],
                        stream260.ReadInt()
                    };
                    return;

                case 14:
                case 16:
                    Object0 = stream260.ReadByte2();
                    return;

                case 15:
                    break;

                case 17:
                    Object0 = stream260.ReadShort();
                    break;

                default:
                    return;
                }
                break;
            }
        }
Exemplo n.º 6
0
 public override void vmethod_13(Stream26 stream26_0)
 {
     this.int_0 = stream26_0.ReadInt();
     this.int_1 = stream26_0.ReadInt();
     if (this is FloatRootNode)
     {
         base.Nodes.Add(new FloatValueNode(stream26_0.ReadFloat()));
     }
     else if (this is IntegerRootNode)
     {
         base.Nodes.Add(new IntegerValueNode(stream26_0.ReadInt()));
     }
     else if (this is TagRootNode || this is FileTagRootNode)
     {
         base.Nodes.Add(new TagValueNode(stream26_0.ReadInt()));
     }
     stream26_0.ReadInt();
 }
Exemplo n.º 7
0
 public override void vmethod_13(Stream26 stream260)
 {
     Int0 = stream260.ReadInt();
     Int1 = stream260.ReadInt();
     if (this is FloatRootNode)
     {
         Nodes.Add(new FloatValueNode(stream260.ReadFloat()));
     }
     else if (this is IntegerRootNode)
     {
         Nodes.Add(new IntegerValueNode(stream260.ReadInt()));
     }
     else if (this is TagRootNode || this is FileTagRootNode)
     {
         Nodes.Add(new TagValueNode(stream260.ReadInt()));
     }
     stream260.ReadInt();
 }
Exemplo n.º 8
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            this.int_0 = stream26_0.ReadInt();
            if (this is FloatStructureNode)
            {
                base.Nodes.Add(new FloatValueNode(stream26_0.ReadFloat()));
            }
            else if (this is IntegerStructureNode)
            {
                base.Nodes.Add(new IntegerValueNode(stream26_0.ReadInt()));
            }
            else if (this is TagStructureNode || this is FileTagStructureNode)
            {
                base.Nodes.Add(new TagValueNode(stream26_0.ReadInt()));
            }
            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);
            }
        }
Exemplo n.º 9
0
        public override void vmethod_13(Stream26 stream26_0)
        {
            int num = stream26_0.ReadInt();

            if (num == 0)
            {
                return;
            }
            if (num > 1)
            {
                stream26_0.Position = (long)stream26_0.ReadInt();
            }
            if (this is FloatArrayNode)
            {
                for (int i = 0; i < num; i++)
                {
                    base.Nodes.Add(new FloatValueNode(stream26_0.ReadFloat()));
                }
                return;
            }
            if (this is IntegerArrayNode)
            {
                for (int j = 0; j < num; j++)
                {
                    base.Nodes.Add(new IntegerValueNode(stream26_0.ReadInt()));
                }
                return;
            }
            if (this is TagArray || this is FileTagArrayNode)
            {
                for (int k = 0; k < num; k++)
                {
                    base.Nodes.Add(new TagValueNode(stream26_0.ReadInt()));
                }
            }
        }
Exemplo n.º 10
0
        public override void vmethod_13(Stream26 stream260)
        {
            var num = stream260.ReadInt();

            if (num == 0)
            {
                return;
            }
            if (num > 1)
            {
                stream260.Position = stream260.ReadInt();
            }
            if (this is FloatArrayNode)
            {
                for (var i = 0; i < num; i++)
                {
                    Nodes.Add(new FloatValueNode(stream260.ReadFloat()));
                }
                return;
            }
            if (this is IntegerArrayNode)
            {
                for (var j = 0; j < num; j++)
                {
                    Nodes.Add(new IntegerValueNode(stream260.ReadInt()));
                }
                return;
            }
            if (this is TagArray || this is FileTagArrayNode)
            {
                for (var k = 0; k < num; k++)
                {
                    Nodes.Add(new TagValueNode(stream260.ReadInt()));
                }
            }
        }