tachyon-protocol 1.14.0 → 1.14.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.14.0";
4
+ readonly version: "1.14.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/installEngine", "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 ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
17
+ readonly send: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "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 ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
32
+ readonly receive: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
33
33
  };
34
34
  };
35
35
  readonly autohost: {
@@ -51,7 +51,7 @@ declare const tachyonMeta: {
51
51
  readonly autohost: readonly ["addPlayer", "installEngine", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
52
52
  readonly battle: readonly ["start"];
53
53
  readonly friend: readonly ["acceptRequest", "cancelRequest", "list", "rejectRequest", "remove", "removed", "requestAccepted", "requestCancelled", "requestReceived", "requestRejected", "sendRequest"];
54
- readonly lobby: readonly ["create", "join", "leave", "left", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
54
+ readonly lobby: readonly ["create", "join", "leave", "left", "listReset", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
55
55
  readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "queuesJoined", "ready"];
56
56
  readonly messaging: readonly ["received", "send", "subscribeReceived"];
57
57
  readonly party: readonly ["acceptInvite", "cancelInvite", "create", "declineInvite", "invite", "invited", "kickMember", "leave", "removed", "updated"];
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.14.0";
4
+ readonly version: "1.14.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/installEngine", "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 ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
17
+ readonly send: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "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 ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
32
+ readonly receive: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
33
33
  };
34
34
  };
35
35
  readonly autohost: {
@@ -51,7 +51,7 @@ declare const tachyonMeta: {
51
51
  readonly autohost: readonly ["addPlayer", "installEngine", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
52
52
  readonly battle: readonly ["start"];
53
53
  readonly friend: readonly ["acceptRequest", "cancelRequest", "list", "rejectRequest", "remove", "removed", "requestAccepted", "requestCancelled", "requestReceived", "requestRejected", "sendRequest"];
54
- readonly lobby: readonly ["create", "join", "leave", "left", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
54
+ readonly lobby: readonly ["create", "join", "leave", "left", "listReset", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
55
55
  readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "queuesJoined", "ready"];
56
56
  readonly messaging: readonly ["received", "send", "subscribeReceived"];
57
57
  readonly party: readonly ["acceptInvite", "cancelInvite", "create", "declineInvite", "invite", "invited", "kickMember", "leave", "removed", "updated"];
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.14.0",
27
+ "version": "1.14.2",
28
28
  "schema": {
29
29
  "actors": {
30
30
  "server": {
@@ -130,6 +130,7 @@ var tachyonMeta = {
130
130
  "friend/requestReceived",
131
131
  "friend/requestRejected",
132
132
  "lobby/left",
133
+ "lobby/listReset",
133
134
  "lobby/listUpdated",
134
135
  "lobby/updated",
135
136
  "matchmaking/cancelled",
@@ -235,6 +236,7 @@ var tachyonMeta = {
235
236
  "friend/requestReceived",
236
237
  "friend/requestRejected",
237
238
  "lobby/left",
239
+ "lobby/listReset",
238
240
  "lobby/listUpdated",
239
241
  "lobby/updated",
240
242
  "matchmaking/cancelled",
@@ -328,6 +330,7 @@ var tachyonMeta = {
328
330
  "join",
329
331
  "leave",
330
332
  "left",
333
+ "listReset",
331
334
  "listUpdated",
332
335
  "startBattle",
333
336
  "subscribeList",
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // dist/index.ts
2
2
  var tachyonMeta = {
3
- "version": "1.14.0",
3
+ "version": "1.14.2",
4
4
  "schema": {
5
5
  "actors": {
6
6
  "server": {
@@ -106,6 +106,7 @@ var tachyonMeta = {
106
106
  "friend/requestReceived",
107
107
  "friend/requestRejected",
108
108
  "lobby/left",
109
+ "lobby/listReset",
109
110
  "lobby/listUpdated",
110
111
  "lobby/updated",
111
112
  "matchmaking/cancelled",
@@ -211,6 +212,7 @@ var tachyonMeta = {
211
212
  "friend/requestReceived",
212
213
  "friend/requestRejected",
213
214
  "lobby/left",
215
+ "lobby/listReset",
214
216
  "lobby/listUpdated",
215
217
  "lobby/updated",
216
218
  "matchmaking/cancelled",
@@ -304,6 +306,7 @@ var tachyonMeta = {
304
306
  "join",
305
307
  "leave",
306
308
  "left",
309
+ "listReset",
307
310
  "listUpdated",
308
311
  "startBattle",
309
312
  "subscribeList",
package/dist/types.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostInstallEngineRequest | AutohostInstallEngineResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | FriendAcceptRequestRequest | FriendAcceptRequestResponse | FriendCancelRequestRequest | FriendCancelRequestResponse | FriendListRequest | FriendListResponse | FriendRejectRequestRequest | FriendRejectRequestResponse | FriendRemoveRequest | FriendRemoveResponse | FriendRemovedEvent | FriendRequestAcceptedEvent | FriendRequestCancelledEvent | FriendRequestReceivedEvent | FriendRequestRejectedEvent | FriendSendRequestRequest | FriendSendRequestResponse | LobbyCreateRequest | LobbyCreateResponse | LobbyJoinRequest | LobbyJoinResponse | LobbyLeaveRequest | LobbyLeaveResponse | LobbyLeftEvent | LobbyListUpdatedEvent | LobbyStartBattleRequest | LobbyStartBattleResponse | LobbySubscribeListRequest | LobbySubscribeListResponse | LobbyUnsubscribeListRequest | LobbyUnsubscribeListResponse | LobbyUpdatedEvent | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingCancelledEvent | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingQueuesJoinedEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | MessagingReceivedEvent | MessagingSendRequest | MessagingSendResponse | MessagingSubscribeReceivedRequest | MessagingSubscribeReceivedResponse | PartyAcceptInviteRequest | PartyAcceptInviteResponse | PartyCancelInviteRequest | PartyCancelInviteResponse | PartyCreateRequest | PartyCreateResponse | PartyDeclineInviteRequest | PartyDeclineInviteResponse | PartyInviteRequest | PartyInviteResponse | PartyInvitedEvent | PartyKickMemberRequest | PartyKickMemberResponse | PartyLeaveRequest | PartyLeaveResponse | PartyRemovedEvent | PartyUpdatedEvent | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserInfoRequest | UserInfoResponse | UserSelfEvent | UserSubscribeUpdatesRequest | UserSubscribeUpdatesResponse | UserUnsubscribeUpdatesRequest | UserUnsubscribeUpdatesResponse | UserUpdatedEvent;
1
+ type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostInstallEngineRequest | AutohostInstallEngineResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | FriendAcceptRequestRequest | FriendAcceptRequestResponse | FriendCancelRequestRequest | FriendCancelRequestResponse | FriendListRequest | FriendListResponse | FriendRejectRequestRequest | FriendRejectRequestResponse | FriendRemoveRequest | FriendRemoveResponse | FriendRemovedEvent | FriendRequestAcceptedEvent | FriendRequestCancelledEvent | FriendRequestReceivedEvent | FriendRequestRejectedEvent | FriendSendRequestRequest | FriendSendRequestResponse | LobbyCreateRequest | LobbyCreateResponse | LobbyJoinRequest | LobbyJoinResponse | LobbyLeaveRequest | LobbyLeaveResponse | LobbyLeftEvent | LobbyListResetEvent | LobbyListUpdatedEvent | LobbyStartBattleRequest | LobbyStartBattleResponse | LobbySubscribeListRequest | LobbySubscribeListResponse | LobbyUnsubscribeListRequest | LobbyUnsubscribeListResponse | LobbyUpdatedEvent | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingCancelledEvent | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingQueuesJoinedEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | MessagingReceivedEvent | MessagingSendRequest | MessagingSendResponse | MessagingSubscribeReceivedRequest | MessagingSubscribeReceivedResponse | PartyAcceptInviteRequest | PartyAcceptInviteResponse | PartyCancelInviteRequest | PartyCancelInviteResponse | PartyCreateRequest | PartyCreateResponse | PartyDeclineInviteRequest | PartyDeclineInviteResponse | PartyInviteRequest | PartyInviteResponse | PartyInvitedEvent | PartyKickMemberRequest | PartyKickMemberResponse | PartyLeaveRequest | PartyLeaveResponse | PartyRemovedEvent | PartyUpdatedEvent | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserInfoRequest | UserInfoResponse | UserSelfEvent | UserSubscribeUpdatesRequest | UserSubscribeUpdatesResponse | UserUnsubscribeUpdatesRequest | UserUnsubscribeUpdatesResponse | UserUpdatedEvent;
2
2
  type UserId = string;
3
3
  type AutohostAddPlayerResponse = AutohostAddPlayerOkResponse | AutohostAddPlayerFailResponse;
4
4
  type AutohostInstallEngineResponse = AutohostInstallEngineOkResponse | AutohostInstallEngineFailResponse;
@@ -818,6 +818,7 @@ interface LobbyCreateOkResponse {
818
818
  */
819
819
  interface LobbyCreateOkResponseData {
820
820
  id: string;
821
+ name: string;
821
822
  mapName: string;
822
823
  engineVersion: string;
823
824
  gameVersion: string;
@@ -891,6 +892,7 @@ interface LobbyJoinOkResponse {
891
892
  */
892
893
  interface LobbyJoinOkResponseData {
893
894
  id: string;
895
+ name: string;
894
896
  mapName: string;
895
897
  engineVersion: string;
896
898
  gameVersion: string;
@@ -972,40 +974,22 @@ interface LobbyLeftEventData {
972
974
  id: string;
973
975
  reason: string;
974
976
  }
975
- interface LobbyListUpdatedEvent {
977
+ interface LobbyListResetEvent {
976
978
  type: "event";
977
979
  messageId: string;
978
- commandId: "lobby/listUpdated";
979
- data: LobbyListUpdatedEventData;
980
+ commandId: "lobby/listReset";
981
+ data: LobbyListResetEventData;
980
982
  }
981
- interface LobbyListUpdatedEventData {
982
- updates: ({
983
- type: "removed";
984
- id: string;
985
- } | {
986
- type: "added";
987
- overview: LobbyOverview;
988
- } | {
989
- type: "setList";
990
- overviews: LobbyOverview[];
991
- } | {
992
- type: "updated";
993
- overview: {
994
- id: string;
995
- name?: string;
996
- playerCount?: number;
997
- maxPlayerCount?: number;
998
- mapName?: string;
999
- engineVersion?: string;
1000
- gameVersion?: string;
1001
- currentBattle?: {
1002
- startedAt: UnixTime;
1003
- } | null;
1004
- };
1005
- })[];
983
+ interface LobbyListResetEventData {
984
+ lobbies: {
985
+ [k: string]: LobbyOverview;
986
+ };
1006
987
  }
1007
988
  /**
1008
989
  * Simplified view of a lobby for list display purposes.
990
+ *
991
+ * This interface was referenced by `undefined`'s JSON-Schema definition
992
+ * via the `patternProperty` "^(.*)$".
1009
993
  */
1010
994
  interface LobbyOverview {
1011
995
  id: string;
@@ -1019,6 +1003,32 @@ interface LobbyOverview {
1019
1003
  startedAt: UnixTime;
1020
1004
  } | null;
1021
1005
  }
1006
+ interface LobbyListUpdatedEvent {
1007
+ type: "event";
1008
+ messageId: string;
1009
+ commandId: "lobby/listUpdated";
1010
+ data: LobbyListUpdatedEventData;
1011
+ }
1012
+ interface LobbyListUpdatedEventData {
1013
+ lobbies: {
1014
+ /**
1015
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1016
+ * via the `patternProperty` "^(.*)$".
1017
+ */
1018
+ [k: string]: {
1019
+ id: string;
1020
+ name?: string;
1021
+ playerCount?: number;
1022
+ maxPlayerCount?: number;
1023
+ mapName?: string;
1024
+ engineVersion?: string;
1025
+ gameVersion?: string;
1026
+ currentBattle?: {
1027
+ startedAt: UnixTime;
1028
+ } | null;
1029
+ } | null;
1030
+ };
1031
+ }
1022
1032
  interface LobbyStartBattleRequest {
1023
1033
  type: "request";
1024
1034
  messageId: string;
@@ -1084,6 +1094,7 @@ interface LobbyUpdatedEvent {
1084
1094
  }
1085
1095
  interface LobbyUpdatedEventData {
1086
1096
  id: string;
1097
+ name?: string;
1087
1098
  mapName?: string;
1088
1099
  engineVersion?: string;
1089
1100
  gameVersion?: string;
@@ -1114,9 +1125,9 @@ interface LobbyUpdatedEventData {
1114
1125
  [k: string]: {
1115
1126
  type: "player";
1116
1127
  id: UserId;
1117
- allyTeam: string;
1118
- team: string;
1119
- player: string;
1128
+ allyTeam?: string;
1129
+ team?: string;
1130
+ player?: string;
1120
1131
  } | null;
1121
1132
  };
1122
1133
  currentBattle?: {
@@ -1776,4 +1787,4 @@ interface UserUpdatedEventData {
1776
1787
  }[];
1777
1788
  }
1778
1789
 
1779
- export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostInstallEngineFailResponse, AutohostInstallEngineOkResponse, AutohostInstallEngineRequest, AutohostInstallEngineRequestData, AutohostInstallEngineResponse, 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, FriendAcceptRequestFailResponse, FriendAcceptRequestOkResponse, FriendAcceptRequestRequest, FriendAcceptRequestRequestData, FriendAcceptRequestResponse, FriendCancelRequestFailResponse, FriendCancelRequestOkResponse, FriendCancelRequestRequest, FriendCancelRequestRequestData, FriendCancelRequestResponse, FriendListFailResponse, FriendListOkResponse, FriendListOkResponseData, FriendListRequest, FriendListResponse, FriendRejectRequestFailResponse, FriendRejectRequestOkResponse, FriendRejectRequestRequest, FriendRejectRequestRequestData, FriendRejectRequestResponse, FriendRemoveFailResponse, FriendRemoveOkResponse, FriendRemoveRequest, FriendRemoveRequestData, FriendRemoveResponse, FriendRemovedEvent, FriendRemovedEventData, FriendRequestAcceptedEvent, FriendRequestAcceptedEventData, FriendRequestCancelledEvent, FriendRequestCancelledEventData, FriendRequestReceivedEvent, FriendRequestReceivedEventData, FriendRequestRejectedEvent, FriendRequestRejectedEventData, FriendSendRequestFailResponse, FriendSendRequestOkResponse, FriendSendRequestRequest, FriendSendRequestRequestData, FriendSendRequestResponse, HistoryMarker, LobbyCreateFailResponse, LobbyCreateOkResponse, LobbyCreateOkResponseData, LobbyCreateRequest, LobbyCreateRequestData, LobbyCreateResponse, LobbyJoinFailResponse, LobbyJoinOkResponse, LobbyJoinOkResponseData, LobbyJoinRequest, LobbyJoinRequestData, LobbyJoinResponse, LobbyLeaveFailResponse, LobbyLeaveOkResponse, LobbyLeaveRequest, LobbyLeaveResponse, LobbyLeftEvent, LobbyLeftEventData, LobbyListUpdatedEvent, LobbyListUpdatedEventData, LobbyOverview, LobbyStartBattleFailResponse, LobbyStartBattleOkResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbySubscribeListFailResponse, LobbySubscribeListOkResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyUnsubscribeListFailResponse, LobbyUnsubscribeListOkResponse, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbyUpdatedEvent, LobbyUpdatedEventData, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingCancelledEvent, MatchmakingCancelledEventData, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingQueuesJoinedEvent, MatchmakingQueuesJoinedEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MessagingReceivedEvent, MessagingReceivedEventData, MessagingSendFailResponse, MessagingSendOkResponse, MessagingSendRequest, MessagingSendRequestData, MessagingSendResponse, MessagingSubscribeReceivedFailResponse, MessagingSubscribeReceivedOkResponse, MessagingSubscribeReceivedOkResponseData, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedRequestData, MessagingSubscribeReceivedResponse, PartyAcceptInviteFailResponse, PartyAcceptInviteOkResponse, PartyAcceptInviteRequest, PartyAcceptInviteRequestData, PartyAcceptInviteResponse, PartyCancelInviteFailResponse, PartyCancelInviteOkResponse, PartyCancelInviteRequest, PartyCancelInviteRequestData, PartyCancelInviteResponse, PartyCreateFailResponse, PartyCreateOkResponse, PartyCreateOkResponseData, PartyCreateRequest, PartyCreateResponse, PartyDeclineInviteFailResponse, PartyDeclineInviteOkResponse, PartyDeclineInviteRequest, PartyDeclineInviteRequestData, PartyDeclineInviteResponse, PartyId, PartyInviteFailResponse, PartyInviteOkResponse, PartyInviteRequest, PartyInviteRequestData, PartyInviteResponse, PartyInvitedEvent, PartyInvitedEventData, PartyKickMemberFailResponse, PartyKickMemberOkResponse, PartyKickMemberRequest, PartyKickMemberRequestData, PartyKickMemberResponse, PartyLeaveFailResponse, PartyLeaveOkResponse, PartyLeaveRequest, PartyLeaveResponse, PartyRemovedEvent, PartyRemovedEventData, PartyState, PartyUpdatedEvent, PartyUpdatedEventData, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, PrivateBattle, PrivateUser, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, User, UserId, UserInfoFailResponse, UserInfoOkResponse, UserInfoOkResponseData, UserInfoRequest, UserInfoRequestData, UserInfoResponse, UserSelfEvent, UserSelfEventData, UserSubscribeUpdatesFailResponse, UserSubscribeUpdatesOkResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesRequestData, UserSubscribeUpdatesResponse, UserUnsubscribeUpdatesFailResponse, UserUnsubscribeUpdatesOkResponse, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesRequestData, UserUnsubscribeUpdatesResponse, UserUpdatedEvent, UserUpdatedEventData };
1790
+ export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostInstallEngineFailResponse, AutohostInstallEngineOkResponse, AutohostInstallEngineRequest, AutohostInstallEngineRequestData, AutohostInstallEngineResponse, 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, FriendAcceptRequestFailResponse, FriendAcceptRequestOkResponse, FriendAcceptRequestRequest, FriendAcceptRequestRequestData, FriendAcceptRequestResponse, FriendCancelRequestFailResponse, FriendCancelRequestOkResponse, FriendCancelRequestRequest, FriendCancelRequestRequestData, FriendCancelRequestResponse, FriendListFailResponse, FriendListOkResponse, FriendListOkResponseData, FriendListRequest, FriendListResponse, FriendRejectRequestFailResponse, FriendRejectRequestOkResponse, FriendRejectRequestRequest, FriendRejectRequestRequestData, FriendRejectRequestResponse, FriendRemoveFailResponse, FriendRemoveOkResponse, FriendRemoveRequest, FriendRemoveRequestData, FriendRemoveResponse, FriendRemovedEvent, FriendRemovedEventData, FriendRequestAcceptedEvent, FriendRequestAcceptedEventData, FriendRequestCancelledEvent, FriendRequestCancelledEventData, FriendRequestReceivedEvent, FriendRequestReceivedEventData, FriendRequestRejectedEvent, FriendRequestRejectedEventData, FriendSendRequestFailResponse, FriendSendRequestOkResponse, FriendSendRequestRequest, FriendSendRequestRequestData, FriendSendRequestResponse, HistoryMarker, LobbyCreateFailResponse, LobbyCreateOkResponse, LobbyCreateOkResponseData, LobbyCreateRequest, LobbyCreateRequestData, LobbyCreateResponse, LobbyJoinFailResponse, LobbyJoinOkResponse, LobbyJoinOkResponseData, LobbyJoinRequest, LobbyJoinRequestData, LobbyJoinResponse, LobbyLeaveFailResponse, LobbyLeaveOkResponse, LobbyLeaveRequest, LobbyLeaveResponse, LobbyLeftEvent, LobbyLeftEventData, LobbyListResetEvent, LobbyListResetEventData, LobbyListUpdatedEvent, LobbyListUpdatedEventData, LobbyOverview, LobbyStartBattleFailResponse, LobbyStartBattleOkResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbySubscribeListFailResponse, LobbySubscribeListOkResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyUnsubscribeListFailResponse, LobbyUnsubscribeListOkResponse, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbyUpdatedEvent, LobbyUpdatedEventData, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingCancelledEvent, MatchmakingCancelledEventData, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingQueuesJoinedEvent, MatchmakingQueuesJoinedEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MessagingReceivedEvent, MessagingReceivedEventData, MessagingSendFailResponse, MessagingSendOkResponse, MessagingSendRequest, MessagingSendRequestData, MessagingSendResponse, MessagingSubscribeReceivedFailResponse, MessagingSubscribeReceivedOkResponse, MessagingSubscribeReceivedOkResponseData, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedRequestData, MessagingSubscribeReceivedResponse, PartyAcceptInviteFailResponse, PartyAcceptInviteOkResponse, PartyAcceptInviteRequest, PartyAcceptInviteRequestData, PartyAcceptInviteResponse, PartyCancelInviteFailResponse, PartyCancelInviteOkResponse, PartyCancelInviteRequest, PartyCancelInviteRequestData, PartyCancelInviteResponse, PartyCreateFailResponse, PartyCreateOkResponse, PartyCreateOkResponseData, PartyCreateRequest, PartyCreateResponse, PartyDeclineInviteFailResponse, PartyDeclineInviteOkResponse, PartyDeclineInviteRequest, PartyDeclineInviteRequestData, PartyDeclineInviteResponse, PartyId, PartyInviteFailResponse, PartyInviteOkResponse, PartyInviteRequest, PartyInviteRequestData, PartyInviteResponse, PartyInvitedEvent, PartyInvitedEventData, PartyKickMemberFailResponse, PartyKickMemberOkResponse, PartyKickMemberRequest, PartyKickMemberRequestData, PartyKickMemberResponse, PartyLeaveFailResponse, PartyLeaveOkResponse, PartyLeaveRequest, PartyLeaveResponse, PartyRemovedEvent, PartyRemovedEventData, PartyState, PartyUpdatedEvent, PartyUpdatedEventData, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, PrivateBattle, PrivateUser, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, User, UserId, UserInfoFailResponse, UserInfoOkResponse, UserInfoOkResponseData, UserInfoRequest, UserInfoRequestData, UserInfoResponse, UserSelfEvent, UserSelfEventData, UserSubscribeUpdatesFailResponse, UserSubscribeUpdatesOkResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesRequestData, UserSubscribeUpdatesResponse, UserUnsubscribeUpdatesFailResponse, UserUnsubscribeUpdatesOkResponse, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesRequestData, UserUnsubscribeUpdatesResponse, UserUpdatedEvent, UserUpdatedEventData };
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostInstallEngineRequest | AutohostInstallEngineResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | FriendAcceptRequestRequest | FriendAcceptRequestResponse | FriendCancelRequestRequest | FriendCancelRequestResponse | FriendListRequest | FriendListResponse | FriendRejectRequestRequest | FriendRejectRequestResponse | FriendRemoveRequest | FriendRemoveResponse | FriendRemovedEvent | FriendRequestAcceptedEvent | FriendRequestCancelledEvent | FriendRequestReceivedEvent | FriendRequestRejectedEvent | FriendSendRequestRequest | FriendSendRequestResponse | LobbyCreateRequest | LobbyCreateResponse | LobbyJoinRequest | LobbyJoinResponse | LobbyLeaveRequest | LobbyLeaveResponse | LobbyLeftEvent | LobbyListUpdatedEvent | LobbyStartBattleRequest | LobbyStartBattleResponse | LobbySubscribeListRequest | LobbySubscribeListResponse | LobbyUnsubscribeListRequest | LobbyUnsubscribeListResponse | LobbyUpdatedEvent | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingCancelledEvent | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingQueuesJoinedEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | MessagingReceivedEvent | MessagingSendRequest | MessagingSendResponse | MessagingSubscribeReceivedRequest | MessagingSubscribeReceivedResponse | PartyAcceptInviteRequest | PartyAcceptInviteResponse | PartyCancelInviteRequest | PartyCancelInviteResponse | PartyCreateRequest | PartyCreateResponse | PartyDeclineInviteRequest | PartyDeclineInviteResponse | PartyInviteRequest | PartyInviteResponse | PartyInvitedEvent | PartyKickMemberRequest | PartyKickMemberResponse | PartyLeaveRequest | PartyLeaveResponse | PartyRemovedEvent | PartyUpdatedEvent | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserInfoRequest | UserInfoResponse | UserSelfEvent | UserSubscribeUpdatesRequest | UserSubscribeUpdatesResponse | UserUnsubscribeUpdatesRequest | UserUnsubscribeUpdatesResponse | UserUpdatedEvent;
1
+ type TachyonCommand = AutohostAddPlayerRequest | AutohostAddPlayerResponse | AutohostInstallEngineRequest | AutohostInstallEngineResponse | AutohostKickPlayerRequest | AutohostKickPlayerResponse | AutohostKillRequest | AutohostKillResponse | AutohostMutePlayerRequest | AutohostMutePlayerResponse | AutohostSendCommandRequest | AutohostSendCommandResponse | AutohostSendMessageRequest | AutohostSendMessageResponse | AutohostSpecPlayersRequest | AutohostSpecPlayersResponse | AutohostStartRequest | AutohostStartResponse | AutohostStatusEvent | AutohostSubscribeUpdatesRequest | AutohostSubscribeUpdatesResponse | AutohostUpdateEvent | BattleStartRequest | BattleStartResponse | FriendAcceptRequestRequest | FriendAcceptRequestResponse | FriendCancelRequestRequest | FriendCancelRequestResponse | FriendListRequest | FriendListResponse | FriendRejectRequestRequest | FriendRejectRequestResponse | FriendRemoveRequest | FriendRemoveResponse | FriendRemovedEvent | FriendRequestAcceptedEvent | FriendRequestCancelledEvent | FriendRequestReceivedEvent | FriendRequestRejectedEvent | FriendSendRequestRequest | FriendSendRequestResponse | LobbyCreateRequest | LobbyCreateResponse | LobbyJoinRequest | LobbyJoinResponse | LobbyLeaveRequest | LobbyLeaveResponse | LobbyLeftEvent | LobbyListResetEvent | LobbyListUpdatedEvent | LobbyStartBattleRequest | LobbyStartBattleResponse | LobbySubscribeListRequest | LobbySubscribeListResponse | LobbyUnsubscribeListRequest | LobbyUnsubscribeListResponse | LobbyUpdatedEvent | MatchmakingCancelRequest | MatchmakingCancelResponse | MatchmakingCancelledEvent | MatchmakingFoundEvent | MatchmakingFoundUpdateEvent | MatchmakingListRequest | MatchmakingListResponse | MatchmakingLostEvent | MatchmakingQueueRequest | MatchmakingQueueResponse | MatchmakingQueueUpdateEvent | MatchmakingQueuesJoinedEvent | MatchmakingReadyRequest | MatchmakingReadyResponse | MessagingReceivedEvent | MessagingSendRequest | MessagingSendResponse | MessagingSubscribeReceivedRequest | MessagingSubscribeReceivedResponse | PartyAcceptInviteRequest | PartyAcceptInviteResponse | PartyCancelInviteRequest | PartyCancelInviteResponse | PartyCreateRequest | PartyCreateResponse | PartyDeclineInviteRequest | PartyDeclineInviteResponse | PartyInviteRequest | PartyInviteResponse | PartyInvitedEvent | PartyKickMemberRequest | PartyKickMemberResponse | PartyLeaveRequest | PartyLeaveResponse | PartyRemovedEvent | PartyUpdatedEvent | SystemDisconnectRequest | SystemDisconnectResponse | SystemServerStatsRequest | SystemServerStatsResponse | UserInfoRequest | UserInfoResponse | UserSelfEvent | UserSubscribeUpdatesRequest | UserSubscribeUpdatesResponse | UserUnsubscribeUpdatesRequest | UserUnsubscribeUpdatesResponse | UserUpdatedEvent;
2
2
  type UserId = string;
3
3
  type AutohostAddPlayerResponse = AutohostAddPlayerOkResponse | AutohostAddPlayerFailResponse;
4
4
  type AutohostInstallEngineResponse = AutohostInstallEngineOkResponse | AutohostInstallEngineFailResponse;
@@ -818,6 +818,7 @@ interface LobbyCreateOkResponse {
818
818
  */
819
819
  interface LobbyCreateOkResponseData {
820
820
  id: string;
821
+ name: string;
821
822
  mapName: string;
822
823
  engineVersion: string;
823
824
  gameVersion: string;
@@ -891,6 +892,7 @@ interface LobbyJoinOkResponse {
891
892
  */
892
893
  interface LobbyJoinOkResponseData {
893
894
  id: string;
895
+ name: string;
894
896
  mapName: string;
895
897
  engineVersion: string;
896
898
  gameVersion: string;
@@ -972,40 +974,22 @@ interface LobbyLeftEventData {
972
974
  id: string;
973
975
  reason: string;
974
976
  }
975
- interface LobbyListUpdatedEvent {
977
+ interface LobbyListResetEvent {
976
978
  type: "event";
977
979
  messageId: string;
978
- commandId: "lobby/listUpdated";
979
- data: LobbyListUpdatedEventData;
980
+ commandId: "lobby/listReset";
981
+ data: LobbyListResetEventData;
980
982
  }
981
- interface LobbyListUpdatedEventData {
982
- updates: ({
983
- type: "removed";
984
- id: string;
985
- } | {
986
- type: "added";
987
- overview: LobbyOverview;
988
- } | {
989
- type: "setList";
990
- overviews: LobbyOverview[];
991
- } | {
992
- type: "updated";
993
- overview: {
994
- id: string;
995
- name?: string;
996
- playerCount?: number;
997
- maxPlayerCount?: number;
998
- mapName?: string;
999
- engineVersion?: string;
1000
- gameVersion?: string;
1001
- currentBattle?: {
1002
- startedAt: UnixTime;
1003
- } | null;
1004
- };
1005
- })[];
983
+ interface LobbyListResetEventData {
984
+ lobbies: {
985
+ [k: string]: LobbyOverview;
986
+ };
1006
987
  }
1007
988
  /**
1008
989
  * Simplified view of a lobby for list display purposes.
990
+ *
991
+ * This interface was referenced by `undefined`'s JSON-Schema definition
992
+ * via the `patternProperty` "^(.*)$".
1009
993
  */
1010
994
  interface LobbyOverview {
1011
995
  id: string;
@@ -1019,6 +1003,32 @@ interface LobbyOverview {
1019
1003
  startedAt: UnixTime;
1020
1004
  } | null;
1021
1005
  }
1006
+ interface LobbyListUpdatedEvent {
1007
+ type: "event";
1008
+ messageId: string;
1009
+ commandId: "lobby/listUpdated";
1010
+ data: LobbyListUpdatedEventData;
1011
+ }
1012
+ interface LobbyListUpdatedEventData {
1013
+ lobbies: {
1014
+ /**
1015
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1016
+ * via the `patternProperty` "^(.*)$".
1017
+ */
1018
+ [k: string]: {
1019
+ id: string;
1020
+ name?: string;
1021
+ playerCount?: number;
1022
+ maxPlayerCount?: number;
1023
+ mapName?: string;
1024
+ engineVersion?: string;
1025
+ gameVersion?: string;
1026
+ currentBattle?: {
1027
+ startedAt: UnixTime;
1028
+ } | null;
1029
+ } | null;
1030
+ };
1031
+ }
1022
1032
  interface LobbyStartBattleRequest {
1023
1033
  type: "request";
1024
1034
  messageId: string;
@@ -1084,6 +1094,7 @@ interface LobbyUpdatedEvent {
1084
1094
  }
1085
1095
  interface LobbyUpdatedEventData {
1086
1096
  id: string;
1097
+ name?: string;
1087
1098
  mapName?: string;
1088
1099
  engineVersion?: string;
1089
1100
  gameVersion?: string;
@@ -1114,9 +1125,9 @@ interface LobbyUpdatedEventData {
1114
1125
  [k: string]: {
1115
1126
  type: "player";
1116
1127
  id: UserId;
1117
- allyTeam: string;
1118
- team: string;
1119
- player: string;
1128
+ allyTeam?: string;
1129
+ team?: string;
1130
+ player?: string;
1120
1131
  } | null;
1121
1132
  };
1122
1133
  currentBattle?: {
@@ -1776,4 +1787,4 @@ interface UserUpdatedEventData {
1776
1787
  }[];
1777
1788
  }
1778
1789
 
1779
- export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostInstallEngineFailResponse, AutohostInstallEngineOkResponse, AutohostInstallEngineRequest, AutohostInstallEngineRequestData, AutohostInstallEngineResponse, 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, FriendAcceptRequestFailResponse, FriendAcceptRequestOkResponse, FriendAcceptRequestRequest, FriendAcceptRequestRequestData, FriendAcceptRequestResponse, FriendCancelRequestFailResponse, FriendCancelRequestOkResponse, FriendCancelRequestRequest, FriendCancelRequestRequestData, FriendCancelRequestResponse, FriendListFailResponse, FriendListOkResponse, FriendListOkResponseData, FriendListRequest, FriendListResponse, FriendRejectRequestFailResponse, FriendRejectRequestOkResponse, FriendRejectRequestRequest, FriendRejectRequestRequestData, FriendRejectRequestResponse, FriendRemoveFailResponse, FriendRemoveOkResponse, FriendRemoveRequest, FriendRemoveRequestData, FriendRemoveResponse, FriendRemovedEvent, FriendRemovedEventData, FriendRequestAcceptedEvent, FriendRequestAcceptedEventData, FriendRequestCancelledEvent, FriendRequestCancelledEventData, FriendRequestReceivedEvent, FriendRequestReceivedEventData, FriendRequestRejectedEvent, FriendRequestRejectedEventData, FriendSendRequestFailResponse, FriendSendRequestOkResponse, FriendSendRequestRequest, FriendSendRequestRequestData, FriendSendRequestResponse, HistoryMarker, LobbyCreateFailResponse, LobbyCreateOkResponse, LobbyCreateOkResponseData, LobbyCreateRequest, LobbyCreateRequestData, LobbyCreateResponse, LobbyJoinFailResponse, LobbyJoinOkResponse, LobbyJoinOkResponseData, LobbyJoinRequest, LobbyJoinRequestData, LobbyJoinResponse, LobbyLeaveFailResponse, LobbyLeaveOkResponse, LobbyLeaveRequest, LobbyLeaveResponse, LobbyLeftEvent, LobbyLeftEventData, LobbyListUpdatedEvent, LobbyListUpdatedEventData, LobbyOverview, LobbyStartBattleFailResponse, LobbyStartBattleOkResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbySubscribeListFailResponse, LobbySubscribeListOkResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyUnsubscribeListFailResponse, LobbyUnsubscribeListOkResponse, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbyUpdatedEvent, LobbyUpdatedEventData, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingCancelledEvent, MatchmakingCancelledEventData, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingQueuesJoinedEvent, MatchmakingQueuesJoinedEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MessagingReceivedEvent, MessagingReceivedEventData, MessagingSendFailResponse, MessagingSendOkResponse, MessagingSendRequest, MessagingSendRequestData, MessagingSendResponse, MessagingSubscribeReceivedFailResponse, MessagingSubscribeReceivedOkResponse, MessagingSubscribeReceivedOkResponseData, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedRequestData, MessagingSubscribeReceivedResponse, PartyAcceptInviteFailResponse, PartyAcceptInviteOkResponse, PartyAcceptInviteRequest, PartyAcceptInviteRequestData, PartyAcceptInviteResponse, PartyCancelInviteFailResponse, PartyCancelInviteOkResponse, PartyCancelInviteRequest, PartyCancelInviteRequestData, PartyCancelInviteResponse, PartyCreateFailResponse, PartyCreateOkResponse, PartyCreateOkResponseData, PartyCreateRequest, PartyCreateResponse, PartyDeclineInviteFailResponse, PartyDeclineInviteOkResponse, PartyDeclineInviteRequest, PartyDeclineInviteRequestData, PartyDeclineInviteResponse, PartyId, PartyInviteFailResponse, PartyInviteOkResponse, PartyInviteRequest, PartyInviteRequestData, PartyInviteResponse, PartyInvitedEvent, PartyInvitedEventData, PartyKickMemberFailResponse, PartyKickMemberOkResponse, PartyKickMemberRequest, PartyKickMemberRequestData, PartyKickMemberResponse, PartyLeaveFailResponse, PartyLeaveOkResponse, PartyLeaveRequest, PartyLeaveResponse, PartyRemovedEvent, PartyRemovedEventData, PartyState, PartyUpdatedEvent, PartyUpdatedEventData, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, PrivateBattle, PrivateUser, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, User, UserId, UserInfoFailResponse, UserInfoOkResponse, UserInfoOkResponseData, UserInfoRequest, UserInfoRequestData, UserInfoResponse, UserSelfEvent, UserSelfEventData, UserSubscribeUpdatesFailResponse, UserSubscribeUpdatesOkResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesRequestData, UserSubscribeUpdatesResponse, UserUnsubscribeUpdatesFailResponse, UserUnsubscribeUpdatesOkResponse, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesRequestData, UserUnsubscribeUpdatesResponse, UserUpdatedEvent, UserUpdatedEventData };
1790
+ export type { AllyTeam, AutohostAddPlayerFailResponse, AutohostAddPlayerOkResponse, AutohostAddPlayerRequest, AutohostAddPlayerRequestData, AutohostAddPlayerResponse, AutohostInstallEngineFailResponse, AutohostInstallEngineOkResponse, AutohostInstallEngineRequest, AutohostInstallEngineRequestData, AutohostInstallEngineResponse, 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, FriendAcceptRequestFailResponse, FriendAcceptRequestOkResponse, FriendAcceptRequestRequest, FriendAcceptRequestRequestData, FriendAcceptRequestResponse, FriendCancelRequestFailResponse, FriendCancelRequestOkResponse, FriendCancelRequestRequest, FriendCancelRequestRequestData, FriendCancelRequestResponse, FriendListFailResponse, FriendListOkResponse, FriendListOkResponseData, FriendListRequest, FriendListResponse, FriendRejectRequestFailResponse, FriendRejectRequestOkResponse, FriendRejectRequestRequest, FriendRejectRequestRequestData, FriendRejectRequestResponse, FriendRemoveFailResponse, FriendRemoveOkResponse, FriendRemoveRequest, FriendRemoveRequestData, FriendRemoveResponse, FriendRemovedEvent, FriendRemovedEventData, FriendRequestAcceptedEvent, FriendRequestAcceptedEventData, FriendRequestCancelledEvent, FriendRequestCancelledEventData, FriendRequestReceivedEvent, FriendRequestReceivedEventData, FriendRequestRejectedEvent, FriendRequestRejectedEventData, FriendSendRequestFailResponse, FriendSendRequestOkResponse, FriendSendRequestRequest, FriendSendRequestRequestData, FriendSendRequestResponse, HistoryMarker, LobbyCreateFailResponse, LobbyCreateOkResponse, LobbyCreateOkResponseData, LobbyCreateRequest, LobbyCreateRequestData, LobbyCreateResponse, LobbyJoinFailResponse, LobbyJoinOkResponse, LobbyJoinOkResponseData, LobbyJoinRequest, LobbyJoinRequestData, LobbyJoinResponse, LobbyLeaveFailResponse, LobbyLeaveOkResponse, LobbyLeaveRequest, LobbyLeaveResponse, LobbyLeftEvent, LobbyLeftEventData, LobbyListResetEvent, LobbyListResetEventData, LobbyListUpdatedEvent, LobbyListUpdatedEventData, LobbyOverview, LobbyStartBattleFailResponse, LobbyStartBattleOkResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbySubscribeListFailResponse, LobbySubscribeListOkResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyUnsubscribeListFailResponse, LobbyUnsubscribeListOkResponse, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbyUpdatedEvent, LobbyUpdatedEventData, LuaMsgUpdate, MatchmakingCancelFailResponse, MatchmakingCancelOkResponse, MatchmakingCancelRequest, MatchmakingCancelResponse, MatchmakingCancelledEvent, MatchmakingCancelledEventData, MatchmakingFoundEvent, MatchmakingFoundEventData, MatchmakingFoundUpdateEvent, MatchmakingFoundUpdateEventData, MatchmakingListFailResponse, MatchmakingListOkResponse, MatchmakingListOkResponseData, MatchmakingListRequest, MatchmakingListResponse, MatchmakingLostEvent, MatchmakingQueueFailResponse, MatchmakingQueueOkResponse, MatchmakingQueueRequest, MatchmakingQueueRequestData, MatchmakingQueueResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueUpdateEventData, MatchmakingQueuesJoinedEvent, MatchmakingQueuesJoinedEventData, MatchmakingReadyFailResponse, MatchmakingReadyOkResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MessagingReceivedEvent, MessagingReceivedEventData, MessagingSendFailResponse, MessagingSendOkResponse, MessagingSendRequest, MessagingSendRequestData, MessagingSendResponse, MessagingSubscribeReceivedFailResponse, MessagingSubscribeReceivedOkResponse, MessagingSubscribeReceivedOkResponseData, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedRequestData, MessagingSubscribeReceivedResponse, PartyAcceptInviteFailResponse, PartyAcceptInviteOkResponse, PartyAcceptInviteRequest, PartyAcceptInviteRequestData, PartyAcceptInviteResponse, PartyCancelInviteFailResponse, PartyCancelInviteOkResponse, PartyCancelInviteRequest, PartyCancelInviteRequestData, PartyCancelInviteResponse, PartyCreateFailResponse, PartyCreateOkResponse, PartyCreateOkResponseData, PartyCreateRequest, PartyCreateResponse, PartyDeclineInviteFailResponse, PartyDeclineInviteOkResponse, PartyDeclineInviteRequest, PartyDeclineInviteRequestData, PartyDeclineInviteResponse, PartyId, PartyInviteFailResponse, PartyInviteOkResponse, PartyInviteRequest, PartyInviteRequestData, PartyInviteResponse, PartyInvitedEvent, PartyInvitedEventData, PartyKickMemberFailResponse, PartyKickMemberOkResponse, PartyKickMemberRequest, PartyKickMemberRequestData, PartyKickMemberResponse, PartyLeaveFailResponse, PartyLeaveOkResponse, PartyLeaveRequest, PartyLeaveResponse, PartyRemovedEvent, PartyRemovedEventData, PartyState, PartyUpdatedEvent, PartyUpdatedEventData, Player, PlayerChatUpdate, PlayerDefeatedUpdate, PlayerJoinedUpdate, PlayerLeftUpdate, PrivateBattle, PrivateUser, StartBox, StartPosType, StartUpdate, SystemDisconnectFailResponse, SystemDisconnectOkResponse, SystemDisconnectRequest, SystemDisconnectRequestData, SystemDisconnectResponse, SystemServerStatsFailResponse, SystemServerStatsOkResponse, SystemServerStatsOkResponseData, SystemServerStatsRequest, SystemServerStatsResponse, TachyonCommand, Team, UnixTime, User, UserId, UserInfoFailResponse, UserInfoOkResponse, UserInfoOkResponseData, UserInfoRequest, UserInfoRequestData, UserInfoResponse, UserSelfEvent, UserSelfEventData, UserSubscribeUpdatesFailResponse, UserSubscribeUpdatesOkResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesRequestData, UserSubscribeUpdatesResponse, UserUnsubscribeUpdatesFailResponse, UserUnsubscribeUpdatesOkResponse, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesRequestData, UserUnsubscribeUpdatesResponse, UserUpdatedEvent, UserUpdatedEventData };
@@ -1,5 +1,5 @@
1
1
  import type { ValidateFunction } from "ajv"
2
- import type { UserUpdatedEvent, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesResponse, UserSelfEvent, UserInfoRequest, UserInfoResponse, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, PartyUpdatedEvent, PartyRemovedEvent, PartyLeaveRequest, PartyLeaveResponse, PartyKickMemberRequest, PartyKickMemberResponse, PartyInvitedEvent, PartyInviteRequest, PartyInviteResponse, PartyDeclineInviteRequest, PartyDeclineInviteResponse, PartyCreateRequest, PartyCreateResponse, PartyCancelInviteRequest, PartyCancelInviteResponse, PartyAcceptInviteRequest, PartyAcceptInviteResponse, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedResponse, MessagingSendRequest, MessagingSendResponse, MessagingReceivedEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueuesJoinedEvent, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, LobbyUpdatedEvent, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbyListUpdatedEvent, LobbyLeftEvent, LobbyLeaveRequest, LobbyLeaveResponse, LobbyJoinRequest, LobbyJoinResponse, LobbyCreateRequest, LobbyCreateResponse, FriendSendRequestRequest, FriendSendRequestResponse, FriendRequestRejectedEvent, FriendRequestReceivedEvent, FriendRequestCancelledEvent, FriendRequestAcceptedEvent, FriendRemovedEvent, FriendRemoveRequest, FriendRemoveResponse, FriendRejectRequestRequest, FriendRejectRequestResponse, FriendListRequest, FriendListResponse, FriendCancelRequestRequest, FriendCancelRequestResponse, FriendAcceptRequestRequest, FriendAcceptRequestResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostInstallEngineRequest, AutohostInstallEngineResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.mjs";
2
+ import type { UserUpdatedEvent, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesResponse, UserSelfEvent, UserInfoRequest, UserInfoResponse, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, PartyUpdatedEvent, PartyRemovedEvent, PartyLeaveRequest, PartyLeaveResponse, PartyKickMemberRequest, PartyKickMemberResponse, PartyInvitedEvent, PartyInviteRequest, PartyInviteResponse, PartyDeclineInviteRequest, PartyDeclineInviteResponse, PartyCreateRequest, PartyCreateResponse, PartyCancelInviteRequest, PartyCancelInviteResponse, PartyAcceptInviteRequest, PartyAcceptInviteResponse, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedResponse, MessagingSendRequest, MessagingSendResponse, MessagingReceivedEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueuesJoinedEvent, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, LobbyUpdatedEvent, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbyListUpdatedEvent, LobbyListResetEvent, LobbyLeftEvent, LobbyLeaveRequest, LobbyLeaveResponse, LobbyJoinRequest, LobbyJoinResponse, LobbyCreateRequest, LobbyCreateResponse, FriendSendRequestRequest, FriendSendRequestResponse, FriendRequestRejectedEvent, FriendRequestReceivedEvent, FriendRequestCancelledEvent, FriendRequestAcceptedEvent, FriendRemovedEvent, FriendRemoveRequest, FriendRemoveResponse, FriendRejectRequestRequest, FriendRejectRequestResponse, FriendListRequest, FriendListResponse, FriendCancelRequestRequest, FriendCancelRequestResponse, FriendAcceptRequestRequest, FriendAcceptRequestResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostInstallEngineRequest, AutohostInstallEngineResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.mjs";
3
3
 
4
4
  declare const user_updated_event: ValidateFunction<UserUpdatedEvent>;
5
5
  declare const user_unsubscribeUpdates_request: ValidateFunction<UserUnsubscribeUpdatesRequest>;
@@ -57,6 +57,7 @@ declare const lobby_subscribeList_response: ValidateFunction<LobbySubscribeListR
57
57
  declare const lobby_startBattle_request: ValidateFunction<LobbyStartBattleRequest>;
58
58
  declare const lobby_startBattle_response: ValidateFunction<LobbyStartBattleResponse>;
59
59
  declare const lobby_listUpdated_event: ValidateFunction<LobbyListUpdatedEvent>;
60
+ declare const lobby_listReset_event: ValidateFunction<LobbyListResetEvent>;
60
61
  declare const lobby_left_event: ValidateFunction<LobbyLeftEvent>;
61
62
  declare const lobby_leave_request: ValidateFunction<LobbyLeaveRequest>;
62
63
  declare const lobby_leave_response: ValidateFunction<LobbyLeaveResponse>;
@@ -233,6 +234,9 @@ declare const validator: {
233
234
  readonly "lobby/listUpdated": {
234
235
  readonly "event": ValidateFunction<LobbyListUpdatedEvent>;
235
236
  };
237
+ readonly "lobby/listReset": {
238
+ readonly "event": ValidateFunction<LobbyListResetEvent>;
239
+ };
236
240
  readonly "lobby/left": {
237
241
  readonly "event": ValidateFunction<LobbyLeftEvent>;
238
242
  };
@@ -339,4 +343,4 @@ declare const validator: {
339
343
  };
340
344
  };
341
345
 
342
- export { validator, user_updated_event, user_unsubscribeUpdates_request, user_unsubscribeUpdates_response, user_subscribeUpdates_request, user_subscribeUpdates_response, user_self_event, user_info_request, user_info_response, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, party_updated_event, party_removed_event, party_leave_request, party_leave_response, party_kickMember_request, party_kickMember_response, party_invited_event, party_invite_request, party_invite_response, party_declineInvite_request, party_declineInvite_response, party_create_request, party_create_response, party_cancelInvite_request, party_cancelInvite_response, party_acceptInvite_request, party_acceptInvite_response, messaging_subscribeReceived_request, messaging_subscribeReceived_response, messaging_send_request, messaging_send_response, messaging_received_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queuesJoined_event, 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, lobby_updated_event, lobby_unsubscribeList_request, lobby_unsubscribeList_response, lobby_subscribeList_request, lobby_subscribeList_response, lobby_startBattle_request, lobby_startBattle_response, lobby_listUpdated_event, lobby_left_event, lobby_leave_request, lobby_leave_response, lobby_join_request, lobby_join_response, lobby_create_request, lobby_create_response, friend_sendRequest_request, friend_sendRequest_response, friend_requestRejected_event, friend_requestReceived_event, friend_requestCancelled_event, friend_requestAccepted_event, friend_removed_event, friend_remove_request, friend_remove_response, friend_rejectRequest_request, friend_rejectRequest_response, friend_list_request, friend_list_response, friend_cancelRequest_request, friend_cancelRequest_response, friend_acceptRequest_request, friend_acceptRequest_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_installEngine_request, autohost_installEngine_response, autohost_addPlayer_request, autohost_addPlayer_response };
346
+ export { validator, user_updated_event, user_unsubscribeUpdates_request, user_unsubscribeUpdates_response, user_subscribeUpdates_request, user_subscribeUpdates_response, user_self_event, user_info_request, user_info_response, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, party_updated_event, party_removed_event, party_leave_request, party_leave_response, party_kickMember_request, party_kickMember_response, party_invited_event, party_invite_request, party_invite_response, party_declineInvite_request, party_declineInvite_response, party_create_request, party_create_response, party_cancelInvite_request, party_cancelInvite_response, party_acceptInvite_request, party_acceptInvite_response, messaging_subscribeReceived_request, messaging_subscribeReceived_response, messaging_send_request, messaging_send_response, messaging_received_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queuesJoined_event, 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, lobby_updated_event, lobby_unsubscribeList_request, lobby_unsubscribeList_response, lobby_subscribeList_request, lobby_subscribeList_response, lobby_startBattle_request, lobby_startBattle_response, lobby_listUpdated_event, lobby_listReset_event, lobby_left_event, lobby_leave_request, lobby_leave_response, lobby_join_request, lobby_join_response, lobby_create_request, lobby_create_response, friend_sendRequest_request, friend_sendRequest_response, friend_requestRejected_event, friend_requestReceived_event, friend_requestCancelled_event, friend_requestAccepted_event, friend_removed_event, friend_remove_request, friend_remove_response, friend_rejectRequest_request, friend_rejectRequest_response, friend_list_request, friend_list_response, friend_cancelRequest_request, friend_cancelRequest_response, friend_acceptRequest_request, friend_acceptRequest_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_installEngine_request, autohost_installEngine_response, autohost_addPlayer_request, autohost_addPlayer_response };
@@ -1,5 +1,5 @@
1
1
  import type { ValidateFunction } from "ajv"
2
- import type { UserUpdatedEvent, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesResponse, UserSelfEvent, UserInfoRequest, UserInfoResponse, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, PartyUpdatedEvent, PartyRemovedEvent, PartyLeaveRequest, PartyLeaveResponse, PartyKickMemberRequest, PartyKickMemberResponse, PartyInvitedEvent, PartyInviteRequest, PartyInviteResponse, PartyDeclineInviteRequest, PartyDeclineInviteResponse, PartyCreateRequest, PartyCreateResponse, PartyCancelInviteRequest, PartyCancelInviteResponse, PartyAcceptInviteRequest, PartyAcceptInviteResponse, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedResponse, MessagingSendRequest, MessagingSendResponse, MessagingReceivedEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueuesJoinedEvent, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, LobbyUpdatedEvent, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbyListUpdatedEvent, LobbyLeftEvent, LobbyLeaveRequest, LobbyLeaveResponse, LobbyJoinRequest, LobbyJoinResponse, LobbyCreateRequest, LobbyCreateResponse, FriendSendRequestRequest, FriendSendRequestResponse, FriendRequestRejectedEvent, FriendRequestReceivedEvent, FriendRequestCancelledEvent, FriendRequestAcceptedEvent, FriendRemovedEvent, FriendRemoveRequest, FriendRemoveResponse, FriendRejectRequestRequest, FriendRejectRequestResponse, FriendListRequest, FriendListResponse, FriendCancelRequestRequest, FriendCancelRequestResponse, FriendAcceptRequestRequest, FriendAcceptRequestResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostInstallEngineRequest, AutohostInstallEngineResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.js";
2
+ import type { UserUpdatedEvent, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesResponse, UserSelfEvent, UserInfoRequest, UserInfoResponse, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, PartyUpdatedEvent, PartyRemovedEvent, PartyLeaveRequest, PartyLeaveResponse, PartyKickMemberRequest, PartyKickMemberResponse, PartyInvitedEvent, PartyInviteRequest, PartyInviteResponse, PartyDeclineInviteRequest, PartyDeclineInviteResponse, PartyCreateRequest, PartyCreateResponse, PartyCancelInviteRequest, PartyCancelInviteResponse, PartyAcceptInviteRequest, PartyAcceptInviteResponse, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedResponse, MessagingSendRequest, MessagingSendResponse, MessagingReceivedEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueuesJoinedEvent, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, LobbyUpdatedEvent, LobbyUnsubscribeListRequest, LobbyUnsubscribeListResponse, LobbySubscribeListRequest, LobbySubscribeListResponse, LobbyStartBattleRequest, LobbyStartBattleResponse, LobbyListUpdatedEvent, LobbyListResetEvent, LobbyLeftEvent, LobbyLeaveRequest, LobbyLeaveResponse, LobbyJoinRequest, LobbyJoinResponse, LobbyCreateRequest, LobbyCreateResponse, FriendSendRequestRequest, FriendSendRequestResponse, FriendRequestRejectedEvent, FriendRequestReceivedEvent, FriendRequestCancelledEvent, FriendRequestAcceptedEvent, FriendRemovedEvent, FriendRemoveRequest, FriendRemoveResponse, FriendRejectRequestRequest, FriendRejectRequestResponse, FriendListRequest, FriendListResponse, FriendCancelRequestRequest, FriendCancelRequestResponse, FriendAcceptRequestRequest, FriendAcceptRequestResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostInstallEngineRequest, AutohostInstallEngineResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.js";
3
3
 
4
4
  declare const user_updated_event: ValidateFunction<UserUpdatedEvent>;
5
5
  declare const user_unsubscribeUpdates_request: ValidateFunction<UserUnsubscribeUpdatesRequest>;
@@ -57,6 +57,7 @@ declare const lobby_subscribeList_response: ValidateFunction<LobbySubscribeListR
57
57
  declare const lobby_startBattle_request: ValidateFunction<LobbyStartBattleRequest>;
58
58
  declare const lobby_startBattle_response: ValidateFunction<LobbyStartBattleResponse>;
59
59
  declare const lobby_listUpdated_event: ValidateFunction<LobbyListUpdatedEvent>;
60
+ declare const lobby_listReset_event: ValidateFunction<LobbyListResetEvent>;
60
61
  declare const lobby_left_event: ValidateFunction<LobbyLeftEvent>;
61
62
  declare const lobby_leave_request: ValidateFunction<LobbyLeaveRequest>;
62
63
  declare const lobby_leave_response: ValidateFunction<LobbyLeaveResponse>;
@@ -233,6 +234,9 @@ declare const validator: {
233
234
  readonly "lobby/listUpdated": {
234
235
  readonly "event": ValidateFunction<LobbyListUpdatedEvent>;
235
236
  };
237
+ readonly "lobby/listReset": {
238
+ readonly "event": ValidateFunction<LobbyListResetEvent>;
239
+ };
236
240
  readonly "lobby/left": {
237
241
  readonly "event": ValidateFunction<LobbyLeftEvent>;
238
242
  };
@@ -339,4 +343,4 @@ declare const validator: {
339
343
  };
340
344
  };
341
345
 
342
- export { validator, user_updated_event, user_unsubscribeUpdates_request, user_unsubscribeUpdates_response, user_subscribeUpdates_request, user_subscribeUpdates_response, user_self_event, user_info_request, user_info_response, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, party_updated_event, party_removed_event, party_leave_request, party_leave_response, party_kickMember_request, party_kickMember_response, party_invited_event, party_invite_request, party_invite_response, party_declineInvite_request, party_declineInvite_response, party_create_request, party_create_response, party_cancelInvite_request, party_cancelInvite_response, party_acceptInvite_request, party_acceptInvite_response, messaging_subscribeReceived_request, messaging_subscribeReceived_response, messaging_send_request, messaging_send_response, messaging_received_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queuesJoined_event, 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, lobby_updated_event, lobby_unsubscribeList_request, lobby_unsubscribeList_response, lobby_subscribeList_request, lobby_subscribeList_response, lobby_startBattle_request, lobby_startBattle_response, lobby_listUpdated_event, lobby_left_event, lobby_leave_request, lobby_leave_response, lobby_join_request, lobby_join_response, lobby_create_request, lobby_create_response, friend_sendRequest_request, friend_sendRequest_response, friend_requestRejected_event, friend_requestReceived_event, friend_requestCancelled_event, friend_requestAccepted_event, friend_removed_event, friend_remove_request, friend_remove_response, friend_rejectRequest_request, friend_rejectRequest_response, friend_list_request, friend_list_response, friend_cancelRequest_request, friend_cancelRequest_response, friend_acceptRequest_request, friend_acceptRequest_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_installEngine_request, autohost_installEngine_response, autohost_addPlayer_request, autohost_addPlayer_response };
346
+ export { validator, user_updated_event, user_unsubscribeUpdates_request, user_unsubscribeUpdates_response, user_subscribeUpdates_request, user_subscribeUpdates_response, user_self_event, user_info_request, user_info_response, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, party_updated_event, party_removed_event, party_leave_request, party_leave_response, party_kickMember_request, party_kickMember_response, party_invited_event, party_invite_request, party_invite_response, party_declineInvite_request, party_declineInvite_response, party_create_request, party_create_response, party_cancelInvite_request, party_cancelInvite_response, party_acceptInvite_request, party_acceptInvite_response, messaging_subscribeReceived_request, messaging_subscribeReceived_response, messaging_send_request, messaging_send_response, messaging_received_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queuesJoined_event, 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, lobby_updated_event, lobby_unsubscribeList_request, lobby_unsubscribeList_response, lobby_subscribeList_request, lobby_subscribeList_response, lobby_startBattle_request, lobby_startBattle_response, lobby_listUpdated_event, lobby_listReset_event, lobby_left_event, lobby_leave_request, lobby_leave_response, lobby_join_request, lobby_join_response, lobby_create_request, lobby_create_response, friend_sendRequest_request, friend_sendRequest_response, friend_requestRejected_event, friend_requestReceived_event, friend_requestCancelled_event, friend_requestAccepted_event, friend_removed_event, friend_remove_request, friend_remove_response, friend_rejectRequest_request, friend_rejectRequest_response, friend_list_request, friend_list_response, friend_cancelRequest_request, friend_cancelRequest_response, friend_acceptRequest_request, friend_acceptRequest_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_installEngine_request, autohost_installEngine_response, autohost_addPlayer_request, autohost_addPlayer_response };