struct BATTLE_LINK_HEADER
The header a link battle sends before its actions: how many, the next random number to check the consoles agree, and the parent's seed for the turn.
Declared in battle_turn.c.
Fields
| Name | Description | |
|---|---|---|
Sint32 | count | actions that follow the header |
Sint32 | check | the parent's next gmBattleRandomStub; the child checks its own |
Sint32 | seed | the parent's RandWork, the turn's battle seed |
Uint8 | unused [28] | padding; a header packet carries only the first 20 bytes |
Description
The header a link battle sends before its actions: how many, the next random number to check the consoles agree, and the parent's seed for the turn.
struct BATTLE_LINK_HEADER
Referenced by btAppendLinkedActions().
Definition at line 387 of file battle_turn.c.
Fields in detail
count
Sint32 count
actions that follow the header
check
Sint32 check
the parent's next gmBattleRandomStub; the child checks
its own
seed
Sint32 seed
the parent's RandWork, the turn's battle seed
unused
Uint8 unused[28]
padding; a header packet carries only the first 20 bytes