tachyon-protocol 1.14.4 → 1.15.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.d.mts +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.js +40 -1
- package/dist/index.mjs +40 -1
- package/dist/types.d.mts +208 -2
- package/dist/types.d.ts +208 -2
- 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.
|
|
4
|
+
readonly version: "1.15.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 ["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"];
|
|
10
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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/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"];
|
|
13
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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/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"];
|
|
23
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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/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"];
|
|
28
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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", "joinAllyTeam", "joinQueue", "leave", "left", "listReset", "listUpdated", "spectate", "startBattle", "subscribeList", "unsubscribeList", "updated"];
|
|
54
|
+
readonly lobby: readonly ["addBot", "create", "join", "joinAllyTeam", "joinQueue", "leave", "left", "listReset", "listUpdated", "removeBot", "spectate", "startBattle", "subscribeList", "unsubscribeList", "updateBot", "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"];
|
|
@@ -76,15 +76,18 @@ declare const tachyonMeta: {
|
|
|
76
76
|
readonly "friend/rejectRequest": readonly ["invalid_user", "no_pending_request", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
77
77
|
readonly "friend/remove": readonly ["invalid_user", "not_in_friendlist", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
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
|
+
readonly "lobby/addBot": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
80
|
readonly "lobby/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
81
|
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
82
|
readonly "lobby/joinAllyTeam": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
83
|
readonly "lobby/joinQueue": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
83
84
|
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
85
|
+
readonly "lobby/removeBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
86
|
readonly "lobby/spectate": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
85
87
|
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
86
88
|
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
87
89
|
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
90
|
+
readonly "lobby/updateBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
88
91
|
readonly "matchmaking/cancel": readonly ["not_queued", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
89
92
|
readonly "matchmaking/list": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
90
93
|
readonly "matchmaking/queue": readonly ["invalid_queue_specified", "already_queued", "already_in_battle", "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.
|
|
4
|
+
readonly version: "1.15.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 ["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"];
|
|
10
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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/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"];
|
|
13
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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/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"];
|
|
23
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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/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"];
|
|
28
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/addBot", "lobby/create", "lobby/join", "lobby/joinAllyTeam", "lobby/joinQueue", "lobby/leave", "lobby/removeBot", "lobby/spectate", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "lobby/updateBot", "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", "joinAllyTeam", "joinQueue", "leave", "left", "listReset", "listUpdated", "spectate", "startBattle", "subscribeList", "unsubscribeList", "updated"];
|
|
54
|
+
readonly lobby: readonly ["addBot", "create", "join", "joinAllyTeam", "joinQueue", "leave", "left", "listReset", "listUpdated", "removeBot", "spectate", "startBattle", "subscribeList", "unsubscribeList", "updateBot", "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"];
|
|
@@ -76,15 +76,18 @@ declare const tachyonMeta: {
|
|
|
76
76
|
readonly "friend/rejectRequest": readonly ["invalid_user", "no_pending_request", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
77
77
|
readonly "friend/remove": readonly ["invalid_user", "not_in_friendlist", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
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
|
+
readonly "lobby/addBot": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
80
|
readonly "lobby/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
81
|
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
82
|
readonly "lobby/joinAllyTeam": readonly ["not_in_lobby", "ally_team_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
83
|
readonly "lobby/joinQueue": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
83
84
|
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
85
|
+
readonly "lobby/removeBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
86
|
readonly "lobby/spectate": readonly ["not_in_lobby", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
85
87
|
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
86
88
|
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
87
89
|
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
90
|
+
readonly "lobby/updateBot": readonly ["not_in_lobby", "invalid_bot", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
88
91
|
readonly "matchmaking/cancel": readonly ["not_queued", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
89
92
|
readonly "matchmaking/list": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
90
93
|
readonly "matchmaking/queue": readonly ["invalid_queue_specified", "already_queued", "already_in_battle", "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.
|
|
27
|
+
"version": "1.15.0",
|
|
28
28
|
"schema": {
|
|
29
29
|
"actors": {
|
|
30
30
|
"server": {
|
|
@@ -49,15 +49,18 @@ var tachyonMeta = {
|
|
|
49
49
|
"friend/rejectRequest",
|
|
50
50
|
"friend/remove",
|
|
51
51
|
"friend/sendRequest",
|
|
52
|
+
"lobby/addBot",
|
|
52
53
|
"lobby/create",
|
|
53
54
|
"lobby/join",
|
|
54
55
|
"lobby/joinAllyTeam",
|
|
55
56
|
"lobby/joinQueue",
|
|
56
57
|
"lobby/leave",
|
|
58
|
+
"lobby/removeBot",
|
|
57
59
|
"lobby/spectate",
|
|
58
60
|
"lobby/startBattle",
|
|
59
61
|
"lobby/subscribeList",
|
|
60
62
|
"lobby/unsubscribeList",
|
|
63
|
+
"lobby/updateBot",
|
|
61
64
|
"matchmaking/cancel",
|
|
62
65
|
"matchmaking/list",
|
|
63
66
|
"matchmaking/queue",
|
|
@@ -86,15 +89,18 @@ var tachyonMeta = {
|
|
|
86
89
|
"friend/rejectRequest",
|
|
87
90
|
"friend/remove",
|
|
88
91
|
"friend/sendRequest",
|
|
92
|
+
"lobby/addBot",
|
|
89
93
|
"lobby/create",
|
|
90
94
|
"lobby/join",
|
|
91
95
|
"lobby/joinAllyTeam",
|
|
92
96
|
"lobby/joinQueue",
|
|
93
97
|
"lobby/leave",
|
|
98
|
+
"lobby/removeBot",
|
|
94
99
|
"lobby/spectate",
|
|
95
100
|
"lobby/startBattle",
|
|
96
101
|
"lobby/subscribeList",
|
|
97
102
|
"lobby/unsubscribeList",
|
|
103
|
+
"lobby/updateBot",
|
|
98
104
|
"matchmaking/cancel",
|
|
99
105
|
"matchmaking/list",
|
|
100
106
|
"matchmaking/queue",
|
|
@@ -167,15 +173,18 @@ var tachyonMeta = {
|
|
|
167
173
|
"friend/rejectRequest",
|
|
168
174
|
"friend/remove",
|
|
169
175
|
"friend/sendRequest",
|
|
176
|
+
"lobby/addBot",
|
|
170
177
|
"lobby/create",
|
|
171
178
|
"lobby/join",
|
|
172
179
|
"lobby/joinAllyTeam",
|
|
173
180
|
"lobby/joinQueue",
|
|
174
181
|
"lobby/leave",
|
|
182
|
+
"lobby/removeBot",
|
|
175
183
|
"lobby/spectate",
|
|
176
184
|
"lobby/startBattle",
|
|
177
185
|
"lobby/subscribeList",
|
|
178
186
|
"lobby/unsubscribeList",
|
|
187
|
+
"lobby/updateBot",
|
|
179
188
|
"matchmaking/cancel",
|
|
180
189
|
"matchmaking/list",
|
|
181
190
|
"matchmaking/queue",
|
|
@@ -210,15 +219,18 @@ var tachyonMeta = {
|
|
|
210
219
|
"friend/rejectRequest",
|
|
211
220
|
"friend/remove",
|
|
212
221
|
"friend/sendRequest",
|
|
222
|
+
"lobby/addBot",
|
|
213
223
|
"lobby/create",
|
|
214
224
|
"lobby/join",
|
|
215
225
|
"lobby/joinAllyTeam",
|
|
216
226
|
"lobby/joinQueue",
|
|
217
227
|
"lobby/leave",
|
|
228
|
+
"lobby/removeBot",
|
|
218
229
|
"lobby/spectate",
|
|
219
230
|
"lobby/startBattle",
|
|
220
231
|
"lobby/subscribeList",
|
|
221
232
|
"lobby/unsubscribeList",
|
|
233
|
+
"lobby/updateBot",
|
|
222
234
|
"matchmaking/cancel",
|
|
223
235
|
"matchmaking/list",
|
|
224
236
|
"matchmaking/queue",
|
|
@@ -338,6 +350,7 @@ var tachyonMeta = {
|
|
|
338
350
|
"sendRequest"
|
|
339
351
|
],
|
|
340
352
|
"lobby": [
|
|
353
|
+
"addBot",
|
|
341
354
|
"create",
|
|
342
355
|
"join",
|
|
343
356
|
"joinAllyTeam",
|
|
@@ -346,10 +359,12 @@ var tachyonMeta = {
|
|
|
346
359
|
"left",
|
|
347
360
|
"listReset",
|
|
348
361
|
"listUpdated",
|
|
362
|
+
"removeBot",
|
|
349
363
|
"spectate",
|
|
350
364
|
"startBattle",
|
|
351
365
|
"subscribeList",
|
|
352
366
|
"unsubscribeList",
|
|
367
|
+
"updateBot",
|
|
353
368
|
"updated"
|
|
354
369
|
],
|
|
355
370
|
"matchmaking": [
|
|
@@ -509,6 +524,14 @@ var tachyonMeta = {
|
|
|
509
524
|
"invalid_request",
|
|
510
525
|
"command_unimplemented"
|
|
511
526
|
],
|
|
527
|
+
"lobby/addBot": [
|
|
528
|
+
"not_in_lobby",
|
|
529
|
+
"ally_team_full",
|
|
530
|
+
"internal_error",
|
|
531
|
+
"unauthorized",
|
|
532
|
+
"invalid_request",
|
|
533
|
+
"command_unimplemented"
|
|
534
|
+
],
|
|
512
535
|
"lobby/create": [
|
|
513
536
|
"internal_error",
|
|
514
537
|
"unauthorized",
|
|
@@ -543,6 +566,14 @@ var tachyonMeta = {
|
|
|
543
566
|
"invalid_request",
|
|
544
567
|
"command_unimplemented"
|
|
545
568
|
],
|
|
569
|
+
"lobby/removeBot": [
|
|
570
|
+
"not_in_lobby",
|
|
571
|
+
"invalid_bot",
|
|
572
|
+
"internal_error",
|
|
573
|
+
"unauthorized",
|
|
574
|
+
"invalid_request",
|
|
575
|
+
"command_unimplemented"
|
|
576
|
+
],
|
|
546
577
|
"lobby/spectate": [
|
|
547
578
|
"not_in_lobby",
|
|
548
579
|
"internal_error",
|
|
@@ -568,6 +599,14 @@ var tachyonMeta = {
|
|
|
568
599
|
"invalid_request",
|
|
569
600
|
"command_unimplemented"
|
|
570
601
|
],
|
|
602
|
+
"lobby/updateBot": [
|
|
603
|
+
"not_in_lobby",
|
|
604
|
+
"invalid_bot",
|
|
605
|
+
"internal_error",
|
|
606
|
+
"unauthorized",
|
|
607
|
+
"invalid_request",
|
|
608
|
+
"command_unimplemented"
|
|
609
|
+
],
|
|
571
610
|
"matchmaking/cancel": [
|
|
572
611
|
"not_queued",
|
|
573
612
|
"internal_error",
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// dist/index.ts
|
|
2
2
|
var tachyonMeta = {
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"schema": {
|
|
5
5
|
"actors": {
|
|
6
6
|
"server": {
|
|
@@ -25,15 +25,18 @@ var tachyonMeta = {
|
|
|
25
25
|
"friend/rejectRequest",
|
|
26
26
|
"friend/remove",
|
|
27
27
|
"friend/sendRequest",
|
|
28
|
+
"lobby/addBot",
|
|
28
29
|
"lobby/create",
|
|
29
30
|
"lobby/join",
|
|
30
31
|
"lobby/joinAllyTeam",
|
|
31
32
|
"lobby/joinQueue",
|
|
32
33
|
"lobby/leave",
|
|
34
|
+
"lobby/removeBot",
|
|
33
35
|
"lobby/spectate",
|
|
34
36
|
"lobby/startBattle",
|
|
35
37
|
"lobby/subscribeList",
|
|
36
38
|
"lobby/unsubscribeList",
|
|
39
|
+
"lobby/updateBot",
|
|
37
40
|
"matchmaking/cancel",
|
|
38
41
|
"matchmaking/list",
|
|
39
42
|
"matchmaking/queue",
|
|
@@ -62,15 +65,18 @@ var tachyonMeta = {
|
|
|
62
65
|
"friend/rejectRequest",
|
|
63
66
|
"friend/remove",
|
|
64
67
|
"friend/sendRequest",
|
|
68
|
+
"lobby/addBot",
|
|
65
69
|
"lobby/create",
|
|
66
70
|
"lobby/join",
|
|
67
71
|
"lobby/joinAllyTeam",
|
|
68
72
|
"lobby/joinQueue",
|
|
69
73
|
"lobby/leave",
|
|
74
|
+
"lobby/removeBot",
|
|
70
75
|
"lobby/spectate",
|
|
71
76
|
"lobby/startBattle",
|
|
72
77
|
"lobby/subscribeList",
|
|
73
78
|
"lobby/unsubscribeList",
|
|
79
|
+
"lobby/updateBot",
|
|
74
80
|
"matchmaking/cancel",
|
|
75
81
|
"matchmaking/list",
|
|
76
82
|
"matchmaking/queue",
|
|
@@ -143,15 +149,18 @@ var tachyonMeta = {
|
|
|
143
149
|
"friend/rejectRequest",
|
|
144
150
|
"friend/remove",
|
|
145
151
|
"friend/sendRequest",
|
|
152
|
+
"lobby/addBot",
|
|
146
153
|
"lobby/create",
|
|
147
154
|
"lobby/join",
|
|
148
155
|
"lobby/joinAllyTeam",
|
|
149
156
|
"lobby/joinQueue",
|
|
150
157
|
"lobby/leave",
|
|
158
|
+
"lobby/removeBot",
|
|
151
159
|
"lobby/spectate",
|
|
152
160
|
"lobby/startBattle",
|
|
153
161
|
"lobby/subscribeList",
|
|
154
162
|
"lobby/unsubscribeList",
|
|
163
|
+
"lobby/updateBot",
|
|
155
164
|
"matchmaking/cancel",
|
|
156
165
|
"matchmaking/list",
|
|
157
166
|
"matchmaking/queue",
|
|
@@ -186,15 +195,18 @@ var tachyonMeta = {
|
|
|
186
195
|
"friend/rejectRequest",
|
|
187
196
|
"friend/remove",
|
|
188
197
|
"friend/sendRequest",
|
|
198
|
+
"lobby/addBot",
|
|
189
199
|
"lobby/create",
|
|
190
200
|
"lobby/join",
|
|
191
201
|
"lobby/joinAllyTeam",
|
|
192
202
|
"lobby/joinQueue",
|
|
193
203
|
"lobby/leave",
|
|
204
|
+
"lobby/removeBot",
|
|
194
205
|
"lobby/spectate",
|
|
195
206
|
"lobby/startBattle",
|
|
196
207
|
"lobby/subscribeList",
|
|
197
208
|
"lobby/unsubscribeList",
|
|
209
|
+
"lobby/updateBot",
|
|
198
210
|
"matchmaking/cancel",
|
|
199
211
|
"matchmaking/list",
|
|
200
212
|
"matchmaking/queue",
|
|
@@ -314,6 +326,7 @@ var tachyonMeta = {
|
|
|
314
326
|
"sendRequest"
|
|
315
327
|
],
|
|
316
328
|
"lobby": [
|
|
329
|
+
"addBot",
|
|
317
330
|
"create",
|
|
318
331
|
"join",
|
|
319
332
|
"joinAllyTeam",
|
|
@@ -322,10 +335,12 @@ var tachyonMeta = {
|
|
|
322
335
|
"left",
|
|
323
336
|
"listReset",
|
|
324
337
|
"listUpdated",
|
|
338
|
+
"removeBot",
|
|
325
339
|
"spectate",
|
|
326
340
|
"startBattle",
|
|
327
341
|
"subscribeList",
|
|
328
342
|
"unsubscribeList",
|
|
343
|
+
"updateBot",
|
|
329
344
|
"updated"
|
|
330
345
|
],
|
|
331
346
|
"matchmaking": [
|
|
@@ -485,6 +500,14 @@ var tachyonMeta = {
|
|
|
485
500
|
"invalid_request",
|
|
486
501
|
"command_unimplemented"
|
|
487
502
|
],
|
|
503
|
+
"lobby/addBot": [
|
|
504
|
+
"not_in_lobby",
|
|
505
|
+
"ally_team_full",
|
|
506
|
+
"internal_error",
|
|
507
|
+
"unauthorized",
|
|
508
|
+
"invalid_request",
|
|
509
|
+
"command_unimplemented"
|
|
510
|
+
],
|
|
488
511
|
"lobby/create": [
|
|
489
512
|
"internal_error",
|
|
490
513
|
"unauthorized",
|
|
@@ -519,6 +542,14 @@ var tachyonMeta = {
|
|
|
519
542
|
"invalid_request",
|
|
520
543
|
"command_unimplemented"
|
|
521
544
|
],
|
|
545
|
+
"lobby/removeBot": [
|
|
546
|
+
"not_in_lobby",
|
|
547
|
+
"invalid_bot",
|
|
548
|
+
"internal_error",
|
|
549
|
+
"unauthorized",
|
|
550
|
+
"invalid_request",
|
|
551
|
+
"command_unimplemented"
|
|
552
|
+
],
|
|
522
553
|
"lobby/spectate": [
|
|
523
554
|
"not_in_lobby",
|
|
524
555
|
"internal_error",
|
|
@@ -544,6 +575,14 @@ var tachyonMeta = {
|
|
|
544
575
|
"invalid_request",
|
|
545
576
|
"command_unimplemented"
|
|
546
577
|
],
|
|
578
|
+
"lobby/updateBot": [
|
|
579
|
+
"not_in_lobby",
|
|
580
|
+
"invalid_bot",
|
|
581
|
+
"internal_error",
|
|
582
|
+
"unauthorized",
|
|
583
|
+
"invalid_request",
|
|
584
|
+
"command_unimplemented"
|
|
585
|
+
],
|
|
547
586
|
"matchmaking/cancel": [
|
|
548
587
|
"not_queued",
|
|
549
588
|
"internal_error",
|