# Functions

AllGameEvents returns a list of all known game events.
GameEventDetailsFromProto converts a protobuf game event into internal details.
No description provided by the author
NewGameController creates a new GameController.
No description provided by the author
NewPublisher creates a new publisher that publishes referee messages via UDP to the teams.
NewState creates a new state, initialized for the start of a new game.
NewTeam creates a team from a protobuf team.

# Constants

CardOperationAdd add a card.
CardOperationModify modify a card.
CardOperationRevoke revoke a card.
CardTypeRed red card.
CardTypeYellow yellow card.
CommandBallPlacement BALL_PLACEMENT.
CommandDirect DIRECT.
CommandForceStart FORCE_START.
CommandHalt HALT.
CommandIndirect INDIRECT.
CommandKickoff KICKOFF.
CommandNormalStart NORMAL_START.
CommandPenalty PENALTY.
CommandStop STOP.
CommandTimeout TIMEOUT.
CommandUnknown not set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GameStateBallPlacement ball placement.
GameStateHalted halted.
GameStatePreKickoff kickoff.
GameStatePrePenalty penalty.
GameStateRunning running.
GameStateStopped stopped.
GameStateTimeout timeout.
StageEndGame ends the game.
StageFirstHalf in first half.
StageHalfTime in half time.
StageNext next stage.
StageOvertimeBreak in break to overtime.
StageOvertimeFirstHalf in first overtime half.
StageOvertimeFirstHalfPre before first overtime half.
StageOvertimeHalfTime in overtime half time.
StageOvertimeSecondHalf in second overtime half.
StageOvertimeSecondHalfPre before second overtime half.
StagePostGame after game ended.
StagePreGame before game has started.
StagePrevious previous stage.
StageSecondHalf in second half.
StageSecondHalfPre before second half.
StageShootout in Shootout.
StageShootoutBreak in break to shootout.
TeamBlue is the blue team.
TeamBoth are both teams.
TeamUnknown is an unknown team.
TeamYellow is the yellow team.
TriggerContinue continues based on the current game event.
TriggerResetMatch reset match.
TriggerSwitchColor switch color.
TriggerSwitchSides switch sides/goals (onPositiveHalf).
UiProtocolCard represents an issued card.
UiProtocolCommand represents an issued referee command.
UiProtocolGameEvent represents an issued game event.
UiProtocolGameEventIgnored represents a detected game event that was not issued.
UiProtocolGameEvent represents an issued game event.
UiProtocolHint represents a hint to the human game-controller operator.
UiProtocolModify represents a manual modification on the state.
UiProtocolStage represents a changed stage.
UiProtocolTeamAction represents an action from a team.
UiProtocolTime represents an elapsed time, like stage time or card time.

# Variables

GameEventBehaviors contain all known command enum constants.
GameStates contain all known command enum constants.
GameStates contain all known command enum constants.
Commands contain all known command enum constants.
Stages include all available stages, ordered.
Teams contain all known team enum constants.

# Structs

No description provided by the author
CardModification to apply to a card.
No description provided by the author
Event holds all possible events.
EventCard is an event that can be applied.
EventCommand is an event that can be applied.
EventModifyCardTime holds the duration for a certain yellow card duration.
EventModifyGameEventBehavior holds the type to behavior mapping.
EventModifyValue is an event that can be applied.
EventStage is an event that can be applied.
EventTrigger is an event that can be applied.
GameController controls a game.
No description provided by the author
GameEvent combines the type of a game event with the corresponding detail structures.
GameEventDetails holds details of a game event.
GameEventProposal holds a proposal for a game event from an autoRef.
Location is a two-dimensional coordinate.
No description provided by the author
No description provided by the author
ProtocolEntry represents a single protocol entry as should be displayed in the UI table.
Publisher can publish state and commands to the teams.
No description provided by the author
State of the game.
No description provided by the author
TeamChoice represents an outstanding team choice request.
TeamInfo about a team.

# Interfaces

No description provided by the author

# Type aliases

CardOperation on a card.
CardType is one of yellow or red.
No description provided by the author
No description provided by the author
GameState of a game.
RefCommand is a command to be send to the teams.
Stage represents the different stages of a game.
StageOperation to apply on the current stage.
Team is one of Yellow or Blue.
TriggerType is something that can be triggered.
UiProtocolType represents the type of a protocol entry.