public InventoryPocket GetPocket(Pocket pocket) { InventoryPocket result; lock (_pockets) _pockets.TryGetValue(pocket, out result); return result; } }