tachyon-protocol 1.20.0 → 1.21.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 +49 -1
- package/dist/index.d.cts +12 -8
- package/dist/index.d.ts +12 -8
- package/dist/index.js +49 -1
- package/dist/types.d.cts +271 -4
- package/dist/types.d.ts +271 -4
- package/dist/validators.cjs +1 -1
- package/dist/validators.d.cts +26 -2
- package/dist/validators.d.ts +26 -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.21.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
|
],
|
|
@@ -224,16 +232,19 @@ var tachyonMeta = {
|
|
|
224
232
|
"friend/remove",
|
|
225
233
|
"friend/sendRequest",
|
|
226
234
|
"lobby/addBot",
|
|
235
|
+
"lobby/appointBoss",
|
|
227
236
|
"lobby/create",
|
|
228
237
|
"lobby/join",
|
|
229
238
|
"lobby/joinAllyTeam",
|
|
230
239
|
"lobby/joinBattle",
|
|
231
240
|
"lobby/joinQueue",
|
|
241
|
+
"lobby/kickban",
|
|
232
242
|
"lobby/leave",
|
|
233
243
|
"lobby/removeBot",
|
|
234
244
|
"lobby/spectate",
|
|
235
245
|
"lobby/startBattle",
|
|
236
246
|
"lobby/subscribeList",
|
|
247
|
+
"lobby/unboss",
|
|
237
248
|
"lobby/unsubscribeList",
|
|
238
249
|
"lobby/update",
|
|
239
250
|
"lobby/updateBot",
|
|
@@ -255,6 +266,7 @@ var tachyonMeta = {
|
|
|
255
266
|
"system/disconnect",
|
|
256
267
|
"system/serverStats",
|
|
257
268
|
"user/info",
|
|
269
|
+
"user/report",
|
|
258
270
|
"user/subscribeUpdates",
|
|
259
271
|
"user/unsubscribeUpdates"
|
|
260
272
|
],
|
|
@@ -286,16 +298,19 @@ var tachyonMeta = {
|
|
|
286
298
|
"friend/remove",
|
|
287
299
|
"friend/sendRequest",
|
|
288
300
|
"lobby/addBot",
|
|
301
|
+
"lobby/appointBoss",
|
|
289
302
|
"lobby/create",
|
|
290
303
|
"lobby/join",
|
|
291
304
|
"lobby/joinAllyTeam",
|
|
292
305
|
"lobby/joinBattle",
|
|
293
306
|
"lobby/joinQueue",
|
|
307
|
+
"lobby/kickban",
|
|
294
308
|
"lobby/leave",
|
|
295
309
|
"lobby/removeBot",
|
|
296
310
|
"lobby/spectate",
|
|
297
311
|
"lobby/startBattle",
|
|
298
312
|
"lobby/subscribeList",
|
|
313
|
+
"lobby/unboss",
|
|
299
314
|
"lobby/unsubscribeList",
|
|
300
315
|
"lobby/update",
|
|
301
316
|
"lobby/updateBot",
|
|
@@ -317,6 +332,7 @@ var tachyonMeta = {
|
|
|
317
332
|
"system/disconnect",
|
|
318
333
|
"system/serverStats",
|
|
319
334
|
"user/info",
|
|
335
|
+
"user/report",
|
|
320
336
|
"user/subscribeUpdates",
|
|
321
337
|
"user/unsubscribeUpdates"
|
|
322
338
|
]
|
|
@@ -446,11 +462,13 @@ var tachyonMeta = {
|
|
|
446
462
|
],
|
|
447
463
|
"lobby": [
|
|
448
464
|
"addBot",
|
|
465
|
+
"appointBoss",
|
|
449
466
|
"create",
|
|
450
467
|
"join",
|
|
451
468
|
"joinAllyTeam",
|
|
452
469
|
"joinBattle",
|
|
453
470
|
"joinQueue",
|
|
471
|
+
"kickban",
|
|
454
472
|
"leave",
|
|
455
473
|
"left",
|
|
456
474
|
"listReset",
|
|
@@ -459,6 +477,7 @@ var tachyonMeta = {
|
|
|
459
477
|
"spectate",
|
|
460
478
|
"startBattle",
|
|
461
479
|
"subscribeList",
|
|
480
|
+
"unboss",
|
|
462
481
|
"unsubscribeList",
|
|
463
482
|
"update",
|
|
464
483
|
"updateBot",
|
|
@@ -502,6 +521,7 @@ var tachyonMeta = {
|
|
|
502
521
|
],
|
|
503
522
|
"user": [
|
|
504
523
|
"info",
|
|
524
|
+
"report",
|
|
505
525
|
"self",
|
|
506
526
|
"subscribeUpdates",
|
|
507
527
|
"unsubscribeUpdates",
|
|
@@ -704,6 +724,13 @@ var tachyonMeta = {
|
|
|
704
724
|
"invalid_request",
|
|
705
725
|
"command_unimplemented"
|
|
706
726
|
],
|
|
727
|
+
"lobby/appointBoss": [
|
|
728
|
+
"bosses_not_allowed",
|
|
729
|
+
"internal_error",
|
|
730
|
+
"unauthorized",
|
|
731
|
+
"invalid_request",
|
|
732
|
+
"command_unimplemented"
|
|
733
|
+
],
|
|
707
734
|
"lobby/create": [
|
|
708
735
|
"internal_error",
|
|
709
736
|
"unauthorized",
|
|
@@ -712,6 +739,7 @@ var tachyonMeta = {
|
|
|
712
739
|
],
|
|
713
740
|
"lobby/join": [
|
|
714
741
|
"lobby_full",
|
|
742
|
+
"banned",
|
|
715
743
|
"internal_error",
|
|
716
744
|
"unauthorized",
|
|
717
745
|
"invalid_request",
|
|
@@ -741,6 +769,12 @@ var tachyonMeta = {
|
|
|
741
769
|
"invalid_request",
|
|
742
770
|
"command_unimplemented"
|
|
743
771
|
],
|
|
772
|
+
"lobby/kickban": [
|
|
773
|
+
"internal_error",
|
|
774
|
+
"unauthorized",
|
|
775
|
+
"invalid_request",
|
|
776
|
+
"command_unimplemented"
|
|
777
|
+
],
|
|
744
778
|
"lobby/leave": [
|
|
745
779
|
"internal_error",
|
|
746
780
|
"unauthorized",
|
|
@@ -774,6 +808,13 @@ var tachyonMeta = {
|
|
|
774
808
|
"invalid_request",
|
|
775
809
|
"command_unimplemented"
|
|
776
810
|
],
|
|
811
|
+
"lobby/unboss": [
|
|
812
|
+
"not_a_boss",
|
|
813
|
+
"internal_error",
|
|
814
|
+
"unauthorized",
|
|
815
|
+
"invalid_request",
|
|
816
|
+
"command_unimplemented"
|
|
817
|
+
],
|
|
777
818
|
"lobby/unsubscribeList": [
|
|
778
819
|
"internal_error",
|
|
779
820
|
"unauthorized",
|
|
@@ -915,6 +956,13 @@ var tachyonMeta = {
|
|
|
915
956
|
"invalid_request",
|
|
916
957
|
"command_unimplemented"
|
|
917
958
|
],
|
|
959
|
+
"user/report": [
|
|
960
|
+
"unknown_user",
|
|
961
|
+
"internal_error",
|
|
962
|
+
"unauthorized",
|
|
963
|
+
"invalid_request",
|
|
964
|
+
"command_unimplemented"
|
|
965
|
+
],
|
|
918
966
|
"user/subscribeUpdates": [
|
|
919
967
|
"subscription_limit_reached",
|
|
920
968
|
"internal_error",
|
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.cjs';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.21.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: {
|
|
@@ -20,12 +20,12 @@ declare const tachyonMeta: {
|
|
|
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 [];
|
|
@@ -52,12 +52,12 @@ declare const tachyonMeta: {
|
|
|
52
52
|
readonly battle: readonly ["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,16 +1,16 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.js';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.21.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: {
|
|
@@ -20,12 +20,12 @@ declare const tachyonMeta: {
|
|
|
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 [];
|
|
@@ -52,12 +52,12 @@ declare const tachyonMeta: {
|
|
|
52
52
|
readonly battle: readonly ["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.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// dist/index.ts
|
|
2
2
|
var tachyonMeta = {
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"schema": {
|
|
5
5
|
"actors": {
|
|
6
6
|
"server": {
|
|
@@ -38,16 +38,19 @@ var tachyonMeta = {
|
|
|
38
38
|
"friend/remove",
|
|
39
39
|
"friend/sendRequest",
|
|
40
40
|
"lobby/addBot",
|
|
41
|
+
"lobby/appointBoss",
|
|
41
42
|
"lobby/create",
|
|
42
43
|
"lobby/join",
|
|
43
44
|
"lobby/joinAllyTeam",
|
|
44
45
|
"lobby/joinBattle",
|
|
45
46
|
"lobby/joinQueue",
|
|
47
|
+
"lobby/kickban",
|
|
46
48
|
"lobby/leave",
|
|
47
49
|
"lobby/removeBot",
|
|
48
50
|
"lobby/spectate",
|
|
49
51
|
"lobby/startBattle",
|
|
50
52
|
"lobby/subscribeList",
|
|
53
|
+
"lobby/unboss",
|
|
51
54
|
"lobby/unsubscribeList",
|
|
52
55
|
"lobby/update",
|
|
53
56
|
"lobby/updateBot",
|
|
@@ -69,6 +72,7 @@ var tachyonMeta = {
|
|
|
69
72
|
"system/disconnect",
|
|
70
73
|
"system/serverStats",
|
|
71
74
|
"user/info",
|
|
75
|
+
"user/report",
|
|
72
76
|
"user/subscribeUpdates",
|
|
73
77
|
"user/unsubscribeUpdates"
|
|
74
78
|
]
|
|
@@ -94,16 +98,19 @@ var tachyonMeta = {
|
|
|
94
98
|
"friend/remove",
|
|
95
99
|
"friend/sendRequest",
|
|
96
100
|
"lobby/addBot",
|
|
101
|
+
"lobby/appointBoss",
|
|
97
102
|
"lobby/create",
|
|
98
103
|
"lobby/join",
|
|
99
104
|
"lobby/joinAllyTeam",
|
|
100
105
|
"lobby/joinBattle",
|
|
101
106
|
"lobby/joinQueue",
|
|
107
|
+
"lobby/kickban",
|
|
102
108
|
"lobby/leave",
|
|
103
109
|
"lobby/removeBot",
|
|
104
110
|
"lobby/spectate",
|
|
105
111
|
"lobby/startBattle",
|
|
106
112
|
"lobby/subscribeList",
|
|
113
|
+
"lobby/unboss",
|
|
107
114
|
"lobby/unsubscribeList",
|
|
108
115
|
"lobby/update",
|
|
109
116
|
"lobby/updateBot",
|
|
@@ -125,6 +132,7 @@ var tachyonMeta = {
|
|
|
125
132
|
"system/disconnect",
|
|
126
133
|
"system/serverStats",
|
|
127
134
|
"user/info",
|
|
135
|
+
"user/report",
|
|
128
136
|
"user/subscribeUpdates",
|
|
129
137
|
"user/unsubscribeUpdates"
|
|
130
138
|
],
|
|
@@ -200,16 +208,19 @@ var tachyonMeta = {
|
|
|
200
208
|
"friend/remove",
|
|
201
209
|
"friend/sendRequest",
|
|
202
210
|
"lobby/addBot",
|
|
211
|
+
"lobby/appointBoss",
|
|
203
212
|
"lobby/create",
|
|
204
213
|
"lobby/join",
|
|
205
214
|
"lobby/joinAllyTeam",
|
|
206
215
|
"lobby/joinBattle",
|
|
207
216
|
"lobby/joinQueue",
|
|
217
|
+
"lobby/kickban",
|
|
208
218
|
"lobby/leave",
|
|
209
219
|
"lobby/removeBot",
|
|
210
220
|
"lobby/spectate",
|
|
211
221
|
"lobby/startBattle",
|
|
212
222
|
"lobby/subscribeList",
|
|
223
|
+
"lobby/unboss",
|
|
213
224
|
"lobby/unsubscribeList",
|
|
214
225
|
"lobby/update",
|
|
215
226
|
"lobby/updateBot",
|
|
@@ -231,6 +242,7 @@ var tachyonMeta = {
|
|
|
231
242
|
"system/disconnect",
|
|
232
243
|
"system/serverStats",
|
|
233
244
|
"user/info",
|
|
245
|
+
"user/report",
|
|
234
246
|
"user/subscribeUpdates",
|
|
235
247
|
"user/unsubscribeUpdates"
|
|
236
248
|
],
|
|
@@ -262,16 +274,19 @@ var tachyonMeta = {
|
|
|
262
274
|
"friend/remove",
|
|
263
275
|
"friend/sendRequest",
|
|
264
276
|
"lobby/addBot",
|
|
277
|
+
"lobby/appointBoss",
|
|
265
278
|
"lobby/create",
|
|
266
279
|
"lobby/join",
|
|
267
280
|
"lobby/joinAllyTeam",
|
|
268
281
|
"lobby/joinBattle",
|
|
269
282
|
"lobby/joinQueue",
|
|
283
|
+
"lobby/kickban",
|
|
270
284
|
"lobby/leave",
|
|
271
285
|
"lobby/removeBot",
|
|
272
286
|
"lobby/spectate",
|
|
273
287
|
"lobby/startBattle",
|
|
274
288
|
"lobby/subscribeList",
|
|
289
|
+
"lobby/unboss",
|
|
275
290
|
"lobby/unsubscribeList",
|
|
276
291
|
"lobby/update",
|
|
277
292
|
"lobby/updateBot",
|
|
@@ -293,6 +308,7 @@ var tachyonMeta = {
|
|
|
293
308
|
"system/disconnect",
|
|
294
309
|
"system/serverStats",
|
|
295
310
|
"user/info",
|
|
311
|
+
"user/report",
|
|
296
312
|
"user/subscribeUpdates",
|
|
297
313
|
"user/unsubscribeUpdates"
|
|
298
314
|
]
|
|
@@ -422,11 +438,13 @@ var tachyonMeta = {
|
|
|
422
438
|
],
|
|
423
439
|
"lobby": [
|
|
424
440
|
"addBot",
|
|
441
|
+
"appointBoss",
|
|
425
442
|
"create",
|
|
426
443
|
"join",
|
|
427
444
|
"joinAllyTeam",
|
|
428
445
|
"joinBattle",
|
|
429
446
|
"joinQueue",
|
|
447
|
+
"kickban",
|
|
430
448
|
"leave",
|
|
431
449
|
"left",
|
|
432
450
|
"listReset",
|
|
@@ -435,6 +453,7 @@ var tachyonMeta = {
|
|
|
435
453
|
"spectate",
|
|
436
454
|
"startBattle",
|
|
437
455
|
"subscribeList",
|
|
456
|
+
"unboss",
|
|
438
457
|
"unsubscribeList",
|
|
439
458
|
"update",
|
|
440
459
|
"updateBot",
|
|
@@ -478,6 +497,7 @@ var tachyonMeta = {
|
|
|
478
497
|
],
|
|
479
498
|
"user": [
|
|
480
499
|
"info",
|
|
500
|
+
"report",
|
|
481
501
|
"self",
|
|
482
502
|
"subscribeUpdates",
|
|
483
503
|
"unsubscribeUpdates",
|
|
@@ -680,6 +700,13 @@ var tachyonMeta = {
|
|
|
680
700
|
"invalid_request",
|
|
681
701
|
"command_unimplemented"
|
|
682
702
|
],
|
|
703
|
+
"lobby/appointBoss": [
|
|
704
|
+
"bosses_not_allowed",
|
|
705
|
+
"internal_error",
|
|
706
|
+
"unauthorized",
|
|
707
|
+
"invalid_request",
|
|
708
|
+
"command_unimplemented"
|
|
709
|
+
],
|
|
683
710
|
"lobby/create": [
|
|
684
711
|
"internal_error",
|
|
685
712
|
"unauthorized",
|
|
@@ -688,6 +715,7 @@ var tachyonMeta = {
|
|
|
688
715
|
],
|
|
689
716
|
"lobby/join": [
|
|
690
717
|
"lobby_full",
|
|
718
|
+
"banned",
|
|
691
719
|
"internal_error",
|
|
692
720
|
"unauthorized",
|
|
693
721
|
"invalid_request",
|
|
@@ -717,6 +745,12 @@ var tachyonMeta = {
|
|
|
717
745
|
"invalid_request",
|
|
718
746
|
"command_unimplemented"
|
|
719
747
|
],
|
|
748
|
+
"lobby/kickban": [
|
|
749
|
+
"internal_error",
|
|
750
|
+
"unauthorized",
|
|
751
|
+
"invalid_request",
|
|
752
|
+
"command_unimplemented"
|
|
753
|
+
],
|
|
720
754
|
"lobby/leave": [
|
|
721
755
|
"internal_error",
|
|
722
756
|
"unauthorized",
|
|
@@ -750,6 +784,13 @@ var tachyonMeta = {
|
|
|
750
784
|
"invalid_request",
|
|
751
785
|
"command_unimplemented"
|
|
752
786
|
],
|
|
787
|
+
"lobby/unboss": [
|
|
788
|
+
"not_a_boss",
|
|
789
|
+
"internal_error",
|
|
790
|
+
"unauthorized",
|
|
791
|
+
"invalid_request",
|
|
792
|
+
"command_unimplemented"
|
|
793
|
+
],
|
|
753
794
|
"lobby/unsubscribeList": [
|
|
754
795
|
"internal_error",
|
|
755
796
|
"unauthorized",
|
|
@@ -891,6 +932,13 @@ var tachyonMeta = {
|
|
|
891
932
|
"invalid_request",
|
|
892
933
|
"command_unimplemented"
|
|
893
934
|
],
|
|
935
|
+
"user/report": [
|
|
936
|
+
"unknown_user",
|
|
937
|
+
"internal_error",
|
|
938
|
+
"unauthorized",
|
|
939
|
+
"invalid_request",
|
|
940
|
+
"command_unimplemented"
|
|
941
|
+
],
|
|
894
942
|
"user/subscribeUpdates": [
|
|
895
943
|
"subscription_limit_reached",
|
|
896
944
|
"internal_error",
|