Events
Events
Section titled “Events”Register with client.set_event_callback(name, fn).
match_start
Section titled “match_start”No fields.
match_end
Section titled “match_end”| Key | Description |
|---|---|
| known | Whether the outcome is known. |
| won | Whether you won. |
| quit | Whether the match was quit. |
| player_score | Your goals. |
| opponent_score | Their goals. |
turn_start
Section titled “turn_start”| Key | Description |
|---|---|
| ours | Whether it is our turn. |
shot_fired
Section titled “shot_fired”| Key | Description |
|---|---|
| ours | Whether we took it. |
| angle | Aim angle. |
| power | Power. |
goal_scored
Section titled “goal_scored”| Key | Description |
|---|---|
| ours | Whether we scored. |
| player_score | Your goals. |
| opponent_score | Their goals. |
queue_phase
Section titled “queue_phase”| Key | Description |
|---|---|
| phase | The queue phase as an integer. |