• Returns a handle to item in slot number itemSlot of the specified unit.

    Returns null otherwise: when there's no item in slot, no slot (less than 6 slots), invalid slot number, invalid unit.

    Parameters

    • whichUnit: Unit<UnitEventMap>

      Target unit.

    • itemSlot: number

      Slot number (zero-based, i.e. 0 to 5).

    Returns Item

Generated using TypeDoc