Example #1
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;
     }
 }
Example #2
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();
 }
Example #3
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);
     }
 }