Anvil
Anvil.API.Events.OnItemUnequip Class Reference

Called when a creature attempts to unequip an item. More...

+ Inheritance diagram for Anvil.API.Events.OnItemUnequip:
+ Collaboration diagram for Anvil.API.Events.OnItemUnequip:

Classes

class  Factory
 

Properties

NwCreature Creature = null! [get]
 Gets the creature who is uneqipping an item. More...
 
NwItem Item = null! [get]
 Gets the item being unequipped. More...
 
bool PreventUnequip [get, set]
 Gets or sets whether this item should be prevented from being unequipped. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when a creature attempts to unequip an item.

Property Documentation

◆ Creature

NwCreature Anvil.API.Events.OnItemUnequip.Creature = null!
get

Gets the creature who is uneqipping an item.

◆ Item

NwItem Anvil.API.Events.OnItemUnequip.Item = null!
get

Gets the item being unequipped.

◆ PreventUnequip

bool Anvil.API.Events.OnItemUnequip.PreventUnequip
getset

Gets or sets whether this item should be prevented from being unequipped.


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