struct BATTLE_PLAYBACK_QUEUE
The playback queue: up to BATTLE_PLAYBACK_CAPACITY commands, each an opcode (BATTLE_PLAYBACK_COMMAND) and one operand, in the order they play. More…
Declared in playback_queue.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | opcodes [BATTLE_PLAYBACK_CAPACITY] | BATTLE_PLAYBACK_COMMAND |
Uint32 | operands [BATTLE_PLAYBACK_CAPACITY] | unit/item/ability id, number, message, or sound |
Sint32 | targetIndex | the plan's next target to resolve |
Sint32 | count | commands queued |
Description
The playback queue: up to BATTLE_PLAYBACK_CAPACITY commands, each an opcode
(BATTLE_PLAYBACK_COMMAND) and one operand, in the order they play. It lives
in BATTLE_STATE.playback.queue: btPlaybackPush appends to it and playback
reads it.
struct BATTLE_PLAYBACK_QUEUE
Referenced by btPlaybackPush() and btPlaybackRunAll().
Definition at line 34 of file playback_queue.h.
Fields in detail
opcodes
Uint8 opcodes[BATTLE_PLAYBACK_CAPACITY]
operands
Uint32 operands[BATTLE_PLAYBACK_CAPACITY]
unit/item/ability id, number, message, or sound
targetIndex
Sint32 targetIndex
the plan's next target to resolve
count
Sint32 count
commands queued