We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2545a44 commit 6276a50Copy full SHA for 6276a50
src/engine/protocol/ServerToClient.ts
@@ -115,6 +115,9 @@ export interface ServerToClient {
115
* that are found in the ui/config */
116
"user/update": (user: User & { [extra: string]: any }) => void;
117
118
+ /** Update the user's last completed game state */
119
+ "config/last_game": (last_game: { [key: string]: any } | null) => void;
120
+
121
/** Updates whether a user is online or not. Subscribe to these updates for
122
* particular users using the `user/monitor` command. */
123
"user/state": (data: { [player_id: number]: boolean }) => void;
0 commit comments