character_action

character_action

Back-to:Characters

The `character_action` table

Contains all the individual button data for each character. A button is any of the places in the GUI where you can place for example a spell, item, or macro as a shortcut.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid

int(10)

unsigned

PRI

NO

0

 

 

spec

tinyint(3)

unsigned

PRI

NO

0

 

 

button

tinyint(3)

unsigned

PRI

NO

0

 

 

action

int(10)

unsigned

 

NO

0

 

 

type

tinyint(3)

unsigned

 

NO

0

 

 

Description of the fields

guid

The GUID of the character. See characters.guid

spec

spec = 0 is the first spec, spec = 1 is the second spec.

button

The ID of the button on the action bar where the action icon will be placed.

Special bars are used for stances, auras, pets, stealth, and other similar special modes.

action

Depending on the type value, this could be either the spell ID (Spell.dbc), the item ID or macro ID.

type

The type of action: