Skip to content

Events

Register with client.set_event_callback(name, fn).

No fields.

Key Description
known Whether the outcome is known.
won Whether you won.
quit Whether the match was quit.
coins Coin delta.
Key Description
ours Whether it is our turn.

Fired when a shot is taken.

Key Description
ours Whether it was our puck.
number Puck number.
pocket Pocket index.
Key Description
phase The queue phase as an integer.