bool UInventorySystems::AreEmptySlotsLeft(UPARAM(ref) const TArray<FItemSlotData>& Inventory)

{

for (FItemSlotData Slot : Inventory)

{

if (Slot.ItemAmounts == 0) return true;

}

return false;

}


ㅇㅇ

TArray가 벡터같은건데 어떻게하면 반복자 좆까고 저렇게 할수있냐