Exemple #1
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;
 }