Skip to content

ActionBarLayoutEntry ​

Inherits: Resource

One planned slot of the action bar of a player class: the ability that belongs on a slot, and whether the player may change that slot. The ability does not have to be known yet: the slot waits for it, and the ability goes there the moment it is learned (a level, a quest, a trainer, a skill tree).

Properties ​

intslot_number1
intability_id0
boollockedfalse

Methods ​

Stringdescribe()

Property descriptions ​

int slot_number = 1 ​

The slot (1 is the first)

int ability_id = 0 ​

The ability that belongs on the slot. 0 = the slot stays empty (with the lock, a slot the player cannot use)

bool locked = false ​

The player cannot put anything on this slot or take anything off it. A locked slot keeps its plan: if its ability is forgotten and learned again it goes back

Method descriptions ​

String describe() ​

A short text for the editor: the ability on the slot, and whether the slot is locked.