Anvil
Anvil.API.Events.ModuleEvents.OnPlayerUnequipItem Class Reference

Triggered just before a NwCreature un-equips an NwItem. More...

+ Inheritance diagram for Anvil.API.Events.ModuleEvents.OnPlayerUnequipItem:
+ Collaboration diagram for Anvil.API.Events.ModuleEvents.OnPlayerUnequipItem:

Properties

NwItem Item = NWScript.GetPCItemLastUnequipped().ToNwObject<NwItem>()! [get]
 Gets the NwItem that was last unequipped. More...
 
InventorySlot Slot = (InventorySlot)NWScript.GetPCItemLastUnequippedSlot() [get]
 Gets the slot that this item was taken from. More...
 
NwCreature UnequippedBy = NWScript.GetPCItemLastUnequippedBy().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that triggered the event. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered just before a NwCreature un-equips an NwItem.

Property Documentation

◆ Item

NwItem Anvil.API.Events.ModuleEvents.OnPlayerUnequipItem.Item = NWScript.GetPCItemLastUnequipped().ToNwObject<NwItem>()!
get

Gets the NwItem that was last unequipped.

◆ Slot

InventorySlot Anvil.API.Events.ModuleEvents.OnPlayerUnequipItem.Slot = (InventorySlot)NWScript.GetPCItemLastUnequippedSlot()
get

Gets the slot that this item was taken from.

◆ UnequippedBy

NwCreature Anvil.API.Events.ModuleEvents.OnPlayerUnequipItem.UnequippedBy = NWScript.GetPCItemLastUnequippedBy().ToNwObject<NwCreature>()!
get

Gets the NwCreature that triggered the event.


The documentation for this class was generated from the following file: