4606 {
4607 bool occupiedException = occupiedSlot == InventorySlots.HANDS || occupiedSlot == InventorySlots.SHOULDER || occupiedSlot == InventorySlots.MELEE || occupiedSlot == InventorySlots.LEFTHAND;
4608 bool targetException = targetSlot == InventorySlots.HANDS || targetSlot == InventorySlots.SHOULDER || targetSlot == InventorySlots.MELEE || targetSlot == InventorySlots.LEFTHAND;
4609
4610 if (occupiedException)
4611 {
4612 adjustedValue = value;
4613 return false;
4614 }
4615
4616 if (targetException)
4617 {
4618 adjustedValue = null;
4619 return false;
4620 }
4621
4623 return adjustedValue.Count() != 0;
4624 }
void AdjustExclusionAccessCondition(int occupiedSlot, int testedSlot, set< int > value, inout set< int > adjustedValue)
if we want to filter