| 770 | } |
| 771 | |
| 772 | Maybe<InventorySlot> PlayerInventory::secondaryHeldSlot() const { |
| 773 | if (m_swapSlot || itemSafeTwoHanded(primaryHeldItem())) |
| 774 | return {}; |
| 775 | if (m_selectedActionBar.is<CustomBarIndex>()) |
| 776 | return customBarSecondarySlot(m_selectedActionBar.get<CustomBarIndex>()); |
| 777 | return {}; |
| 778 | } |
| 779 | |
| 780 | List<ItemPtr> PlayerInventory::pullOverflow() { |
| 781 | return std::move(m_inventoryLoadOverflow); |
no test coverage detected