Anvil
Loading...
Searching...
No Matches
Anvil.API.Events.TrapEvent Class Referenceabstract
+ Inheritance diagram for Anvil.API.Events.TrapEvent:
+ Collaboration diagram for Anvil.API.Events.TrapEvent:

Properties

NwCreature Creature = null! [get]
 Gets the creature performing the trap action.
 
bool InRange [get]
 Gets if the creature is in range of the trap.
 
ActionState Result [get]
 Gets the result of this trap event. This value is only valid in the after event.
 
ActionState? ResultOverride [get, set]
 Gets or sets a value to override the trap action result, skipping the default game behaviour.
Supported values: ActionState.Complete, ActionState.Failed.
 
NwGameObject Trap = null! [get]
 Gets the target trap for this trap event.
 
- Properties inherited from Anvil.API.Events.IEvent

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