Alchemy
Loading...
Searching...
No Matches

BattleEventQueue Struct Reference

The battle event queue: up to 64 events, each an opcode (enum BattleEventOpcode) and one operand, in the order they play. More...

#include <battle/battle_event.h>

Data Fields

u8 opcodes [BATTLE_EVENT_CAPACITY]
u32 operands [BATTLE_EVENT_CAPACITY]
s32 targetIndex
 the plan's next target to resolve
s32 count
 events queued

Detailed Description

The battle event queue: up to 64 events, each an opcode (enum BattleEventOpcode) and one operand, in the order they play.

Definition at line 25 of file battle_event.h.

Field Documentation

◆ opcodes

u8 BattleEventQueue::opcodes[BATTLE_EVENT_CAPACITY]

Definition at line 26 of file battle_event.h.

Referenced by BattleEv_DispatchQueued(), BattleEvent_Playback(), and BattleEvPush().

◆ operands

u32 BattleEventQueue::operands[BATTLE_EVENT_CAPACITY]

Definition at line 27 of file battle_event.h.

Referenced by BattleEv_DispatchQueued(), BattleEvent_Playback(), and BattleEvPush().

◆ targetIndex

s32 BattleEventQueue::targetIndex

the plan's next target to resolve

Definition at line 28 of file battle_event.h.

Referenced by BattleEvent_Playback(), and BattleEventRuntime_Reset().

◆ count

s32 BattleEventQueue::count