Exemplo 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);
         }
     }
 }
Exemplo n.º 2
0
 public SectionGroup()
 {
     DetailLevels = DetailLevelFlags.L1 | DetailLevelFlags.L2 | DetailLevelFlags.L3 | DetailLevelFlags.L4 | DetailLevelFlags.L5 | DetailLevelFlags.L6;
 }