tachyon-protocol 1.13.0 → 1.14.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/README.md +1 -0
- package/dist/index.d.mts +14 -7
- package/dist/index.d.ts +14 -7
- package/dist/index.js +79 -1
- package/dist/index.mjs +79 -1
- package/dist/types.d.mts +347 -2
- package/dist/types.d.ts +347 -2
- package/dist/validators.d.mts +50 -2
- package/dist/validators.d.ts +50 -2
- package/dist/validators.js +1 -1
- package/dist/validators.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,6 +95,7 @@ Every event command contains these additional properties:
|
|
|
95
95
|
- [autohost](docs/schema/autohost.md)
|
|
96
96
|
- [battle](docs/schema/battle.md)
|
|
97
97
|
- [friend](docs/schema/friend.md)
|
|
98
|
+
- [lobby](docs/schema/lobby.md)
|
|
98
99
|
- [matchmaking](docs/schema/matchmaking.md)
|
|
99
100
|
- [messaging](docs/schema/messaging.md)
|
|
100
101
|
- [party](docs/schema/party.md)
|
package/dist/index.d.mts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.mjs';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.14.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", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
10
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
13
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
14
14
|
readonly receive: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
15
15
|
};
|
|
16
16
|
readonly event: {
|
|
17
|
-
readonly send: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
17
|
+
readonly send: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
18
18
|
readonly receive: readonly ["autohost/status", "autohost/update"];
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
readonly user: {
|
|
22
22
|
readonly request: {
|
|
23
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
23
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
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", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
28
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
32
|
-
readonly receive: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
32
|
+
readonly receive: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
readonly autohost: {
|
|
@@ -51,6 +51,7 @@ declare const tachyonMeta: {
|
|
|
51
51
|
readonly autohost: readonly ["addPlayer", "installEngine", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
|
|
52
52
|
readonly battle: readonly ["start"];
|
|
53
53
|
readonly friend: readonly ["acceptRequest", "cancelRequest", "list", "rejectRequest", "remove", "removed", "requestAccepted", "requestCancelled", "requestReceived", "requestRejected", "sendRequest"];
|
|
54
|
+
readonly lobby: readonly ["create", "join", "leave", "left", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
|
|
54
55
|
readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "queuesJoined", "ready"];
|
|
55
56
|
readonly messaging: readonly ["received", "send", "subscribeReceived"];
|
|
56
57
|
readonly party: readonly ["acceptInvite", "cancelInvite", "create", "declineInvite", "invite", "invited", "kickMember", "leave", "removed", "updated"];
|
|
@@ -75,6 +76,12 @@ declare const tachyonMeta: {
|
|
|
75
76
|
readonly "friend/rejectRequest": readonly ["invalid_user", "no_pending_request", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
76
77
|
readonly "friend/remove": readonly ["invalid_user", "not_in_friendlist", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
77
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/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
|
+
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
|
+
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
|
+
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
83
|
+
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
|
+
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
78
85
|
readonly "matchmaking/cancel": readonly ["not_queued", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
86
|
readonly "matchmaking/list": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
87
|
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,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.14.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", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
10
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
13
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
14
14
|
readonly receive: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
15
15
|
};
|
|
16
16
|
readonly event: {
|
|
17
|
-
readonly send: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
17
|
+
readonly send: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
18
18
|
readonly receive: readonly ["autohost/status", "autohost/update"];
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
readonly user: {
|
|
22
22
|
readonly request: {
|
|
23
|
-
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
23
|
+
readonly send: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
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", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
28
|
+
readonly receive: readonly ["friend/acceptRequest", "friend/cancelRequest", "friend/list", "friend/rejectRequest", "friend/remove", "friend/sendRequest", "lobby/create", "lobby/join", "lobby/leave", "lobby/startBattle", "lobby/subscribeList", "lobby/unsubscribeList", "matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "party/acceptInvite", "party/cancelInvite", "party/create", "party/declineInvite", "party/invite", "party/kickMember", "party/leave", "system/disconnect", "system/serverStats", "user/info", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
32
|
-
readonly receive: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
32
|
+
readonly receive: readonly ["friend/removed", "friend/requestAccepted", "friend/requestCancelled", "friend/requestReceived", "friend/requestRejected", "lobby/left", "lobby/listUpdated", "lobby/updated", "matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "matchmaking/queuesJoined", "messaging/received", "party/invited", "party/removed", "party/updated", "user/self", "user/updated"];
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
readonly autohost: {
|
|
@@ -51,6 +51,7 @@ declare const tachyonMeta: {
|
|
|
51
51
|
readonly autohost: readonly ["addPlayer", "installEngine", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
|
|
52
52
|
readonly battle: readonly ["start"];
|
|
53
53
|
readonly friend: readonly ["acceptRequest", "cancelRequest", "list", "rejectRequest", "remove", "removed", "requestAccepted", "requestCancelled", "requestReceived", "requestRejected", "sendRequest"];
|
|
54
|
+
readonly lobby: readonly ["create", "join", "leave", "left", "listUpdated", "startBattle", "subscribeList", "unsubscribeList", "updated"];
|
|
54
55
|
readonly matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "queuesJoined", "ready"];
|
|
55
56
|
readonly messaging: readonly ["received", "send", "subscribeReceived"];
|
|
56
57
|
readonly party: readonly ["acceptInvite", "cancelInvite", "create", "declineInvite", "invite", "invited", "kickMember", "leave", "removed", "updated"];
|
|
@@ -75,6 +76,12 @@ declare const tachyonMeta: {
|
|
|
75
76
|
readonly "friend/rejectRequest": readonly ["invalid_user", "no_pending_request", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
76
77
|
readonly "friend/remove": readonly ["invalid_user", "not_in_friendlist", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
77
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/create": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
|
+
readonly "lobby/join": readonly ["lobby_full", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
81
|
+
readonly "lobby/leave": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
82
|
+
readonly "lobby/startBattle": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
83
|
+
readonly "lobby/subscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
84
|
+
readonly "lobby/unsubscribeList": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
78
85
|
readonly "matchmaking/cancel": readonly ["not_queued", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
86
|
readonly "matchmaking/list": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
80
87
|
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.14.0",
|
|
28
28
|
"schema": {
|
|
29
29
|
"actors": {
|
|
30
30
|
"server": {
|
|
@@ -49,6 +49,12 @@ var tachyonMeta = {
|
|
|
49
49
|
"friend/rejectRequest",
|
|
50
50
|
"friend/remove",
|
|
51
51
|
"friend/sendRequest",
|
|
52
|
+
"lobby/create",
|
|
53
|
+
"lobby/join",
|
|
54
|
+
"lobby/leave",
|
|
55
|
+
"lobby/startBattle",
|
|
56
|
+
"lobby/subscribeList",
|
|
57
|
+
"lobby/unsubscribeList",
|
|
52
58
|
"matchmaking/cancel",
|
|
53
59
|
"matchmaking/list",
|
|
54
60
|
"matchmaking/queue",
|
|
@@ -77,6 +83,12 @@ var tachyonMeta = {
|
|
|
77
83
|
"friend/rejectRequest",
|
|
78
84
|
"friend/remove",
|
|
79
85
|
"friend/sendRequest",
|
|
86
|
+
"lobby/create",
|
|
87
|
+
"lobby/join",
|
|
88
|
+
"lobby/leave",
|
|
89
|
+
"lobby/startBattle",
|
|
90
|
+
"lobby/subscribeList",
|
|
91
|
+
"lobby/unsubscribeList",
|
|
80
92
|
"matchmaking/cancel",
|
|
81
93
|
"matchmaking/list",
|
|
82
94
|
"matchmaking/queue",
|
|
@@ -117,6 +129,9 @@ var tachyonMeta = {
|
|
|
117
129
|
"friend/requestCancelled",
|
|
118
130
|
"friend/requestReceived",
|
|
119
131
|
"friend/requestRejected",
|
|
132
|
+
"lobby/left",
|
|
133
|
+
"lobby/listUpdated",
|
|
134
|
+
"lobby/updated",
|
|
120
135
|
"matchmaking/cancelled",
|
|
121
136
|
"matchmaking/found",
|
|
122
137
|
"matchmaking/foundUpdate",
|
|
@@ -145,6 +160,12 @@ var tachyonMeta = {
|
|
|
145
160
|
"friend/rejectRequest",
|
|
146
161
|
"friend/remove",
|
|
147
162
|
"friend/sendRequest",
|
|
163
|
+
"lobby/create",
|
|
164
|
+
"lobby/join",
|
|
165
|
+
"lobby/leave",
|
|
166
|
+
"lobby/startBattle",
|
|
167
|
+
"lobby/subscribeList",
|
|
168
|
+
"lobby/unsubscribeList",
|
|
148
169
|
"matchmaking/cancel",
|
|
149
170
|
"matchmaking/list",
|
|
150
171
|
"matchmaking/queue",
|
|
@@ -179,6 +200,12 @@ var tachyonMeta = {
|
|
|
179
200
|
"friend/rejectRequest",
|
|
180
201
|
"friend/remove",
|
|
181
202
|
"friend/sendRequest",
|
|
203
|
+
"lobby/create",
|
|
204
|
+
"lobby/join",
|
|
205
|
+
"lobby/leave",
|
|
206
|
+
"lobby/startBattle",
|
|
207
|
+
"lobby/subscribeList",
|
|
208
|
+
"lobby/unsubscribeList",
|
|
182
209
|
"matchmaking/cancel",
|
|
183
210
|
"matchmaking/list",
|
|
184
211
|
"matchmaking/queue",
|
|
@@ -207,6 +234,9 @@ var tachyonMeta = {
|
|
|
207
234
|
"friend/requestCancelled",
|
|
208
235
|
"friend/requestReceived",
|
|
209
236
|
"friend/requestRejected",
|
|
237
|
+
"lobby/left",
|
|
238
|
+
"lobby/listUpdated",
|
|
239
|
+
"lobby/updated",
|
|
210
240
|
"matchmaking/cancelled",
|
|
211
241
|
"matchmaking/found",
|
|
212
242
|
"matchmaking/foundUpdate",
|
|
@@ -293,6 +323,17 @@ var tachyonMeta = {
|
|
|
293
323
|
"requestRejected",
|
|
294
324
|
"sendRequest"
|
|
295
325
|
],
|
|
326
|
+
"lobby": [
|
|
327
|
+
"create",
|
|
328
|
+
"join",
|
|
329
|
+
"leave",
|
|
330
|
+
"left",
|
|
331
|
+
"listUpdated",
|
|
332
|
+
"startBattle",
|
|
333
|
+
"subscribeList",
|
|
334
|
+
"unsubscribeList",
|
|
335
|
+
"updated"
|
|
336
|
+
],
|
|
296
337
|
"matchmaking": [
|
|
297
338
|
"cancel",
|
|
298
339
|
"cancelled",
|
|
@@ -450,6 +491,43 @@ var tachyonMeta = {
|
|
|
450
491
|
"invalid_request",
|
|
451
492
|
"command_unimplemented"
|
|
452
493
|
],
|
|
494
|
+
"lobby/create": [
|
|
495
|
+
"internal_error",
|
|
496
|
+
"unauthorized",
|
|
497
|
+
"invalid_request",
|
|
498
|
+
"command_unimplemented"
|
|
499
|
+
],
|
|
500
|
+
"lobby/join": [
|
|
501
|
+
"lobby_full",
|
|
502
|
+
"internal_error",
|
|
503
|
+
"unauthorized",
|
|
504
|
+
"invalid_request",
|
|
505
|
+
"command_unimplemented"
|
|
506
|
+
],
|
|
507
|
+
"lobby/leave": [
|
|
508
|
+
"internal_error",
|
|
509
|
+
"unauthorized",
|
|
510
|
+
"invalid_request",
|
|
511
|
+
"command_unimplemented"
|
|
512
|
+
],
|
|
513
|
+
"lobby/startBattle": [
|
|
514
|
+
"internal_error",
|
|
515
|
+
"unauthorized",
|
|
516
|
+
"invalid_request",
|
|
517
|
+
"command_unimplemented"
|
|
518
|
+
],
|
|
519
|
+
"lobby/subscribeList": [
|
|
520
|
+
"internal_error",
|
|
521
|
+
"unauthorized",
|
|
522
|
+
"invalid_request",
|
|
523
|
+
"command_unimplemented"
|
|
524
|
+
],
|
|
525
|
+
"lobby/unsubscribeList": [
|
|
526
|
+
"internal_error",
|
|
527
|
+
"unauthorized",
|
|
528
|
+
"invalid_request",
|
|
529
|
+
"command_unimplemented"
|
|
530
|
+
],
|
|
453
531
|
"matchmaking/cancel": [
|
|
454
532
|
"not_queued",
|
|
455
533
|
"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.14.0",
|
|
4
4
|
"schema": {
|
|
5
5
|
"actors": {
|
|
6
6
|
"server": {
|
|
@@ -25,6 +25,12 @@ var tachyonMeta = {
|
|
|
25
25
|
"friend/rejectRequest",
|
|
26
26
|
"friend/remove",
|
|
27
27
|
"friend/sendRequest",
|
|
28
|
+
"lobby/create",
|
|
29
|
+
"lobby/join",
|
|
30
|
+
"lobby/leave",
|
|
31
|
+
"lobby/startBattle",
|
|
32
|
+
"lobby/subscribeList",
|
|
33
|
+
"lobby/unsubscribeList",
|
|
28
34
|
"matchmaking/cancel",
|
|
29
35
|
"matchmaking/list",
|
|
30
36
|
"matchmaking/queue",
|
|
@@ -53,6 +59,12 @@ var tachyonMeta = {
|
|
|
53
59
|
"friend/rejectRequest",
|
|
54
60
|
"friend/remove",
|
|
55
61
|
"friend/sendRequest",
|
|
62
|
+
"lobby/create",
|
|
63
|
+
"lobby/join",
|
|
64
|
+
"lobby/leave",
|
|
65
|
+
"lobby/startBattle",
|
|
66
|
+
"lobby/subscribeList",
|
|
67
|
+
"lobby/unsubscribeList",
|
|
56
68
|
"matchmaking/cancel",
|
|
57
69
|
"matchmaking/list",
|
|
58
70
|
"matchmaking/queue",
|
|
@@ -93,6 +105,9 @@ var tachyonMeta = {
|
|
|
93
105
|
"friend/requestCancelled",
|
|
94
106
|
"friend/requestReceived",
|
|
95
107
|
"friend/requestRejected",
|
|
108
|
+
"lobby/left",
|
|
109
|
+
"lobby/listUpdated",
|
|
110
|
+
"lobby/updated",
|
|
96
111
|
"matchmaking/cancelled",
|
|
97
112
|
"matchmaking/found",
|
|
98
113
|
"matchmaking/foundUpdate",
|
|
@@ -121,6 +136,12 @@ var tachyonMeta = {
|
|
|
121
136
|
"friend/rejectRequest",
|
|
122
137
|
"friend/remove",
|
|
123
138
|
"friend/sendRequest",
|
|
139
|
+
"lobby/create",
|
|
140
|
+
"lobby/join",
|
|
141
|
+
"lobby/leave",
|
|
142
|
+
"lobby/startBattle",
|
|
143
|
+
"lobby/subscribeList",
|
|
144
|
+
"lobby/unsubscribeList",
|
|
124
145
|
"matchmaking/cancel",
|
|
125
146
|
"matchmaking/list",
|
|
126
147
|
"matchmaking/queue",
|
|
@@ -155,6 +176,12 @@ var tachyonMeta = {
|
|
|
155
176
|
"friend/rejectRequest",
|
|
156
177
|
"friend/remove",
|
|
157
178
|
"friend/sendRequest",
|
|
179
|
+
"lobby/create",
|
|
180
|
+
"lobby/join",
|
|
181
|
+
"lobby/leave",
|
|
182
|
+
"lobby/startBattle",
|
|
183
|
+
"lobby/subscribeList",
|
|
184
|
+
"lobby/unsubscribeList",
|
|
158
185
|
"matchmaking/cancel",
|
|
159
186
|
"matchmaking/list",
|
|
160
187
|
"matchmaking/queue",
|
|
@@ -183,6 +210,9 @@ var tachyonMeta = {
|
|
|
183
210
|
"friend/requestCancelled",
|
|
184
211
|
"friend/requestReceived",
|
|
185
212
|
"friend/requestRejected",
|
|
213
|
+
"lobby/left",
|
|
214
|
+
"lobby/listUpdated",
|
|
215
|
+
"lobby/updated",
|
|
186
216
|
"matchmaking/cancelled",
|
|
187
217
|
"matchmaking/found",
|
|
188
218
|
"matchmaking/foundUpdate",
|
|
@@ -269,6 +299,17 @@ var tachyonMeta = {
|
|
|
269
299
|
"requestRejected",
|
|
270
300
|
"sendRequest"
|
|
271
301
|
],
|
|
302
|
+
"lobby": [
|
|
303
|
+
"create",
|
|
304
|
+
"join",
|
|
305
|
+
"leave",
|
|
306
|
+
"left",
|
|
307
|
+
"listUpdated",
|
|
308
|
+
"startBattle",
|
|
309
|
+
"subscribeList",
|
|
310
|
+
"unsubscribeList",
|
|
311
|
+
"updated"
|
|
312
|
+
],
|
|
272
313
|
"matchmaking": [
|
|
273
314
|
"cancel",
|
|
274
315
|
"cancelled",
|
|
@@ -426,6 +467,43 @@ var tachyonMeta = {
|
|
|
426
467
|
"invalid_request",
|
|
427
468
|
"command_unimplemented"
|
|
428
469
|
],
|
|
470
|
+
"lobby/create": [
|
|
471
|
+
"internal_error",
|
|
472
|
+
"unauthorized",
|
|
473
|
+
"invalid_request",
|
|
474
|
+
"command_unimplemented"
|
|
475
|
+
],
|
|
476
|
+
"lobby/join": [
|
|
477
|
+
"lobby_full",
|
|
478
|
+
"internal_error",
|
|
479
|
+
"unauthorized",
|
|
480
|
+
"invalid_request",
|
|
481
|
+
"command_unimplemented"
|
|
482
|
+
],
|
|
483
|
+
"lobby/leave": [
|
|
484
|
+
"internal_error",
|
|
485
|
+
"unauthorized",
|
|
486
|
+
"invalid_request",
|
|
487
|
+
"command_unimplemented"
|
|
488
|
+
],
|
|
489
|
+
"lobby/startBattle": [
|
|
490
|
+
"internal_error",
|
|
491
|
+
"unauthorized",
|
|
492
|
+
"invalid_request",
|
|
493
|
+
"command_unimplemented"
|
|
494
|
+
],
|
|
495
|
+
"lobby/subscribeList": [
|
|
496
|
+
"internal_error",
|
|
497
|
+
"unauthorized",
|
|
498
|
+
"invalid_request",
|
|
499
|
+
"command_unimplemented"
|
|
500
|
+
],
|
|
501
|
+
"lobby/unsubscribeList": [
|
|
502
|
+
"internal_error",
|
|
503
|
+
"unauthorized",
|
|
504
|
+
"invalid_request",
|
|
505
|
+
"command_unimplemented"
|
|
506
|
+
],
|
|
429
507
|
"matchmaking/cancel": [
|
|
430
508
|
"not_queued",
|
|
431
509
|
"internal_error",
|