Esempio n. 1
0
 public uint GetLumpType()
 {
     AttributeStruct attr;
     if (!GetItemAttribute(ItemPtr, PackageAttribute.WADItemType, out attr))
     {
         throw new Exception("Error reading lump type");
     }
     var a = new Attribute(attr);
     return a.GetUInt();
 }