コード例 #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;
     }
 }
コード例 #2
0
ファイル: Class324.cs プロジェクト: ExileLord/Open-GHTCP
 public virtual void vmethod_0(Stream26 stream26_0)
 {
     this.byte_0 = stream26_0.ReadByte2();
     if (this.byte_0 != 10)
     {
         throw new Exception(string.Concat(new object[]
         {
             "Unknown : ",
             this.byte_0,
             " at position : ",
             stream26_0.Position
         }));
     }
     this.int_0 = new int[]
     {
         stream26_0.ReadInt()
     };
     while (stream26_0.Length > stream26_0.Position)
     {
         int num = (int)stream26_0.ReadByte2();
         if (num == 10)
         {
             stream26_0.Position -= 1L;
             Class324 @class = new Class324();
             @class.vmethod_0(stream26_0);
             this.list_0.Add(@class);
         }
         else
         {
             if (num == 0)
             {
                 break;
             }
             stream26_0.Position -= 1L;
             zzStreamClass325 class2 = new zzStreamClass325();
             class2.vmethod_0(stream26_0);
             this.list_0.Add(class2);
         }
     }
 }