Public Attributes |
| char | header [SPL_HEADER_SIZE] |
| | header to identify the structure
|
| uint32_t | version |
| | version of the data structure
|
| uint8_t | players_per_team |
| | The number of players on a team.
|
| uint8_t | state |
| | state of the game (STATE_READY, STATE_PLAYING, etc.)
|
| uint8_t | first_half |
| | 1 = game in first half, 0 otherwise
|
| uint8_t | kick_off_team |
| | the next team to kick off
|
| uint8_t | secondary_state |
| | Extra state information - (STATE2_NORMAL, STATE2_PENALTYSHOOT, etc)
|
| uint8_t | drop_in_team |
| | team that caused last drop in
|
| uint16_t | drop_in_time |
| | number of seconds passed since the last drop in.
|
| uint32_t | secs_remaining |
| | estimate of number of seconds remaining in the half
|
| spl_teaminfo_t | teams [2] |
| | Info about the teams.
|
| uint16_t | drop_on_time |
| | number of seconds passed since the last drop in.
|
SPL RefBox protocol game control struct.
Definition at line 63 of file spl.h.
| uint8_t spl_gamecontrol_t::state |
state of the game (STATE_READY, STATE_PLAYING, etc.)
state of the game (STATE_READY, STATE_PLAYING, etc)
Definition at line 67 of file spl.h.