Lua API
On this page

Train_TrainAttribute_C2S

Inherits from

Spend XP to raise an attribute.

Fields:

Experience number

The amount of XP being spent

Type AttributeId

The ID of the attribute

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