Esempio n. 1
0
 protected override void PopulateItems(ref Dictionary <ShipSlot, IModule> cache)
 {
     using (new FrameLock(true))
     {
         MyShip myShip = new MyShip();
         foreach (ShipSlot slot in ShipSlot.AllSlots)
         {
             IModule mod = myShip.Module(slot.SlotType, slot.SlotNumber);
             cache[slot] = mod;
         }
     }
 }