tachyon-protocol 1.20.0 → 1.22.0
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.cjs +52 -1
- package/dist/index.d.cts +15 -11
- package/dist/index.d.ts +15 -11
- package/dist/index.js +52 -1
- package/dist/types.d.cts +302 -16
- package/dist/types.d.ts +302 -16
- package/dist/validators.cjs +1 -1
- package/dist/validators.d.cts +30 -2
- package/dist/validators.d.ts +30 -2
- package/dist/validators.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __export(dist_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(dist_exports);
|
|
26
26
|
var tachyonMeta = {
|
|
27
|
-
"version": "1.
|
|
27
|
+
"version": "1.22.0",
|
|
28
28
|
"schema": {
|
|
29
29
|
"actors": {
|
|
30
30
|
"server": {
|
|
@@ -62,16 +62,19 @@ var tachyonMeta = {
|
|
|
62
62
|
"friend/remove",
|
|
63
63
|
"friend/sendRequest",
|
|
64
64
|
"lobby/addBot",
|
|
65
|
+
"lobby/appointBoss",
|
|
65
66
|
"lobby/create",
|
|
66
67
|
"lobby/join",
|
|
67
68
|
"lobby/joinAllyTeam",
|
|
68
69
|
"lobby/joinBattle",
|
|
69
70
|
"lobby/joinQueue",
|
|
71
|
+
"lobby/kickban",
|
|
70
72
|
"lobby/leave",
|
|
71
73
|
"lobby/removeBot",
|
|
72
74
|
"lobby/spectate",
|
|
73
75
|
"lobby/startBattle",
|
|
74
76
|
"lobby/subscribeList",
|
|
77
|
+
"lobby/unboss",
|
|
75
78
|
"lobby/unsubscribeList",
|
|
76
79
|
"lobby/update",
|
|
77
80
|
"lobby/updateBot",
|
|
@@ -93,6 +96,7 @@ var tachyonMeta = {
|
|
|
93
96
|
"system/disconnect",
|
|
94
97
|
"system/serverStats",
|
|
95
98
|
"user/info",
|
|
99
|
+
"user/report",
|
|
96
100
|
"user/subscribeUpdates",
|
|
97
101
|
"user/unsubscribeUpdates"
|
|
98
102
|
]
|
|
@@ -118,16 +122,19 @@ var tachyonMeta = {
|
|
|
118
122
|
"friend/remove",
|
|
119
123
|
"friend/sendRequest",
|
|
120
124
|
"lobby/addBot",
|
|
125
|
+
"lobby/appointBoss",
|
|
121
126
|
"lobby/create",
|
|
122
127
|
"lobby/join",
|
|
123
128
|
"lobby/joinAllyTeam",
|
|
124
129
|
"lobby/joinBattle",
|
|
125
130
|
"lobby/joinQueue",
|
|
131
|
+
"lobby/kickban",
|
|
126
132
|
"lobby/leave",
|
|
127
133
|
"lobby/removeBot",
|
|
128
134
|
"lobby/spectate",
|
|
129
135
|
"lobby/startBattle",
|
|
130
136
|
"lobby/subscribeList",
|
|
137
|
+
"lobby/unboss",
|
|
131
138
|
"lobby/unsubscribeList",
|
|
132
139
|
"lobby/update",
|
|
133
140
|
"lobby/updateBot",
|
|
@@ -149,6 +156,7 @@ var tachyonMeta = {
|
|
|
149
156
|
"system/disconnect",
|
|
150
157
|
"system/serverStats",
|
|
151
158
|
"user/info",
|
|
159
|
+
"user/report",
|
|
152
160
|
"user/subscribeUpdates",
|
|
153
161
|
"user/unsubscribeUpdates"
|
|
154
162
|
],
|
|
@@ -168,6 +176,7 @@ var tachyonMeta = {
|
|
|
168
176
|
},
|
|
169
177
|
"event": {
|
|
170
178
|
"send": [
|
|
179
|
+
"battle/ended",
|
|
171
180
|
"clan/deleted",
|
|
172
181
|
"clan/invited",
|
|
173
182
|
"clan/kicked",
|
|
@@ -224,16 +233,19 @@ var tachyonMeta = {
|
|
|
224
233
|
"friend/remove",
|
|
225
234
|
"friend/sendRequest",
|
|
226
235
|
"lobby/addBot",
|
|
236
|
+
"lobby/appointBoss",
|
|
227
237
|
"lobby/create",
|
|
228
238
|
"lobby/join",
|
|
229
239
|
"lobby/joinAllyTeam",
|
|
230
240
|
"lobby/joinBattle",
|
|
231
241
|
"lobby/joinQueue",
|
|
242
|
+
"lobby/kickban",
|
|
232
243
|
"lobby/leave",
|
|
233
244
|
"lobby/removeBot",
|
|
234
245
|
"lobby/spectate",
|
|
235
246
|
"lobby/startBattle",
|
|
236
247
|
"lobby/subscribeList",
|
|
248
|
+
"lobby/unboss",
|
|
237
249
|
"lobby/unsubscribeList",
|
|
238
250
|
"lobby/update",
|
|
239
251
|
"lobby/updateBot",
|
|
@@ -255,6 +267,7 @@ var tachyonMeta = {
|
|
|
255
267
|
"system/disconnect",
|
|
256
268
|
"system/serverStats",
|
|
257
269
|
"user/info",
|
|
270
|
+
"user/report",
|
|
258
271
|
"user/subscribeUpdates",
|
|
259
272
|
"user/unsubscribeUpdates"
|
|
260
273
|
],
|
|
@@ -286,16 +299,19 @@ var tachyonMeta = {
|
|
|
286
299
|
"friend/remove",
|
|
287
300
|
"friend/sendRequest",
|
|
288
301
|
"lobby/addBot",
|
|
302
|
+
"lobby/appointBoss",
|
|
289
303
|
"lobby/create",
|
|
290
304
|
"lobby/join",
|
|
291
305
|
"lobby/joinAllyTeam",
|
|
292
306
|
"lobby/joinBattle",
|
|
293
307
|
"lobby/joinQueue",
|
|
308
|
+
"lobby/kickban",
|
|
294
309
|
"lobby/leave",
|
|
295
310
|
"lobby/removeBot",
|
|
296
311
|
"lobby/spectate",
|
|
297
312
|
"lobby/startBattle",
|
|
298
313
|
"lobby/subscribeList",
|
|
314
|
+
"lobby/unboss",
|
|
299
315
|
"lobby/unsubscribeList",
|
|
300
316
|
"lobby/update",
|
|
301
317
|
"lobby/updateBot",
|
|
@@ -317,6 +333,7 @@ var tachyonMeta = {
|
|
|
317
333
|
"system/disconnect",
|
|
318
334
|
"system/serverStats",
|
|
319
335
|
"user/info",
|
|
336
|
+
"user/report",
|
|
320
337
|
"user/subscribeUpdates",
|
|
321
338
|
"user/unsubscribeUpdates"
|
|
322
339
|
]
|
|
@@ -324,6 +341,7 @@ var tachyonMeta = {
|
|
|
324
341
|
"event": {
|
|
325
342
|
"send": [],
|
|
326
343
|
"receive": [
|
|
344
|
+
"battle/ended",
|
|
327
345
|
"clan/deleted",
|
|
328
346
|
"clan/invited",
|
|
329
347
|
"clan/kicked",
|
|
@@ -410,6 +428,7 @@ var tachyonMeta = {
|
|
|
410
428
|
"update"
|
|
411
429
|
],
|
|
412
430
|
"battle": [
|
|
431
|
+
"ended",
|
|
413
432
|
"start"
|
|
414
433
|
],
|
|
415
434
|
"clan": [
|
|
@@ -446,11 +465,13 @@ var tachyonMeta = {
|
|
|
446
465
|
],
|
|
447
466
|
"lobby": [
|
|
448
467
|
"addBot",
|
|
468
|
+
"appointBoss",
|
|
449
469
|
"create",
|
|
450
470
|
"join",
|
|
451
471
|
"joinAllyTeam",
|
|
452
472
|
"joinBattle",
|
|
453
473
|
"joinQueue",
|
|
474
|
+
"kickban",
|
|
454
475
|
"leave",
|
|
455
476
|
"left",
|
|
456
477
|
"listReset",
|
|
@@ -459,6 +480,7 @@ var tachyonMeta = {
|
|
|
459
480
|
"spectate",
|
|
460
481
|
"startBattle",
|
|
461
482
|
"subscribeList",
|
|
483
|
+
"unboss",
|
|
462
484
|
"unsubscribeList",
|
|
463
485
|
"update",
|
|
464
486
|
"updateBot",
|
|
@@ -502,6 +524,7 @@ var tachyonMeta = {
|
|
|
502
524
|
],
|
|
503
525
|
"user": [
|
|
504
526
|
"info",
|
|
527
|
+
"report",
|
|
505
528
|
"self",
|
|
506
529
|
"subscribeUpdates",
|
|
507
530
|
"unsubscribeUpdates",
|
|
@@ -704,6 +727,13 @@ var tachyonMeta = {
|
|
|
704
727
|
"invalid_request",
|
|
705
728
|
"command_unimplemented"
|
|
706
729
|
],
|
|
730
|
+
"lobby/appointBoss": [
|
|
731
|
+
"bosses_not_allowed",
|
|
732
|
+
"internal_error",
|
|
733
|
+
"unauthorized",
|
|
734
|
+
"invalid_request",
|
|
735
|
+
"command_unimplemented"
|
|
736
|
+
],
|
|
707
737
|
"lobby/create": [
|
|
708
738
|
"internal_error",
|
|
709
739
|
"unauthorized",
|
|
@@ -712,6 +742,7 @@ var tachyonMeta = {
|
|
|
712
742
|
],
|
|
713
743
|
"lobby/join": [
|
|
714
744
|
"lobby_full",
|
|
745
|
+
"banned",
|
|
715
746
|
"internal_error",
|
|
716
747
|
"unauthorized",
|
|
717
748
|
"invalid_request",
|
|
@@ -741,6 +772,12 @@ var tachyonMeta = {
|
|
|
741
772
|
"invalid_request",
|
|
742
773
|
"command_unimplemented"
|
|
743
774
|
],
|
|
775
|
+
"lobby/kickban": [
|
|
776
|
+
"internal_error",
|
|
777
|
+
"unauthorized",
|
|
778
|
+
"invalid_request",
|
|
779
|
+
"command_unimplemented"
|
|
780
|
+
],
|
|
744
781
|
"lobby/leave": [
|
|
745
782
|
"internal_error",
|
|
746
783
|
"unauthorized",
|
|
@@ -774,6 +811,13 @@ var tachyonMeta = {
|
|
|
774
811
|
"invalid_request",
|
|
775
812
|
"command_unimplemented"
|
|
776
813
|
],
|
|
814
|
+
"lobby/unboss": [
|
|
815
|
+
"not_a_boss",
|
|
816
|
+
"internal_error",
|
|
817
|
+
"unauthorized",
|
|
818
|
+
"invalid_request",
|
|
819
|
+
"command_unimplemented"
|
|
820
|
+
],
|
|
777
821
|
"lobby/unsubscribeList": [
|
|
778
822
|
"internal_error",
|
|
779
823
|
"unauthorized",
|
|
@@ -915,6 +959,13 @@ var tachyonMeta = {
|
|
|
915
959
|
"invalid_request",
|
|
916
960
|
"command_unimplemented"
|
|
917
961
|
],
|
|
962
|
+
"user/report": [
|
|
963
|
+
"unknown_user",
|
|
964
|
+
"internal_error",
|
|
965
|
+
"unauthorized",
|
|
966
|
+
"invalid_request",
|
|
967
|
+
"command_unimplemented"
|
|
968
|
+
],
|
|
918
969
|
"user/subscribeUpdates": [
|
|
919
970
|
"subscription_limit_reached",
|
|
920
971
|
"internal_error",
|
package/dist/index.d.cts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.cjs';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.22.0";
|
|
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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "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: {
|
|
17
|
-
readonly send: readonly ["clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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 ["battle/ended", "clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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
|
};
|
|
21
21
|
readonly user: {
|
|
22
22
|
readonly request: {
|
|
23
|
-
readonly send: readonly ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
32
|
-
readonly receive: readonly ["clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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 ["battle/ended", "clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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: {
|
|
@@ -49,15 +49,15 @@ declare const tachyonMeta: {
|
|
|
49
49
|
};
|
|
50
50
|
readonly serviceIds: {
|
|
51
51
|
readonly autohost: readonly ["addPlayer", "installEngine", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
|
|
52
|
-
readonly battle: readonly ["start"];
|
|
52
|
+
readonly battle: readonly ["ended", "start"];
|
|
53
53
|
readonly clan: readonly ["accept", "cancel", "create", "decline", "delete", "deleted", "invite", "invited", "kick", "kicked", "leave", "roleChanged", "setRole", "update", "updated", "view", "viewList"];
|
|
54
54
|
readonly friend: readonly ["acceptRequest", "cancelRequest", "list", "rejectRequest", "remove", "removed", "requestAccepted", "requestCancelled", "requestReceived", "requestRejected", "sendRequest"];
|
|
55
|
-
readonly lobby: readonly ["addBot", "create", "join", "joinAllyTeam", "joinBattle", "joinQueue", "leave", "left", "listReset", "listUpdated", "removeBot", "spectate", "startBattle", "subscribeList", "unsubscribeList", "update", "updateBot", "updateClientStatus", "updated", "voteEnded", "voteSubmit"];
|
|
55
|
+
readonly lobby: readonly ["addBot", "appointBoss", "create", "join", "joinAllyTeam", "joinBattle", "joinQueue", "kickban", "leave", "left", "listReset", "listUpdated", "removeBot", "spectate", "startBattle", "subscribeList", "unboss", "unsubscribeList", "update", "updateBot", "updateClientStatus", "updated", "voteEnded", "voteSubmit"];
|
|
56
56
|
readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "queuesJoined", "ready"];
|
|
57
57
|
readonly messaging: readonly ["received", "send", "subscribeReceived"];
|
|
58
58
|
readonly party: readonly ["acceptInvite", "cancelInvite", "create", "declineInvite", "invite", "invited", "kickMember", "leave", "removed", "updated"];
|
|
59
59
|
readonly system: readonly ["disconnect", "serverStats"];
|
|
60
|
-
readonly user: readonly ["info", "self", "subscribeUpdates", "unsubscribeUpdates", "updated"];
|
|
60
|
+
readonly user: readonly ["info", "report", "self", "subscribeUpdates", "unsubscribeUpdates", "updated"];
|
|
61
61
|
};
|
|
62
62
|
readonly failedReasons: {
|
|
63
63
|
readonly "autohost/addPlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
@@ -90,16 +90,19 @@ declare const tachyonMeta: {
|
|
|
90
90
|
readonly "friend/remove": readonly ["invalid_user", "not_in_friendlist", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
91
91
|
readonly "friend/sendRequest": readonly ["invalid_user", "already_in_friendlist", "outgoing_capacity_reached", "incoming_capacity_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
92
92
|
readonly "lobby/addBot": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
93
|
+
readonly "lobby/appointBoss": readonly ["bosses_not_allowed", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
93
94
|
readonly "lobby/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
94
|
-
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
95
|
+
readonly "lobby/join": readonly ["lobby_full", "banned", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
95
96
|
readonly "lobby/joinAllyTeam": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
96
97
|
readonly "lobby/joinBattle": readonly ["not_in_lobby", "no_battle", "battle_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
97
98
|
readonly "lobby/joinQueue": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
99
|
+
readonly "lobby/kickban": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
98
100
|
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
99
101
|
readonly "lobby/removeBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
100
102
|
readonly "lobby/spectate": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
101
103
|
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
102
104
|
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
105
|
+
readonly "lobby/unboss": readonly ["not_a_boss", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
103
106
|
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
104
107
|
readonly "lobby/update": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
105
108
|
readonly "lobby/updateBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
@@ -121,6 +124,7 @@ declare const tachyonMeta: {
|
|
|
121
124
|
readonly "system/disconnect": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
122
125
|
readonly "system/serverStats": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
123
126
|
readonly "user/info": readonly ["unknown_user", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
127
|
+
readonly "user/report": readonly ["unknown_user", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
124
128
|
readonly "user/subscribeUpdates": readonly ["subscription_limit_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
125
129
|
readonly "user/unsubscribeUpdates": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
126
130
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.js';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.22.0";
|
|
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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "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: {
|
|
17
|
-
readonly send: readonly ["clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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 ["battle/ended", "clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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
|
};
|
|
21
21
|
readonly user: {
|
|
22
22
|
readonly request: {
|
|
23
|
-
readonly send: readonly ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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 ["clan/accept", "clan/cancel", "clan/create", "clan/decline", "clan/delete", "clan/invite", "clan/kick", "clan/leave", "clan/setRole", "clan/update", "clan/view", "clan/viewList", "friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/appointBoss", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinBattle", "lobby/joinQueue", "lobby/kickban", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unboss", "lobby/unsubscribeList", "lobby/update", "lobby/updateBot", "lobby/updateClientStatus", "lobby/voteSubmit", "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/report", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
32
|
-
readonly receive: readonly ["clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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 ["battle/ended", "clan/deleted", "clan/invited", "clan/kicked", "clan/roleChanged", "clan/updated", "friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listReset", "lobby/listUpdated", "lobby/updated", "lobby/voteEnded", "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: {
|
|
@@ -49,15 +49,15 @@ declare const tachyonMeta: {
|
|
|
49
49
|
};
|
|
50
50
|
readonly serviceIds: {
|
|
51
51
|
readonly autohost: readonly ["addPlayer", "installEngine", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
|
|
52
|
-
readonly battle: readonly ["start"];
|
|
52
|
+
readonly battle: readonly ["ended", "start"];
|
|
53
53
|
readonly clan: readonly ["accept", "cancel", "create", "decline", "delete", "deleted", "invite", "invited", "kick", "kicked", "leave", "roleChanged", "setRole", "update", "updated", "view", "viewList"];
|
|
54
54
|
readonly friend: readonly ["acceptRequest", "cancelRequest", "list", "rejectRequest", "remove", "removed", "requestAccepted", "requestCancelled", "requestReceived", "requestRejected", "sendRequest"];
|
|
55
|
-
readonly lobby: readonly ["addBot", "create", "join", "joinAllyTeam", "joinBattle", "joinQueue", "leave", "left", "listReset", "listUpdated", "removeBot", "spectate", "startBattle", "subscribeList", "unsubscribeList", "update", "updateBot", "updateClientStatus", "updated", "voteEnded", "voteSubmit"];
|
|
55
|
+
readonly lobby: readonly ["addBot", "appointBoss", "create", "join", "joinAllyTeam", "joinBattle", "joinQueue", "kickban", "leave", "left", "listReset", "listUpdated", "removeBot", "spectate", "startBattle", "subscribeList", "unboss", "unsubscribeList", "update", "updateBot", "updateClientStatus", "updated", "voteEnded", "voteSubmit"];
|
|
56
56
|
readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "queuesJoined", "ready"];
|
|
57
57
|
readonly messaging: readonly ["received", "send", "subscribeReceived"];
|
|
58
58
|
readonly party: readonly ["acceptInvite", "cancelInvite", "create", "declineInvite", "invite", "invited", "kickMember", "leave", "removed", "updated"];
|
|
59
59
|
readonly system: readonly ["disconnect", "serverStats"];
|
|
60
|
-
readonly user: readonly ["info", "self", "subscribeUpdates", "unsubscribeUpdates", "updated"];
|
|
60
|
+
readonly user: readonly ["info", "report", "self", "subscribeUpdates", "unsubscribeUpdates", "updated"];
|
|
61
61
|
};
|
|
62
62
|
readonly failedReasons: {
|
|
63
63
|
readonly "autohost/addPlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
@@ -90,16 +90,19 @@ declare const tachyonMeta: {
|
|
|
90
90
|
readonly "friend/remove": readonly ["invalid_user", "not_in_friendlist", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
91
91
|
readonly "friend/sendRequest": readonly ["invalid_user", "already_in_friendlist", "outgoing_capacity_reached", "incoming_capacity_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
92
92
|
readonly "lobby/addBot": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
93
|
+
readonly "lobby/appointBoss": readonly ["bosses_not_allowed", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
93
94
|
readonly "lobby/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
94
|
-
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
95
|
+
readonly "lobby/join": readonly ["lobby_full", "banned", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
95
96
|
readonly "lobby/joinAllyTeam": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
96
97
|
readonly "lobby/joinBattle": readonly ["not_in_lobby", "no_battle", "battle_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
97
98
|
readonly "lobby/joinQueue": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
99
|
+
readonly "lobby/kickban": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
98
100
|
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
99
101
|
readonly "lobby/removeBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
100
102
|
readonly "lobby/spectate": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
101
103
|
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
102
104
|
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
105
|
+
readonly "lobby/unboss": readonly ["not_a_boss", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
103
106
|
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
104
107
|
readonly "lobby/update": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
105
108
|
readonly "lobby/updateBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
@@ -121,6 +124,7 @@ declare const tachyonMeta: {
|
|
|
121
124
|
readonly "system/disconnect": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
122
125
|
readonly "system/serverStats": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
123
126
|
readonly "user/info": readonly ["unknown_user", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
127
|
+
readonly "user/report": readonly ["unknown_user", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
124
128
|
readonly "user/subscribeUpdates": readonly ["subscription_limit_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
125
129
|
readonly "user/unsubscribeUpdates": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
126
130
|
};
|