Lua API
On this page
EnchantmentsChangedEventArgs
Info
For more information about events, see the Using Events section of the scripting docs.
This event args class is used by the following events:
Fields:
Enchantment Enchantment
read only
Enchantment information
LayeredSpellId LayeredSpellId
read only
The layered id of the spell for this enchantment
Type AddRemoveEventType
read only
Wether the enchantment was added or removed
Methods:
GetPropertyKeys() : string[]
Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts
Returns:string[]
ToString() : string
Returns a string that represents the current object.
Returns:string