Method RunEquip
RunEquip(NwItem, InventorySlot)
Instruct this creature to instantly equip the specified item.
public bool RunEquip(NwItem item, InventorySlot inventorySlot)
Parameters
itemNwItemThe item to equip.
inventorySlotInventorySlotThe inventory slot to equip the item to.
Returns
- bool
True if the item was successfully equipped, otherwise false.
Exceptions
- ArgumentNullException
Item is null.
RunEquip(NwItem, EquipmentSlots)
Instruct this creature to instantly equip the specified item.
public bool RunEquip(NwItem item, EquipmentSlots equipmentSlot)
Parameters
itemNwItemThe item to equip.
equipmentSlotEquipmentSlotsThe equipment slot to equip the item to.
Returns
- bool
True if the item was successfully equipped, otherwise false.
Exceptions
- ArgumentNullException
Item is null.