tachyon-protocol 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { TachyonCommand } from './types.mjs';
2
2
 
3
3
  declare const tachyonMeta: {
4
- readonly version: "1.9.0";
4
+ readonly version: "1.9.2";
5
5
  readonly schema: {
6
6
  readonly actors: {
7
7
  readonly server: {
@@ -14,7 +14,7 @@ declare const tachyonMeta: {
14
14
  readonly receive: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
15
15
  };
16
16
  readonly event: {
17
- readonly send: readonly ["matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/readyUpdate", "user/updated"];
17
+ readonly send: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
18
18
  readonly receive: readonly ["autohost/status", "autohost/update"];
19
19
  };
20
20
  };
@@ -29,7 +29,7 @@ declare const tachyonMeta: {
29
29
  };
30
30
  readonly event: {
31
31
  readonly send: readonly [];
32
- readonly receive: readonly ["matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/readyUpdate", "user/updated"];
32
+ readonly receive: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
33
33
  };
34
34
  };
35
35
  readonly autohost: {
@@ -50,7 +50,7 @@ declare const tachyonMeta: {
50
50
  readonly serviceIds: {
51
51
  readonly autohost: readonly ["addPlayer", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
52
52
  readonly battle: readonly ["start"];
53
- readonly matchmaking: readonly ["cancel", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "ready", "readyUpdate"];
53
+ readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "ready"];
54
54
  readonly system: readonly ["disconnect", "serverStats"];
55
55
  readonly user: readonly ["updated"];
56
56
  };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { TachyonCommand } from './types.js';
2
2
 
3
3
  declare const tachyonMeta: {
4
- readonly version: "1.9.0";
4
+ readonly version: "1.9.2";
5
5
  readonly schema: {
6
6
  readonly actors: {
7
7
  readonly server: {
@@ -14,7 +14,7 @@ declare const tachyonMeta: {
14
14
  readonly receive: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
15
15
  };
16
16
  readonly event: {
17
- readonly send: readonly ["matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/readyUpdate", "user/updated"];
17
+ readonly send: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
18
18
  readonly receive: readonly ["autohost/status", "autohost/update"];
19
19
  };
20
20
  };
@@ -29,7 +29,7 @@ declare const tachyonMeta: {
29
29
  };
30
30
  readonly event: {
31
31
  readonly send: readonly [];
32
- readonly receive: readonly ["matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/readyUpdate", "user/updated"];
32
+ readonly receive: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
33
33
  };
34
34
  };
35
35
  readonly autohost: {
@@ -50,7 +50,7 @@ declare const tachyonMeta: {
50
50
  readonly serviceIds: {
51
51
  readonly autohost: readonly ["addPlayer", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
52
52
  readonly battle: readonly ["start"];
53
- readonly matchmaking: readonly ["cancel", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "ready", "readyUpdate"];
53
+ readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "ready"];
54
54
  readonly system: readonly ["disconnect", "serverStats"];
55
55
  readonly user: readonly ["updated"];
56
56
  };
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ __export(dist_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(dist_exports);
26
26
  var tachyonMeta = {
27
- "version": "1.9.0",
27
+ "version": "1.9.2",
28
28
  "schema": {
29
29
  "actors": {
30
30
  "server": {
@@ -74,11 +74,11 @@ var tachyonMeta = {
74
74
  },
75
75
  "event": {
76
76
  "send": [
77
+ "matchmaking/cancelled",
77
78
  "matchmaking/found",
78
79
  "matchmaking/foundUpdate",
79
80
  "matchmaking/lost",
80
81
  "matchmaking/queueUpdate",
81
- "matchmaking/readyUpdate",
82
82
  "user/updated"
83
83
  ],
84
84
  "receive": [
@@ -117,11 +117,11 @@ var tachyonMeta = {
117
117
  "event": {
118
118
  "send": [],
119
119
  "receive": [
120
+ "matchmaking/cancelled",
120
121
  "matchmaking/found",
121
122
  "matchmaking/foundUpdate",
122
123
  "matchmaking/lost",
123
124
  "matchmaking/queueUpdate",
124
- "matchmaking/readyUpdate",
125
125
  "user/updated"
126
126
  ]
127
127
  }
@@ -183,14 +183,14 @@ var tachyonMeta = {
183
183
  ],
184
184
  "matchmaking": [
185
185
  "cancel",
186
+ "cancelled",
186
187
  "found",
187
188
  "foundUpdate",
188
189
  "list",
189
190
  "lost",
190
191
  "queue",
191
192
  "queueUpdate",
192
- "ready",
193
- "readyUpdate"
193
+ "ready"
194
194
  ],
195
195
  "system": [
196
196
  "disconnect",
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // dist/index.ts
2
2
  var tachyonMeta = {
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "schema": {
5
5
  "actors": {
6
6
  "server": {
@@ -50,11 +50,11 @@ var tachyonMeta = {
50
50
  },
51
51
  "event": {
52
52
  "send": [
53
+ "matchmaking/cancelled",
53
54
  "matchmaking/found",
54
55
  "matchmaking/foundUpdate",
55
56
  "matchmaking/lost",
56
57
  "matchmaking/queueUpdate",
57
- "matchmaking/readyUpdate",
58
58
  "user/updated"
59
59
  ],
60
60
  "receive": [
@@ -93,11 +93,11 @@ var tachyonMeta = {
93
93
  "event": {
94
94
  "send": [],
95
95
  "receive": [
96
+ "matchmaking/cancelled",
96
97
  "matchmaking/found",
97
98
  "matchmaking/foundUpdate",
98
99
  "matchmaking/lost",
99
100
  "matchmaking/queueUpdate",
100
- "matchmaking/readyUpdate",
101
101
  "user/updated"
102
102
  ]
103
103
  }
@@ -159,14 +159,14 @@ var tachyonMeta = {
159
159
  ],
160
160
  "matchmaking": [
161
161
  "cancel",
162
+ "cancelled",
162
163
  "found",
163
164
  "foundUpdate",
164
165
  "list",
165
166
  "lost",
166
167
  "queue",
167
168
  "queueUpdate",
168
- "ready",
169
- "readyUpdate"
169
+ "ready"
170
170
  ],
171
171
  "system": [
172
172
  "disconnect",
package/dist/types.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | MatchmakingReadyUpdateEvent | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserUpdatedEvent;
1
+ type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingCancelledEvent | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserUpdatedEvent;
2
2
  type UserId = string;
3
3
  type AutohostAddPlayerResponse = AutohostAddPlayerOkResponse | AutohostAddPlayerFailResponse;
4
4
  type AutohostKickPlayerResponse = AutohostKickPlayerOkResponse | AutohostKickPlayerFailResponse;
@@ -520,6 +520,15 @@ interface MatchmakingCancelFailResponse {
520
520
  reason: "not_queued" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
521
521
  details?: string;
522
522
  }
523
+ interface MatchmakingCancelledEvent {
524
+ type: "event";
525
+ messageId: string;
526
+ commandId: "matchmaking/cancelled";
527
+ data: MatchmakingCancelledEventData;
528
+ }
529
+ interface MatchmakingCancelledEventData {
530
+ reason: "intentional" | "server_error" | "party_user_left" | "ready_timeout";
531
+ }
523
532
  interface MatchmakingFoundEvent {
524
533
  type: "event";
525
534
  messageId: string;
@@ -627,16 +636,6 @@ interface MatchmakingReadyFailResponse {
627
636
  reason: "no_match" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
628
637
  details?: string;
629
638
  }
630
- interface MatchmakingReadyUpdateEvent {
631
- type: "event";
632
- messageId: string;
633
- commandId: "matchmaking/readyUpdate";
634
- data: MatchmakingReadyUpdateEventData;
635
- }
636
- interface MatchmakingReadyUpdateEventData {
637
- readyMax: number;
638
- readyCurrent: number;
639
- }
640
639
  interface SystemDisconnectRequest {
641
640
  type: "request";
642
641
  messageId: string;
@@ -707,4 +706,4 @@ interface UserUpdatedEventData {
707
706
  })[];
708
707
  }
709
708
 
710
- export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostKickPlayerFailResponse, AutohostKickPlayerOkResponse, AutohostKickPlayerRequest, AutohostKickPlayerRequestData, AutohostKickPlayerResponse, AutohostKillFailResponse, AutohostKillOkResponse, AutohostKillRequest, AutohostKillRequestData, AutohostKillResponse, AutohostMutePlayerFailResponse, AutohostMutePlayerOkResponse, AutohostMutePlayerRequest, AutohostMutePlayerRequestData, AutohostMutePlayerResponse, AutohostSendCommandFailResponse, AutohostSendCommandOkResponse, AutohostSendCommandRequest, AutohostSendCommandRequestData, AutohostSendCommandResponse, AutohostSendMessageFailResponse, AutohostSendMessageOkResponse, AutohostSendMessageRequest, AutohostSendMessageRequestData, AutohostSendMessageResponse, AutohostSpecPlayersFailResponse, AutohostSpecPlayersOkResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersRequestData, AutohostSpecPlayersResponse, AutohostStartFailResponse, AutohostStartOkResponse, AutohostStartOkResponseData, AutohostStartRequest, AutohostStartRequestData, AutohostStartResponse, AutohostStatusEvent, AutohostStatusEventData, AutohostSubscribeUpdatesFailResponse, AutohostSubscribeUpdatesOkResponse, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesRequestData, AutohostSubscribeUpdatesResponse, AutohostUpdateEvent, AutohostUpdateEventData, BattleStartFailResponse, BattleStartOkResponse, BattleStartRequest, BattleStartRequestData, BattleStartResponse, Bot, CustomStartScriptProperties, EngineCrashUpdate, EngineMessageUpdate, EngineQuitUpdate, EngineWarningUpdate, FinishedUpdate, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingReadyUpdateEvent, MatchmakingReadyUpdateEventData, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, UserId, UserUpdatedEvent, UserUpdatedEventData };
709
+ export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostKickPlayerFailResponse, AutohostKickPlayerOkResponse, AutohostKickPlayerRequest, AutohostKickPlayerRequestData, AutohostKickPlayerResponse, AutohostKillFailResponse, AutohostKillOkResponse, AutohostKillRequest, AutohostKillRequestData, AutohostKillResponse, AutohostMutePlayerFailResponse, AutohostMutePlayerOkResponse, AutohostMutePlayerRequest, AutohostMutePlayerRequestData, AutohostMutePlayerResponse, AutohostSendCommandFailResponse, AutohostSendCommandOkResponse, AutohostSendCommandRequest, AutohostSendCommandRequestData, AutohostSendCommandResponse, AutohostSendMessageFailResponse, AutohostSendMessageOkResponse, AutohostSendMessageRequest, AutohostSendMessageRequestData, AutohostSendMessageResponse, AutohostSpecPlayersFailResponse, AutohostSpecPlayersOkResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersRequestData, AutohostSpecPlayersResponse, AutohostStartFailResponse, AutohostStartOkResponse, AutohostStartOkResponseData, AutohostStartRequest, AutohostStartRequestData, AutohostStartResponse, AutohostStatusEvent, AutohostStatusEventData, AutohostSubscribeUpdatesFailResponse, AutohostSubscribeUpdatesOkResponse, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesRequestData, AutohostSubscribeUpdatesResponse, AutohostUpdateEvent, AutohostUpdateEventData, BattleStartFailResponse, BattleStartOkResponse, BattleStartRequest, BattleStartRequestData, BattleStartResponse, Bot, CustomStartScriptProperties, EngineCrashUpdate, EngineMessageUpdate, EngineQuitUpdate, EngineWarningUpdate, FinishedUpdate, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingCancelledEvent, MatchmakingCancelledEventData, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, UserId, UserUpdatedEvent, UserUpdatedEventData };
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | MatchmakingReadyUpdateEvent | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserUpdatedEvent;
1
+ type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingCancelledEvent | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserUpdatedEvent;
2
2
  type UserId = string;
3
3
  type AutohostAddPlayerResponse = AutohostAddPlayerOkResponse | AutohostAddPlayerFailResponse;
4
4
  type AutohostKickPlayerResponse = AutohostKickPlayerOkResponse | AutohostKickPlayerFailResponse;
@@ -520,6 +520,15 @@ interface MatchmakingCancelFailResponse {
520
520
  reason: "not_queued" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
521
521
  details?: string;
522
522
  }
523
+ interface MatchmakingCancelledEvent {
524
+ type: "event";
525
+ messageId: string;
526
+ commandId: "matchmaking/cancelled";
527
+ data: MatchmakingCancelledEventData;
528
+ }
529
+ interface MatchmakingCancelledEventData {
530
+ reason: "intentional" | "server_error" | "party_user_left" | "ready_timeout";
531
+ }
523
532
  interface MatchmakingFoundEvent {
524
533
  type: "event";
525
534
  messageId: string;
@@ -627,16 +636,6 @@ interface MatchmakingReadyFailResponse {
627
636
  reason: "no_match" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
628
637
  details?: string;
629
638
  }
630
- interface MatchmakingReadyUpdateEvent {
631
- type: "event";
632
- messageId: string;
633
- commandId: "matchmaking/readyUpdate";
634
- data: MatchmakingReadyUpdateEventData;
635
- }
636
- interface MatchmakingReadyUpdateEventData {
637
- readyMax: number;
638
- readyCurrent: number;
639
- }
640
639
  interface SystemDisconnectRequest {
641
640
  type: "request";
642
641
  messageId: string;
@@ -707,4 +706,4 @@ interface UserUpdatedEventData {
707
706
  })[];
708
707
  }
709
708
 
710
- export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostKickPlayerFailResponse, AutohostKickPlayerOkResponse, AutohostKickPlayerRequest, AutohostKickPlayerRequestData, AutohostKickPlayerResponse, AutohostKillFailResponse, AutohostKillOkResponse, AutohostKillRequest, AutohostKillRequestData, AutohostKillResponse, AutohostMutePlayerFailResponse, AutohostMutePlayerOkResponse, AutohostMutePlayerRequest, AutohostMutePlayerRequestData, AutohostMutePlayerResponse, AutohostSendCommandFailResponse, AutohostSendCommandOkResponse, AutohostSendCommandRequest, AutohostSendCommandRequestData, AutohostSendCommandResponse, AutohostSendMessageFailResponse, AutohostSendMessageOkResponse, AutohostSendMessageRequest, AutohostSendMessageRequestData, AutohostSendMessageResponse, AutohostSpecPlayersFailResponse, AutohostSpecPlayersOkResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersRequestData, AutohostSpecPlayersResponse, AutohostStartFailResponse, AutohostStartOkResponse, AutohostStartOkResponseData, AutohostStartRequest, AutohostStartRequestData, AutohostStartResponse, AutohostStatusEvent, AutohostStatusEventData, AutohostSubscribeUpdatesFailResponse, AutohostSubscribeUpdatesOkResponse, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesRequestData, AutohostSubscribeUpdatesResponse, AutohostUpdateEvent, AutohostUpdateEventData, BattleStartFailResponse, BattleStartOkResponse, BattleStartRequest, BattleStartRequestData, BattleStartResponse, Bot, CustomStartScriptProperties, EngineCrashUpdate, EngineMessageUpdate, EngineQuitUpdate, EngineWarningUpdate, FinishedUpdate, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingReadyUpdateEvent, MatchmakingReadyUpdateEventData, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, UserId, UserUpdatedEvent, UserUpdatedEventData };
709
+ export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostKickPlayerFailResponse, AutohostKickPlayerOkResponse, AutohostKickPlayerRequest, AutohostKickPlayerRequestData, AutohostKickPlayerResponse, AutohostKillFailResponse, AutohostKillOkResponse, AutohostKillRequest, AutohostKillRequestData, AutohostKillResponse, AutohostMutePlayerFailResponse, AutohostMutePlayerOkResponse, AutohostMutePlayerRequest, AutohostMutePlayerRequestData, AutohostMutePlayerResponse, AutohostSendCommandFailResponse, AutohostSendCommandOkResponse, AutohostSendCommandRequest, AutohostSendCommandRequestData, AutohostSendCommandResponse, AutohostSendMessageFailResponse, AutohostSendMessageOkResponse, AutohostSendMessageRequest, AutohostSendMessageRequestData, AutohostSendMessageResponse, AutohostSpecPlayersFailResponse, AutohostSpecPlayersOkResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersRequestData, AutohostSpecPlayersResponse, AutohostStartFailResponse, AutohostStartOkResponse, AutohostStartOkResponseData, AutohostStartRequest, AutohostStartRequestData, AutohostStartResponse, AutohostStatusEvent, AutohostStatusEventData, AutohostSubscribeUpdatesFailResponse, AutohostSubscribeUpdatesOkResponse, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesRequestData, AutohostSubscribeUpdatesResponse, AutohostUpdateEvent, AutohostUpdateEventData, BattleStartFailResponse, BattleStartOkResponse, BattleStartRequest, BattleStartRequestData, BattleStartResponse, Bot, CustomStartScriptProperties, EngineCrashUpdate, EngineMessageUpdate, EngineQuitUpdate, EngineWarningUpdate, FinishedUpdate, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingCancelledEvent, MatchmakingCancelledEventData, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, UserId, UserUpdatedEvent, UserUpdatedEventData };
@@ -1,12 +1,11 @@
1
1
  import type { ValidateFunction } from "ajv"
2
- import type { UserUpdatedEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MatchmakingReadyUpdateEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.mjs";
2
+ import type { UserUpdatedEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.mjs";
3
3
 
4
4
  declare const user_updated_event: ValidateFunction<UserUpdatedEvent>;
5
5
  declare const system_serverStats_request: ValidateFunction<SystemServerStatsRequest>;
6
6
  declare const system_serverStats_response: ValidateFunction<SystemServerStatsResponse>;
7
7
  declare const system_disconnect_request: ValidateFunction<SystemDisconnectRequest>;
8
8
  declare const system_disconnect_response: ValidateFunction<SystemDisconnectResponse>;
9
- declare const matchmaking_readyUpdate_event: ValidateFunction<MatchmakingReadyUpdateEvent>;
10
9
  declare const matchmaking_ready_request: ValidateFunction<MatchmakingReadyRequest>;
11
10
  declare const matchmaking_ready_response: ValidateFunction<MatchmakingReadyResponse>;
12
11
  declare const matchmaking_queueUpdate_event: ValidateFunction<MatchmakingQueueUpdateEvent>;
@@ -17,6 +16,7 @@ declare const matchmaking_list_request: ValidateFunction<MatchmakingListRequest>
17
16
  declare const matchmaking_list_response: ValidateFunction<MatchmakingListResponse>;
18
17
  declare const matchmaking_foundUpdate_event: ValidateFunction<MatchmakingFoundUpdateEvent>;
19
18
  declare const matchmaking_found_event: ValidateFunction<MatchmakingFoundEvent>;
19
+ declare const matchmaking_cancelled_event: ValidateFunction<MatchmakingCancelledEvent>;
20
20
  declare const matchmaking_cancel_request: ValidateFunction<MatchmakingCancelRequest>;
21
21
  declare const matchmaking_cancel_response: ValidateFunction<MatchmakingCancelResponse>;
22
22
  declare const battle_start_request: ValidateFunction<BattleStartRequest>;
@@ -54,9 +54,6 @@ declare const validator: {
54
54
  readonly "request": ValidateFunction<SystemDisconnectRequest>;
55
55
  readonly "response": ValidateFunction<SystemDisconnectResponse>;
56
56
  };
57
- readonly "matchmaking/readyUpdate": {
58
- readonly "event": ValidateFunction<MatchmakingReadyUpdateEvent>;
59
- };
60
57
  readonly "matchmaking/ready": {
61
58
  readonly "request": ValidateFunction<MatchmakingReadyRequest>;
62
59
  readonly "response": ValidateFunction<MatchmakingReadyResponse>;
@@ -81,6 +78,9 @@ declare const validator: {
81
78
  readonly "matchmaking/found": {
82
79
  readonly "event": ValidateFunction<MatchmakingFoundEvent>;
83
80
  };
81
+ readonly "matchmaking/cancelled": {
82
+ readonly "event": ValidateFunction<MatchmakingCancelledEvent>;
83
+ };
84
84
  readonly "matchmaking/cancel": {
85
85
  readonly "request": ValidateFunction<MatchmakingCancelRequest>;
86
86
  readonly "response": ValidateFunction<MatchmakingCancelResponse>;
@@ -133,4 +133,4 @@ declare const validator: {
133
133
  };
134
134
  };
135
135
 
136
- export { validator, user_updated_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, matchmaking_readyUpdate_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_addPlayer_request, autohost_addPlayer_response };
136
+ export { validator, user_updated_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancelled_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_addPlayer_request, autohost_addPlayer_response };
@@ -1,12 +1,11 @@
1
1
  import type { ValidateFunction } from "ajv"
2
- import type { UserUpdatedEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MatchmakingReadyUpdateEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.js";
2
+ import type { UserUpdatedEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.js";
3
3
 
4
4
  declare const user_updated_event: ValidateFunction<UserUpdatedEvent>;
5
5
  declare const system_serverStats_request: ValidateFunction<SystemServerStatsRequest>;
6
6
  declare const system_serverStats_response: ValidateFunction<SystemServerStatsResponse>;
7
7
  declare const system_disconnect_request: ValidateFunction<SystemDisconnectRequest>;
8
8
  declare const system_disconnect_response: ValidateFunction<SystemDisconnectResponse>;
9
- declare const matchmaking_readyUpdate_event: ValidateFunction<MatchmakingReadyUpdateEvent>;
10
9
  declare const matchmaking_ready_request: ValidateFunction<MatchmakingReadyRequest>;
11
10
  declare const matchmaking_ready_response: ValidateFunction<MatchmakingReadyResponse>;
12
11
  declare const matchmaking_queueUpdate_event: ValidateFunction<MatchmakingQueueUpdateEvent>;
@@ -17,6 +16,7 @@ declare const matchmaking_list_request: ValidateFunction<MatchmakingListRequest>
17
16
  declare const matchmaking_list_response: ValidateFunction<MatchmakingListResponse>;
18
17
  declare const matchmaking_foundUpdate_event: ValidateFunction<MatchmakingFoundUpdateEvent>;
19
18
  declare const matchmaking_found_event: ValidateFunction<MatchmakingFoundEvent>;
19
+ declare const matchmaking_cancelled_event: ValidateFunction<MatchmakingCancelledEvent>;
20
20
  declare const matchmaking_cancel_request: ValidateFunction<MatchmakingCancelRequest>;
21
21
  declare const matchmaking_cancel_response: ValidateFunction<MatchmakingCancelResponse>;
22
22
  declare const battle_start_request: ValidateFunction<BattleStartRequest>;
@@ -54,9 +54,6 @@ declare const validator: {
54
54
  readonly "request": ValidateFunction<SystemDisconnectRequest>;
55
55
  readonly "response": ValidateFunction<SystemDisconnectResponse>;
56
56
  };
57
- readonly "matchmaking/readyUpdate": {
58
- readonly "event": ValidateFunction<MatchmakingReadyUpdateEvent>;
59
- };
60
57
  readonly "matchmaking/ready": {
61
58
  readonly "request": ValidateFunction<MatchmakingReadyRequest>;
62
59
  readonly "response": ValidateFunction<MatchmakingReadyResponse>;
@@ -81,6 +78,9 @@ declare const validator: {
81
78
  readonly "matchmaking/found": {
82
79
  readonly "event": ValidateFunction<MatchmakingFoundEvent>;
83
80
  };
81
+ readonly "matchmaking/cancelled": {
82
+ readonly "event": ValidateFunction<MatchmakingCancelledEvent>;
83
+ };
84
84
  readonly "matchmaking/cancel": {
85
85
  readonly "request": ValidateFunction<MatchmakingCancelRequest>;
86
86
  readonly "response": ValidateFunction<MatchmakingCancelResponse>;
@@ -133,4 +133,4 @@ declare const validator: {
133
133
  };
134
134
  };
135
135
 
136
- export { validator, user_updated_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, matchmaking_readyUpdate_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_addPlayer_request, autohost_addPlayer_response };
136
+ export { validator, user_updated_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancelled_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_addPlayer_request, autohost_addPlayer_response };