BoofState type represents the complete state of the tournament overlay, including all game information, player data, and real-time Slippi connection status.
Type Definition
Fields
Tournament information including name, match identifier, phase, and best-of format
Player 1 data including name, sponsor, score, character, and metadata
Player 2 data including name, sponsor, score, character, and metadata
Array of commentators for the current match. Each commentator has:
id(number) - Unique identifiername(string) - Display namesponsor(string) - Team/sponsor tagpronouns(string) - Preferred pronounstwitter(string) - Twitter handle
The currently active set from start.gg, if available
The last recorded score for player 1
The last recorded score for player 2
Whether the tournament stream has started
Real-time Slippi game data including port assignments, characters, stocks, stage, and game results history. See the Slippi type fields below for full details.
Whether the Slippi connection is currently active
Whether the OBS WebSocket connection is currently active
Slippi Type
TheSlippi type contains real-time game data from the Slippi connection:
Controller port for the first detected player (1-4)
Controller port for the second detected player (1-4)
Character ID for port 1 player
Character ID for port 2 player
Costume color for port 1 player
Costume color for port 2 player
Remaining stocks for port 1 player in current game
Remaining stocks for port 2 player in current game
Whether player 1 is on port 1 (undefined until port matching is done)
Array of completed games in the set, each containing stage, winner, characters, stocks remaining, and duration
Unix timestamp when the current game started
Current stage ID (see Character enum for all stage IDs)