Lua API
On this page

ACQualities

Inherits from

The ACQualities structure contains character property lists.

Fields:

AttributeCache AttributeCache

The character attributes

BaseQualities ACBaseQualities

Contains basic data types (int, float bool, etc.)

Body Body

Enchantments EnchantmentRegistry

The enchantments active on the character

EventFilter EventFilter

Some kind of event filter

Flags number

determines which property vector types appear in the message

HasHealth boolean

seems to indicate this object has health attribute

SpellBook SpellBook

Spells in the characters spellbook

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