tachyon-protocol 1.14.2 → 1.14.4
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 +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.js +38 -1
- package/dist/index.mjs +38 -1
- package/dist/types.d.mts +100 -9
- package/dist/types.d.ts +100 -9
- package/dist/validators.d.mts +20 -2
- package/dist/validators.d.ts +20 -2
- package/dist/validators.js +1 -1
- package/dist/validators.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.mjs';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.14.
|
|
4
|
+
readonly version: "1.14.4";
|
|
5
5
|
readonly schema: {
|
|
6
6
|
readonly actors: {
|
|
7
7
|
readonly server: {
|
|
8
8
|
readonly request: {
|
|
9
9
|
readonly send: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
10
|
-
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
10
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
13
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
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: {
|
|
@@ -20,12 +20,12 @@ declare const tachyonMeta: {
|
|
|
20
20
|
};
|
|
21
21
|
readonly user: {
|
|
22
22
|
readonly request: {
|
|
23
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
23
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
24
24
|
readonly receive: readonly ["battle/start"];
|
|
25
25
|
};
|
|
26
26
|
readonly response: {
|
|
27
27
|
readonly send: readonly ["battle/start"];
|
|
28
|
-
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
28
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
@@ -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", "listReset", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
|
|
54
|
+
readonly lobby: readonly ["create", "join", "joinAllyTeam", "joinQueue", "leave", "left", "listReset", "listUpdated", "spectate", "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"];
|
|
@@ -78,7 +78,10 @@ declare const tachyonMeta: {
|
|
|
78
78
|
readonly "friend/sendRequest": readonly ["invalid_user", "already_in_friendlist", "outgoing_capacity_reached", "incoming_capacity_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
79
|
readonly "lobby/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
80
|
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
|
+
readonly "lobby/joinAllyTeam": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
|
+
readonly "lobby/joinQueue": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
83
|
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
|
+
readonly "lobby/spectate": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
85
|
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
83
86
|
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
87
|
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.js';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.14.
|
|
4
|
+
readonly version: "1.14.4";
|
|
5
5
|
readonly schema: {
|
|
6
6
|
readonly actors: {
|
|
7
7
|
readonly server: {
|
|
8
8
|
readonly request: {
|
|
9
9
|
readonly send: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
10
|
-
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
10
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
13
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
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: {
|
|
@@ -20,12 +20,12 @@ declare const tachyonMeta: {
|
|
|
20
20
|
};
|
|
21
21
|
readonly user: {
|
|
22
22
|
readonly request: {
|
|
23
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
23
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
24
24
|
readonly receive: readonly ["battle/start"];
|
|
25
25
|
};
|
|
26
26
|
readonly response: {
|
|
27
27
|
readonly send: readonly ["battle/start"];
|
|
28
|
-
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
28
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
@@ -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", "listReset", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
|
|
54
|
+
readonly lobby: readonly ["create", "join", "joinAllyTeam", "joinQueue", "leave", "left", "listReset", "listUpdated", "spectate", "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"];
|
|
@@ -78,7 +78,10 @@ declare const tachyonMeta: {
|
|
|
78
78
|
readonly "friend/sendRequest": readonly ["invalid_user", "already_in_friendlist", "outgoing_capacity_reached", "incoming_capacity_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
79
|
readonly "lobby/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
80
|
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
|
+
readonly "lobby/joinAllyTeam": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
|
+
readonly "lobby/joinQueue": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
83
|
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
|
+
readonly "lobby/spectate": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
85
|
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
83
86
|
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
87
|
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
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.
|
|
27
|
+
"version": "1.14.4",
|
|
28
28
|
"schema": {
|
|
29
29
|
"actors": {
|
|
30
30
|
"server": {
|
|
@@ -51,7 +51,10 @@ var tachyonMeta = {
|
|
|
51
51
|
"friend/sendRequest",
|
|
52
52
|
"lobby/create",
|
|
53
53
|
"lobby/join",
|
|
54
|
+
"lobby/joinAllyTeam",
|
|
55
|
+
"lobby/joinQueue",
|
|
54
56
|
"lobby/leave",
|
|
57
|
+
"lobby/spectate",
|
|
55
58
|
"lobby/startBattle",
|
|
56
59
|
"lobby/subscribeList",
|
|
57
60
|
"lobby/unsubscribeList",
|
|
@@ -85,7 +88,10 @@ var tachyonMeta = {
|
|
|
85
88
|
"friend/sendRequest",
|
|
86
89
|
"lobby/create",
|
|
87
90
|
"lobby/join",
|
|
91
|
+
"lobby/joinAllyTeam",
|
|
92
|
+
"lobby/joinQueue",
|
|
88
93
|
"lobby/leave",
|
|
94
|
+
"lobby/spectate",
|
|
89
95
|
"lobby/startBattle",
|
|
90
96
|
"lobby/subscribeList",
|
|
91
97
|
"lobby/unsubscribeList",
|
|
@@ -163,7 +169,10 @@ var tachyonMeta = {
|
|
|
163
169
|
"friend/sendRequest",
|
|
164
170
|
"lobby/create",
|
|
165
171
|
"lobby/join",
|
|
172
|
+
"lobby/joinAllyTeam",
|
|
173
|
+
"lobby/joinQueue",
|
|
166
174
|
"lobby/leave",
|
|
175
|
+
"lobby/spectate",
|
|
167
176
|
"lobby/startBattle",
|
|
168
177
|
"lobby/subscribeList",
|
|
169
178
|
"lobby/unsubscribeList",
|
|
@@ -203,7 +212,10 @@ var tachyonMeta = {
|
|
|
203
212
|
"friend/sendRequest",
|
|
204
213
|
"lobby/create",
|
|
205
214
|
"lobby/join",
|
|
215
|
+
"lobby/joinAllyTeam",
|
|
216
|
+
"lobby/joinQueue",
|
|
206
217
|
"lobby/leave",
|
|
218
|
+
"lobby/spectate",
|
|
207
219
|
"lobby/startBattle",
|
|
208
220
|
"lobby/subscribeList",
|
|
209
221
|
"lobby/unsubscribeList",
|
|
@@ -328,10 +340,13 @@ var tachyonMeta = {
|
|
|
328
340
|
"lobby": [
|
|
329
341
|
"create",
|
|
330
342
|
"join",
|
|
343
|
+
"joinAllyTeam",
|
|
344
|
+
"joinQueue",
|
|
331
345
|
"leave",
|
|
332
346
|
"left",
|
|
333
347
|
"listReset",
|
|
334
348
|
"listUpdated",
|
|
349
|
+
"spectate",
|
|
335
350
|
"startBattle",
|
|
336
351
|
"subscribeList",
|
|
337
352
|
"unsubscribeList",
|
|
@@ -507,12 +522,34 @@ var tachyonMeta = {
|
|
|
507
522
|
"invalid_request",
|
|
508
523
|
"command_unimplemented"
|
|
509
524
|
],
|
|
525
|
+
"lobby/joinAllyTeam": [
|
|
526
|
+
"not_in_lobby",
|
|
527
|
+
"ally_team_full",
|
|
528
|
+
"internal_error",
|
|
529
|
+
"unauthorized",
|
|
530
|
+
"invalid_request",
|
|
531
|
+
"command_unimplemented"
|
|
532
|
+
],
|
|
533
|
+
"lobby/joinQueue": [
|
|
534
|
+
"not_in_lobby",
|
|
535
|
+
"internal_error",
|
|
536
|
+
"unauthorized",
|
|
537
|
+
"invalid_request",
|
|
538
|
+
"command_unimplemented"
|
|
539
|
+
],
|
|
510
540
|
"lobby/leave": [
|
|
511
541
|
"internal_error",
|
|
512
542
|
"unauthorized",
|
|
513
543
|
"invalid_request",
|
|
514
544
|
"command_unimplemented"
|
|
515
545
|
],
|
|
546
|
+
"lobby/spectate": [
|
|
547
|
+
"not_in_lobby",
|
|
548
|
+
"internal_error",
|
|
549
|
+
"unauthorized",
|
|
550
|
+
"invalid_request",
|
|
551
|
+
"command_unimplemented"
|
|
552
|
+
],
|
|
516
553
|
"lobby/startBattle": [
|
|
517
554
|
"internal_error",
|
|
518
555
|
"unauthorized",
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// dist/index.ts
|
|
2
2
|
var tachyonMeta = {
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.4",
|
|
4
4
|
"schema": {
|
|
5
5
|
"actors": {
|
|
6
6
|
"server": {
|
|
@@ -27,7 +27,10 @@ var tachyonMeta = {
|
|
|
27
27
|
"friend/sendRequest",
|
|
28
28
|
"lobby/create",
|
|
29
29
|
"lobby/join",
|
|
30
|
+
"lobby/joinAllyTeam",
|
|
31
|
+
"lobby/joinQueue",
|
|
30
32
|
"lobby/leave",
|
|
33
|
+
"lobby/spectate",
|
|
31
34
|
"lobby/startBattle",
|
|
32
35
|
"lobby/subscribeList",
|
|
33
36
|
"lobby/unsubscribeList",
|
|
@@ -61,7 +64,10 @@ var tachyonMeta = {
|
|
|
61
64
|
"friend/sendRequest",
|
|
62
65
|
"lobby/create",
|
|
63
66
|
"lobby/join",
|
|
67
|
+
"lobby/joinAllyTeam",
|
|
68
|
+
"lobby/joinQueue",
|
|
64
69
|
"lobby/leave",
|
|
70
|
+
"lobby/spectate",
|
|
65
71
|
"lobby/startBattle",
|
|
66
72
|
"lobby/subscribeList",
|
|
67
73
|
"lobby/unsubscribeList",
|
|
@@ -139,7 +145,10 @@ var tachyonMeta = {
|
|
|
139
145
|
"friend/sendRequest",
|
|
140
146
|
"lobby/create",
|
|
141
147
|
"lobby/join",
|
|
148
|
+
"lobby/joinAllyTeam",
|
|
149
|
+
"lobby/joinQueue",
|
|
142
150
|
"lobby/leave",
|
|
151
|
+
"lobby/spectate",
|
|
143
152
|
"lobby/startBattle",
|
|
144
153
|
"lobby/subscribeList",
|
|
145
154
|
"lobby/unsubscribeList",
|
|
@@ -179,7 +188,10 @@ var tachyonMeta = {
|
|
|
179
188
|
"friend/sendRequest",
|
|
180
189
|
"lobby/create",
|
|
181
190
|
"lobby/join",
|
|
191
|
+
"lobby/joinAllyTeam",
|
|
192
|
+
"lobby/joinQueue",
|
|
182
193
|
"lobby/leave",
|
|
194
|
+
"lobby/spectate",
|
|
183
195
|
"lobby/startBattle",
|
|
184
196
|
"lobby/subscribeList",
|
|
185
197
|
"lobby/unsubscribeList",
|
|
@@ -304,10 +316,13 @@ var tachyonMeta = {
|
|
|
304
316
|
"lobby": [
|
|
305
317
|
"create",
|
|
306
318
|
"join",
|
|
319
|
+
"joinAllyTeam",
|
|
320
|
+
"joinQueue",
|
|
307
321
|
"leave",
|
|
308
322
|
"left",
|
|
309
323
|
"listReset",
|
|
310
324
|
"listUpdated",
|
|
325
|
+
"spectate",
|
|
311
326
|
"startBattle",
|
|
312
327
|
"subscribeList",
|
|
313
328
|
"unsubscribeList",
|
|
@@ -483,12 +498,34 @@ var tachyonMeta = {
|
|
|
483
498
|
"invalid_request",
|
|
484
499
|
"command_unimplemented"
|
|
485
500
|
],
|
|
501
|
+
"lobby/joinAllyTeam": [
|
|
502
|
+
"not_in_lobby",
|
|
503
|
+
"ally_team_full",
|
|
504
|
+
"internal_error",
|
|
505
|
+
"unauthorized",
|
|
506
|
+
"invalid_request",
|
|
507
|
+
"command_unimplemented"
|
|
508
|
+
],
|
|
509
|
+
"lobby/joinQueue": [
|
|
510
|
+
"not_in_lobby",
|
|
511
|
+
"internal_error",
|
|
512
|
+
"unauthorized",
|
|
513
|
+
"invalid_request",
|
|
514
|
+
"command_unimplemented"
|
|
515
|
+
],
|
|
486
516
|
"lobby/leave": [
|
|
487
517
|
"internal_error",
|
|
488
518
|
"unauthorized",
|
|
489
519
|
"invalid_request",
|
|
490
520
|
"command_unimplemented"
|
|
491
521
|
],
|
|
522
|
+
"lobby/spectate": [
|
|
523
|
+
"not_in_lobby",
|
|
524
|
+
"internal_error",
|
|
525
|
+
"unauthorized",
|
|
526
|
+
"invalid_request",
|
|
527
|
+
"command_unimplemented"
|
|
528
|
+
],
|
|
492
529
|
"lobby/startBattle": [
|
|
493
530
|
"internal_error",
|
|
494
531
|
"unauthorized",
|
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 | 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;
|
|
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 | LobbyJoinAllyTeamRequest | LobbyJoinAllyTeamResponse | LobbyJoinQueueRequest | LobbyJoinQueueResponse | LobbyLeaveRequest | LobbyLeaveResponse | LobbyLeftEvent | LobbyListResetEvent | LobbyListUpdatedEvent | LobbySpectateRequest | LobbySpectateResponse | 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;
|
|
@@ -36,7 +36,10 @@ type FriendRemoveResponse = FriendRemoveOkResponse | FriendRemoveFailResponse;
|
|
|
36
36
|
type FriendSendRequestResponse = FriendSendRequestOkResponse | FriendSendRequestFailResponse;
|
|
37
37
|
type LobbyCreateResponse = LobbyCreateOkResponse | LobbyCreateFailResponse;
|
|
38
38
|
type LobbyJoinResponse = LobbyJoinOkResponse | LobbyJoinFailResponse;
|
|
39
|
+
type LobbyJoinAllyTeamResponse = LobbyJoinAllyTeamOkResponse | LobbyJoinAllyTeamFailResponse;
|
|
40
|
+
type LobbyJoinQueueResponse = LobbyJoinQueueOkResponse | LobbyJoinQueueFailResponse;
|
|
39
41
|
type LobbyLeaveResponse = LobbyLeaveOkResponse | LobbyLeaveFailResponse;
|
|
42
|
+
type LobbySpectateResponse = LobbySpectateOkResponse | LobbySpectateFailResponse;
|
|
40
43
|
type LobbyStartBattleResponse = LobbyStartBattleOkResponse | LobbyStartBattleFailResponse;
|
|
41
44
|
type LobbySubscribeListResponse = LobbySubscribeListOkResponse | LobbySubscribeListFailResponse;
|
|
42
45
|
type LobbyUnsubscribeListResponse = LobbyUnsubscribeListOkResponse | LobbyUnsubscribeListFailResponse;
|
|
@@ -843,19 +846,28 @@ interface LobbyCreateOkResponseData {
|
|
|
843
846
|
};
|
|
844
847
|
};
|
|
845
848
|
};
|
|
846
|
-
|
|
849
|
+
players: {
|
|
847
850
|
/**
|
|
848
851
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
849
852
|
* via the `patternProperty` "^(.*)$".
|
|
850
853
|
*/
|
|
851
854
|
[k: string]: {
|
|
852
|
-
type: "player";
|
|
853
855
|
id: UserId;
|
|
854
856
|
allyTeam: string;
|
|
855
857
|
team: string;
|
|
856
858
|
player: string;
|
|
857
859
|
};
|
|
858
860
|
};
|
|
861
|
+
spectators: {
|
|
862
|
+
/**
|
|
863
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
864
|
+
* via the `patternProperty` "^(.*)$".
|
|
865
|
+
*/
|
|
866
|
+
[k: string]: {
|
|
867
|
+
id: UserId;
|
|
868
|
+
joinQueuePosition?: number;
|
|
869
|
+
};
|
|
870
|
+
};
|
|
859
871
|
/**
|
|
860
872
|
* If a battle is currently happening, here are the info
|
|
861
873
|
*/
|
|
@@ -917,19 +929,28 @@ interface LobbyJoinOkResponseData {
|
|
|
917
929
|
};
|
|
918
930
|
};
|
|
919
931
|
};
|
|
920
|
-
|
|
932
|
+
players: {
|
|
921
933
|
/**
|
|
922
934
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
923
935
|
* via the `patternProperty` "^(.*)$".
|
|
924
936
|
*/
|
|
925
937
|
[k: string]: {
|
|
926
|
-
type: "player";
|
|
927
938
|
id: UserId;
|
|
928
939
|
allyTeam: string;
|
|
929
940
|
team: string;
|
|
930
941
|
player: string;
|
|
931
942
|
};
|
|
932
943
|
};
|
|
944
|
+
spectators: {
|
|
945
|
+
/**
|
|
946
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
947
|
+
* via the `patternProperty` "^(.*)$".
|
|
948
|
+
*/
|
|
949
|
+
[k: string]: {
|
|
950
|
+
id: UserId;
|
|
951
|
+
joinQueuePosition?: number;
|
|
952
|
+
};
|
|
953
|
+
};
|
|
933
954
|
/**
|
|
934
955
|
* If a battle is currently happening, here are the info
|
|
935
956
|
*/
|
|
@@ -945,6 +966,48 @@ interface LobbyJoinFailResponse {
|
|
|
945
966
|
reason: "lobby_full" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
|
|
946
967
|
details?: string;
|
|
947
968
|
}
|
|
969
|
+
interface LobbyJoinAllyTeamRequest {
|
|
970
|
+
type: "request";
|
|
971
|
+
messageId: string;
|
|
972
|
+
commandId: "lobby/joinAllyTeam";
|
|
973
|
+
data: LobbyJoinAllyTeamRequestData;
|
|
974
|
+
}
|
|
975
|
+
interface LobbyJoinAllyTeamRequestData {
|
|
976
|
+
allyTeam: string;
|
|
977
|
+
}
|
|
978
|
+
interface LobbyJoinAllyTeamOkResponse {
|
|
979
|
+
type: "response";
|
|
980
|
+
messageId: string;
|
|
981
|
+
commandId: "lobby/joinAllyTeam";
|
|
982
|
+
status: "success";
|
|
983
|
+
}
|
|
984
|
+
interface LobbyJoinAllyTeamFailResponse {
|
|
985
|
+
type: "response";
|
|
986
|
+
messageId: string;
|
|
987
|
+
commandId: "lobby/joinAllyTeam";
|
|
988
|
+
status: "failed";
|
|
989
|
+
reason: "not_in_lobby" | "ally_team_full" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
|
|
990
|
+
details?: string;
|
|
991
|
+
}
|
|
992
|
+
interface LobbyJoinQueueRequest {
|
|
993
|
+
type: "request";
|
|
994
|
+
messageId: string;
|
|
995
|
+
commandId: "lobby/joinQueue";
|
|
996
|
+
}
|
|
997
|
+
interface LobbyJoinQueueOkResponse {
|
|
998
|
+
type: "response";
|
|
999
|
+
messageId: string;
|
|
1000
|
+
commandId: "lobby/joinQueue";
|
|
1001
|
+
status: "success";
|
|
1002
|
+
}
|
|
1003
|
+
interface LobbyJoinQueueFailResponse {
|
|
1004
|
+
type: "response";
|
|
1005
|
+
messageId: string;
|
|
1006
|
+
commandId: "lobby/joinQueue";
|
|
1007
|
+
status: "failed";
|
|
1008
|
+
reason: "not_in_lobby" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
|
|
1009
|
+
details?: string;
|
|
1010
|
+
}
|
|
948
1011
|
interface LobbyLeaveRequest {
|
|
949
1012
|
type: "request";
|
|
950
1013
|
messageId: string;
|
|
@@ -1029,6 +1092,25 @@ interface LobbyListUpdatedEventData {
|
|
|
1029
1092
|
} | null;
|
|
1030
1093
|
};
|
|
1031
1094
|
}
|
|
1095
|
+
interface LobbySpectateRequest {
|
|
1096
|
+
type: "request";
|
|
1097
|
+
messageId: string;
|
|
1098
|
+
commandId: "lobby/spectate";
|
|
1099
|
+
}
|
|
1100
|
+
interface LobbySpectateOkResponse {
|
|
1101
|
+
type: "response";
|
|
1102
|
+
messageId: string;
|
|
1103
|
+
commandId: "lobby/spectate";
|
|
1104
|
+
status: "success";
|
|
1105
|
+
}
|
|
1106
|
+
interface LobbySpectateFailResponse {
|
|
1107
|
+
type: "response";
|
|
1108
|
+
messageId: string;
|
|
1109
|
+
commandId: "lobby/spectate";
|
|
1110
|
+
status: "failed";
|
|
1111
|
+
reason: "not_in_lobby" | "internal_error" | "unauthorized" | "invalid_request" | "command_unimplemented";
|
|
1112
|
+
details?: string;
|
|
1113
|
+
}
|
|
1032
1114
|
interface LobbyStartBattleRequest {
|
|
1033
1115
|
type: "request";
|
|
1034
1116
|
messageId: string;
|
|
@@ -1117,19 +1199,28 @@ interface LobbyUpdatedEventData {
|
|
|
1117
1199
|
};
|
|
1118
1200
|
} | null;
|
|
1119
1201
|
};
|
|
1120
|
-
|
|
1202
|
+
players?: {
|
|
1121
1203
|
/**
|
|
1122
1204
|
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1123
1205
|
* via the `patternProperty` "^(.*)$".
|
|
1124
1206
|
*/
|
|
1125
1207
|
[k: string]: {
|
|
1126
|
-
type: "player";
|
|
1127
1208
|
id: UserId;
|
|
1128
1209
|
allyTeam?: string;
|
|
1129
1210
|
team?: string;
|
|
1130
1211
|
player?: string;
|
|
1131
1212
|
} | null;
|
|
1132
1213
|
};
|
|
1214
|
+
spectators?: {
|
|
1215
|
+
/**
|
|
1216
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
1217
|
+
* via the `patternProperty` "^(.*)$".
|
|
1218
|
+
*/
|
|
1219
|
+
[k: string]: {
|
|
1220
|
+
id: UserId;
|
|
1221
|
+
joinQueuePosition?: number | null;
|
|
1222
|
+
} | null;
|
|
1223
|
+
};
|
|
1133
1224
|
currentBattle?: {
|
|
1134
1225
|
id: string;
|
|
1135
1226
|
startedAt: UnixTime;
|
|
@@ -1258,7 +1349,7 @@ interface MatchmakingQueueUpdateEvent {
|
|
|
1258
1349
|
data: MatchmakingQueueUpdateEventData;
|
|
1259
1350
|
}
|
|
1260
1351
|
interface MatchmakingQueueUpdateEventData {
|
|
1261
|
-
playersQueued:
|
|
1352
|
+
playersQueued: number;
|
|
1262
1353
|
}
|
|
1263
1354
|
interface MatchmakingQueuesJoinedEvent {
|
|
1264
1355
|
type: "event";
|
|
@@ -1787,4 +1878,4 @@ interface UserUpdatedEventData {
|
|
|
1787
1878
|
}[];
|
|
1788
1879
|
}
|
|
1789
1880
|
|
|
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 };
|
|
1881
|
+
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, LobbyJoinAllyTeamFailResponse, LobbyJoinAllyTeamOkResponse, LobbyJoinAllyTeamRequest, LobbyJoinAllyTeamRequestData, LobbyJoinAllyTeamResponse, LobbyJoinFailResponse, LobbyJoinOkResponse, LobbyJoinOkResponseData, LobbyJoinQueueFailResponse, LobbyJoinQueueOkResponse, LobbyJoinQueueRequest, LobbyJoinQueueResponse, LobbyJoinRequest, LobbyJoinRequestData, LobbyJoinResponse, LobbyLeaveFailResponse, LobbyLeaveOkResponse, LobbyLeaveRequest, LobbyLeaveResponse, LobbyLeftEvent, LobbyLeftEventData, LobbyListResetEvent, LobbyListResetEventData, LobbyListUpdatedEvent, LobbyListUpdatedEventData, LobbyOverview, LobbySpectateFailResponse, LobbySpectateOkResponse, LobbySpectateRequest, LobbySpectateResponse, 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 };
|