Anvil
Loading...
Searching...
No Matches
Anvil.API.Events.ModuleEvents.OnUnacquireItem Class Referencesealed

Triggered when a NwItem is removed from a NwCreature's inventory.
This event is also fired when an item stack is destroyed when combining with another item stack. More...

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

Properties

NwItemItem = NWScript.GetModuleItemLost().ToNwObject<NwItem>() [get]
 Gets the NwItem that was lost by NwCreature.
This property is null when an item stack is destroyed when combining with another item stack.
 
NwCreature LostBy = NWScript.GetModuleItemLostBy().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that lost the NwItem.
 
- Properties inherited from Anvil.API.Events.IEvent

Detailed Description

Triggered when a NwItem is removed from a NwCreature's inventory.
This event is also fired when an item stack is destroyed when combining with another item stack.


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