Exemple #1
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] = this.vmethod_16();
     stream26_0.WriteByteArray(array, false);
     stream26_0.WriteInt(this.int_0);
     stream26_0.WriteInt(this.int_1);
     if (base.Nodes.Count != 0)
     {
         IEnumerator enumerator = base.Nodes.GetEnumerator();
         try
         {
             while (enumerator.MoveNext())
             {
                 AbstractTreeNode2 @class = (AbstractTreeNode2)enumerator.Current;
                 stream26_0.WriteByteArray(@class.vmethod_8());
             }
             goto IL_97;
         }
         finally
         {
             IDisposable disposable = enumerator as IDisposable;
             if (disposable != null)
             {
                 disposable.Dispose();
             }
         }
     }
     stream26_0.WriteInt(0);
     IL_97:
     stream26_0.WriteInt(0);
 }
Exemple #2
0
 public override void vmethod_14(Stream26 stream26_0)
 {
     if (this.vmethod_8())
     {
         byte[] array = new byte[4];
         array[1] = 1;
         array[2] = (byte)(this.vmethod_15() - 128);
         stream26_0.WriteByteArray(array, false);
     }
     else
     {
         byte[] array2 = new byte[4];
         array2[1] = this.vmethod_15();
         stream26_0.WriteByteArray(array2, false);
     }
     stream26_0.WriteInt(this.int_0);
     stream26_0.WriteInt((base.Nodes.Count != 0) ? ((int)stream26_0.Position + 8) : 0);
     int int_ = (int)stream26_0.Position;
     stream26_0.WriteInt(0);
     foreach (AbstractTreeNode1 @class in base.Nodes)
     {
         @class.vmethod_14(stream26_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;
 }
Exemple #3
0
 public override void vmethod_14(Stream26 stream26_0)
 {
     byte[] array = new byte[4];
     array[1] = 1;
     array[2] = this.vmethod_15();
     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 int_ = (int)stream26_0.Position;
     List<int> list = new List<int>(base.Nodes.Count);
     stream26_0.WriteNBytes(0, 4 * base.Nodes.Count);
     foreach (AbstractTreeNode1 @class in base.Nodes)
     {
         list.Add((int)stream26_0.Position);
         @class.vmethod_14(stream26_0);
     }
     int num = (int)stream26_0.Position;
     stream26_0.WriteEnumerableIntsAt(int_, list);
     stream26_0.Position = (long)num;
 }
 public override void vmethod_14(Stream26 stream26_0)
 {
     this.vmethod_9(true);
     byte[] array = new byte[4];
     array[1] = 1;
     array[2] = 28;
     stream26_0.WriteByteArray(array, false);
     stream26_0.WriteInt(this.int_0);
     if (base.Nodes.Count != 0)
     {
         stream26_0.WriteInt(this.method_9());
         if (this.method_8() != null)
         {
             this.vmethod_10()[this.method_9()] = this.method_8();
         }
     }
     else
     {
         stream26_0.WriteInt(0);
     }
     if (base.method_1().Nodes.IndexOf(this) < base.method_1().Nodes.Count - 1)
     {
         stream26_0.WriteInt((int)stream26_0.Position + 4);
         return;
     }
     stream26_0.WriteInt(0);
 }
Exemple #5
0
 public override void vmethod_14(Stream26 stream26_0)
 {
     if (this.vmethod_8())
     {
         byte[] array = new byte[4];
         array[1] = 1;
         array[2] = (byte)(this.vmethod_15() - 128);
         stream26_0.WriteByteArray(array, false);
     }
     else
     {
         byte[] array2 = new byte[4];
         array2[1] = this.vmethod_15();
         stream26_0.WriteByteArray(array2, false);
     }
     stream26_0.WriteInt(this.int_0);
     if (base.Nodes.Count != 0)
     {
         IEnumerator enumerator = base.Nodes.GetEnumerator();
         try
         {
             while (enumerator.MoveNext())
             {
                 AbstractTreeNode2 @class = (AbstractTreeNode2)enumerator.Current;
                 stream26_0.WriteByteArray(@class.vmethod_8());
             }
             goto IL_AA;
         }
         finally
         {
             IDisposable disposable = enumerator as IDisposable;
             if (disposable != null)
             {
                 disposable.Dispose();
             }
         }
     }
     stream26_0.WriteInt(0);
     IL_AA:
     if (base.method_1().Nodes.IndexOf(this) < base.method_1().Nodes.Count - 1)
     {
         stream26_0.WriteInt((int)stream26_0.Position + 4);
         return;
     }
     stream26_0.WriteInt(0);
 }
 public override void vmethod_14(Stream26 stream26_0)
 {
     byte[] array = new byte[4];
     array[1] = (byte)(this.vmethod_7() ? 32 : 4);
     array[2] = 7;
     stream26_0.WriteByteArray(array, false);
     stream26_0.WriteInt(this.int_0);
     stream26_0.WriteInt(this.int_1);
     stream26_0.WriteInt((base.Nodes.Count != 0) ? ((int)stream26_0.Position + 8) : 0);
     stream26_0.WriteInt(0);
     foreach (AbstractTreeNode1 @class in base.Nodes)
     {
         @class.vmethod_14(stream26_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] = 3;
     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.WriteByte2(0);
         stream26_0.WriteNBytes(0, AbstractTreeNode1.smethod_0(stream26_0.Position));
         return;
     }
     stream26_0.WriteNBytes(0, 8);
 }
Exemple #8
0
 public override void vmethod_14(Stream26 stream26_0)
 {
     this.vmethod_9(true);
     byte[] array = new byte[4];
     array[1] = (this.vmethod_7() ? (byte)32 : (byte)4);
     array[2] = 28;
     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(this.method_8());
         if (this.method_7() != null)
         {
             this.vmethod_10()[this.method_8()] = this.method_7();
         }
     }
     else
     {
         stream26_0.WriteInt(0);
     }
     stream26_0.WriteInt(0);
 }
 public void method_10(Stream26 stream26_0)
 {
     stream26_0.WriteByteArray(this.byte_0, false);
     this.vmethod_14(stream26_0);
     stream26_0.WriteIntAt(4, (int)stream26_0.Length);
     stream26_0.Position = stream26_0.Length;
 }
 public override void vmethod_14(Stream26 stream26_0)
 {
     if (this.vmethod_8())
     {
         byte[] array = new byte[4];
         array[1] = 1;
         array[2] = 3;
         stream26_0.WriteByteArray(array, false);
     }
     else
     {
         byte[] array2 = new byte[4];
         array2[1] = (byte)(this.vmethod_7() ? 131 : 7);
         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.WriteByte2(0);
         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;
 }
Exemple #11
0
 public override void vmethod_14(Stream26 stream26_0)
 {
     stream26_0.WriteInt(this.int_0);
     stream26_0.WriteInt(this.byte_0.Length);
     byte[] array = new Class320().method_0(this.byte_0);
     if (this.byte_0.Length <= array.Length)
     {
         array = this.byte_0;
     }
     stream26_0.WriteInt(array.Length);
     stream26_0.WriteByteArray(array, false);
     stream26_0.WriteNBytes(0, AbstractTreeNode1.smethod_0(stream26_0.Position));
 }