Anvil
Anvil.API.Events.OnItemScrollLearn Class Reference

Called when a creature is about to learn a spell from a scroll. More...

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

Classes

class  Factory
 

Properties

NwCreature Creature = null! [get]
 Gets the creature learning the scroll. More...
 
bool PreventLearnScroll [get, set]
 Gets or sets whether this scroll should be prevented from being learned. More...
 
NwItem Scroll = null! [get]
 Gets the scroll that is being learnt. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when a creature is about to learn a spell from a scroll.

Property Documentation

◆ Creature

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

Gets the creature learning the scroll.

◆ PreventLearnScroll

bool Anvil.API.Events.OnItemScrollLearn.PreventLearnScroll
getset

Gets or sets whether this scroll should be prevented from being learned.

◆ Scroll

NwItem Anvil.API.Events.OnItemScrollLearn.Scroll = null!
get

Gets the scroll that is being learnt.


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