Method GetItemInSlot
GetItemInSlot(InventorySlot)
Gets the item that is equipped in the specified inventory slot.
public NwItem? GetItemInSlot(InventorySlot slot)
Parameters
slotInventorySlotThe inventory slot to check.
Returns
- NwItem
The item in the inventory slot, otherwise null if it is unpopulated.