Anvil
Anvil.API.Events.OnEffectApply Class Reference

Called when an effect is about to be applied to a creature. More...

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

Classes

class  Factory
 

Properties

Effect Effect = null! [get]
 Gets the effect being applied. More...
 
NwObject Object = null! [get]
 Gets the object that the effect is being applied to. More...
 
bool PreventApply [get, set]
 Gets or sets whether this effect should be prevented from being applied. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when an effect is about to be applied to a creature.

Property Documentation

◆ Effect

Effect Anvil.API.Events.OnEffectApply.Effect = null!
get

Gets the effect being applied.

◆ Object

NwObject Anvil.API.Events.OnEffectApply.Object = null!
get

Gets the object that the effect is being applied to.

◆ PreventApply

bool Anvil.API.Events.OnEffectApply.PreventApply
getset

Gets or sets whether this effect should be prevented from being applied.


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