Alchemy
Loading...
Searching...
No Matches

OwnerActionSlot Struct Reference

An entry in a unit's action list: the action's id (OWNER_ACTION_ID_MASK) and marks for an action its class or an equipped item gave. More...

#include <battle/battle_unit.h>

Data Fields

u16 encodedAction
 bits: 15 from the class | 14 from an equipped item | 13..0 action id.
u16 unk02
 Not named by any TBS code.

Detailed Description

An entry in a unit's action list: the action's id (OWNER_ACTION_ID_MASK) and marks for an action its class or an equipped item gave.

Definition at line 19 of file battle_unit.h.

Field Documentation

◆ encodedAction

u16 OwnerActionSlot::encodedAction

bits: 15 from the class | 14 from an equipped item | 13..0 action id.

Entries with neither mark were taught for good; 0 is empty.

Definition at line 22 of file battle_unit.h.

Referenced by Battle_AwardSpoils(), Battle_CollectPartyCommands(), DjinnMenu_ListChangedDjinn(), Menu_DrawOwnerStatusPanel(), OwnerAction_DiffSlots(), Party_ListPsynergy(), PsynergyMenu_CollectActions(), Unit_KnowsAction(), and Unit_LearnPsynergy().

◆ unk02

u16 OwnerActionSlot::unk02

Not named by any TBS code.

Definition at line 23 of file battle_unit.h.