Ejemplo n.º 1
0
 public SectionGroup(Stream stream)
 {
     BinaryReader br = new BinaryReader(stream);
     DetailLevels = (DetailLevelFlags)br.ReadInt32();
     int Count = br.ReadInt32();
     if (Count > 0)
     {
         int Offset = br.ReadInt32();
         CompoundNodes = new CompoundNode[Count];
         for (int i = 0; i < CompoundNodes.Length; i++)
         {
             stream.Position = Offset + (i * CompoundNode.Size);
             CompoundNodes[i] = new CompoundNode(stream);
         }
     }
 }