IEnchantmentEffectApplication
An interface in Root.Township, Alta.Enchantments.
Runtime part of an EnchantmentEffect on one item. Run when the enchantment's trigger fires.
- Listed in Crafting and making
- Derived types
EnchantmentEffectApplication<T>
Properties
| Member | What it is |
|---|---|
EnchantmentApplication EnchantmentApp { get; } | The enchantment this effect belongs to. |
EnchantmentEffect Settings { get; } | The effect asset. |
Methods
| Member | What it is |
|---|---|
void Invoke(object data) | Runs the effect with the trigger's data. The base version plays and syncs hit effects for a tool hit. |
void SendMessage(Stream stream) | Writes or reads the effect's sync data, such as the hit position. |
Used in
Members of other types that take, return or hold a IEnchantmentEffectApplication: