Ejemplo n.º 1
0
 private void doSortContainer(IMyTerminalBlock Block, Dictionary <string, List <IMyTerminalBlock> > targets)
 {
     debug("         Inventory Count: " + Block.GetInventoryCount().ToString());
     for (int i_Inventory = 0; i_Inventory < Block.GetInventoryCount(); i_Inventory++)
     {
         debug("             Start Sorting Inventory " + (i_Inventory + 1).ToString() + " of " + Block.CustomName);
         doSortInventory(Block, Block.GetInventory(i_Inventory), targets);
         debug("             End Sorting Inventory " + (i_Inventory + 1).ToString() + " of " + Block.CustomName);
     }
 }