tachyon-protocol 1.9.2 → 1.10.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 +19 -13
- package/dist/index.d.ts +19 -13
- package/dist/index.js +71 -5
- package/dist/index.mjs +71 -5
- package/dist/types.d.mts +248 -11
- package/dist/types.d.ts +248 -11
- package/dist/validators.d.mts +40 -2
- package/dist/validators.d.ts +40 -2
- package/dist/validators.js +1 -1
- package/dist/validators.mjs +1 -1
- package/package.json +3 -2
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
|
- [matchmaking](docs/schema/matchmaking.md)
|
|
98
|
+
- [messaging](docs/schema/messaging.md)
|
|
98
99
|
- [system](docs/schema/system.md)
|
|
99
100
|
- [user](docs/schema/user.md)
|
|
100
101
|
<!-- COMMAND_SCHEMA_PLACEHOLDER_END_DO_NOT_REMOVE -->
|
package/dist/index.d.mts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.mjs';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.10.0";
|
|
5
5
|
readonly schema: {
|
|
6
6
|
readonly actors: {
|
|
7
7
|
readonly server: {
|
|
8
8
|
readonly request: {
|
|
9
|
-
readonly send: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
10
|
-
readonly receive: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
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 ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
14
|
-
readonly receive: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
13
|
+
readonly send: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
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 ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
|
|
17
|
+
readonly send: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "messaging/received", "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 ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
23
|
+
readonly send: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "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 ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
28
|
+
readonly receive: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
32
|
-
readonly receive: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
|
|
32
|
+
readonly receive: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "messaging/received", "user/self", "user/updated"];
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
readonly autohost: {
|
|
36
36
|
readonly request: {
|
|
37
37
|
readonly send: readonly [];
|
|
38
|
-
readonly receive: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
38
|
+
readonly receive: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
39
39
|
};
|
|
40
40
|
readonly response: {
|
|
41
|
-
readonly send: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
41
|
+
readonly send: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
42
42
|
readonly receive: readonly [];
|
|
43
43
|
};
|
|
44
44
|
readonly event: {
|
|
@@ -48,14 +48,16 @@ declare const tachyonMeta: {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
readonly serviceIds: {
|
|
51
|
-
readonly autohost: readonly ["addPlayer", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
|
|
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 matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "ready"];
|
|
54
|
+
readonly messaging: readonly ["received", "send", "subscribeReceived"];
|
|
54
55
|
readonly system: readonly ["disconnect", "serverStats"];
|
|
55
|
-
readonly user: readonly ["updated"];
|
|
56
|
+
readonly user: readonly ["self", "subscribeUpdates", "unsubscribeUpdates", "updated"];
|
|
56
57
|
};
|
|
57
58
|
readonly failedReasons: {
|
|
58
59
|
readonly "autohost/addPlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
60
|
+
readonly "autohost/installEngine": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
59
61
|
readonly "autohost/kickPlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
60
62
|
readonly "autohost/kill": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
61
63
|
readonly "autohost/mutePlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
@@ -69,8 +71,12 @@ declare const tachyonMeta: {
|
|
|
69
71
|
readonly "matchmaking/list": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
70
72
|
readonly "matchmaking/queue": readonly ["invalid_queue_specified", "already_queued", "already_inbattle", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
71
73
|
readonly "matchmaking/ready": readonly ["no_match", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
74
|
+
readonly "messaging/send": readonly ["message_too_long", "invalid_target", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
75
|
+
readonly "messaging/subscribeReceived": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
72
76
|
readonly "system/disconnect": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
73
77
|
readonly "system/serverStats": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
78
|
+
readonly "user/subscribeUpdates": readonly ["subscription_limit_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
|
+
readonly "user/unsubscribeUpdates": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
74
80
|
};
|
|
75
81
|
};
|
|
76
82
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { TachyonCommand } from './types.js';
|
|
2
2
|
|
|
3
3
|
declare const tachyonMeta: {
|
|
4
|
-
readonly version: "1.
|
|
4
|
+
readonly version: "1.10.0";
|
|
5
5
|
readonly schema: {
|
|
6
6
|
readonly actors: {
|
|
7
7
|
readonly server: {
|
|
8
8
|
readonly request: {
|
|
9
|
-
readonly send: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
10
|
-
readonly receive: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
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 ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
11
11
|
};
|
|
12
12
|
readonly response: {
|
|
13
|
-
readonly send: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
14
|
-
readonly receive: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates", "battle/start"];
|
|
13
|
+
readonly send: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
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 ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
|
|
17
|
+
readonly send: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "messaging/received", "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 ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
23
|
+
readonly send: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "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 ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "system/disconnect", "system/serverStats"];
|
|
28
|
+
readonly receive: readonly ["matchmaking/cancel", "matchmaking/list", "matchmaking/queue", "matchmaking/ready", "messaging/send", "messaging/subscribeReceived", "system/disconnect", "system/serverStats", "user/subscribeUpdates", "user/unsubscribeUpdates"];
|
|
29
29
|
};
|
|
30
30
|
readonly event: {
|
|
31
31
|
readonly send: readonly [];
|
|
32
|
-
readonly receive: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "user/updated"];
|
|
32
|
+
readonly receive: readonly ["matchmaking/cancelled", "matchmaking/found", "matchmaking/foundUpdate", "matchmaking/lost", "matchmaking/queueUpdate", "messaging/received", "user/self", "user/updated"];
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
readonly autohost: {
|
|
36
36
|
readonly request: {
|
|
37
37
|
readonly send: readonly [];
|
|
38
|
-
readonly receive: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
38
|
+
readonly receive: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
39
39
|
};
|
|
40
40
|
readonly response: {
|
|
41
|
-
readonly send: readonly ["autohost/addPlayer", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
41
|
+
readonly send: readonly ["autohost/addPlayer", "autohost/installEngine", "autohost/kickPlayer", "autohost/kill", "autohost/mutePlayer", "autohost/sendCommand", "autohost/sendMessage", "autohost/specPlayers", "autohost/start", "autohost/subscribeUpdates"];
|
|
42
42
|
readonly receive: readonly [];
|
|
43
43
|
};
|
|
44
44
|
readonly event: {
|
|
@@ -48,14 +48,16 @@ declare const tachyonMeta: {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
readonly serviceIds: {
|
|
51
|
-
readonly autohost: readonly ["addPlayer", "kickPlayer", "kill", "mutePlayer", "sendCommand", "sendMessage", "specPlayers", "start", "status", "subscribeUpdates", "update"];
|
|
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 matchmaking: readonly ["cancel", "cancelled", "found", "foundUpdate", "list", "lost", "queue", "queueUpdate", "ready"];
|
|
54
|
+
readonly messaging: readonly ["received", "send", "subscribeReceived"];
|
|
54
55
|
readonly system: readonly ["disconnect", "serverStats"];
|
|
55
|
-
readonly user: readonly ["updated"];
|
|
56
|
+
readonly user: readonly ["self", "subscribeUpdates", "unsubscribeUpdates", "updated"];
|
|
56
57
|
};
|
|
57
58
|
readonly failedReasons: {
|
|
58
59
|
readonly "autohost/addPlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
60
|
+
readonly "autohost/installEngine": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
59
61
|
readonly "autohost/kickPlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
60
62
|
readonly "autohost/kill": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
61
63
|
readonly "autohost/mutePlayer": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
@@ -69,8 +71,12 @@ declare const tachyonMeta: {
|
|
|
69
71
|
readonly "matchmaking/list": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
70
72
|
readonly "matchmaking/queue": readonly ["invalid_queue_specified", "already_queued", "already_inbattle", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
71
73
|
readonly "matchmaking/ready": readonly ["no_match", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
74
|
+
readonly "messaging/send": readonly ["message_too_long", "invalid_target", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
75
|
+
readonly "messaging/subscribeReceived": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
72
76
|
readonly "system/disconnect": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
73
77
|
readonly "system/serverStats": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
78
|
+
readonly "user/subscribeUpdates": readonly ["subscription_limit_reached", "internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
79
|
+
readonly "user/unsubscribeUpdates": readonly ["internal_error", "unauthorized", "invalid_request", "command_unimplemented"];
|
|
74
80
|
};
|
|
75
81
|
};
|
|
76
82
|
};
|
package/dist/index.js
CHANGED
|
@@ -24,13 +24,14 @@ __export(dist_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(dist_exports);
|
|
26
26
|
var tachyonMeta = {
|
|
27
|
-
"version": "1.
|
|
27
|
+
"version": "1.10.0",
|
|
28
28
|
"schema": {
|
|
29
29
|
"actors": {
|
|
30
30
|
"server": {
|
|
31
31
|
"request": {
|
|
32
32
|
"send": [
|
|
33
33
|
"autohost/addPlayer",
|
|
34
|
+
"autohost/installEngine",
|
|
34
35
|
"autohost/kickPlayer",
|
|
35
36
|
"autohost/kill",
|
|
36
37
|
"autohost/mutePlayer",
|
|
@@ -46,8 +47,12 @@ var tachyonMeta = {
|
|
|
46
47
|
"matchmaking/list",
|
|
47
48
|
"matchmaking/queue",
|
|
48
49
|
"matchmaking/ready",
|
|
50
|
+
"messaging/send",
|
|
51
|
+
"messaging/subscribeReceived",
|
|
49
52
|
"system/disconnect",
|
|
50
|
-
"system/serverStats"
|
|
53
|
+
"system/serverStats",
|
|
54
|
+
"user/subscribeUpdates",
|
|
55
|
+
"user/unsubscribeUpdates"
|
|
51
56
|
]
|
|
52
57
|
},
|
|
53
58
|
"response": {
|
|
@@ -56,11 +61,16 @@ var tachyonMeta = {
|
|
|
56
61
|
"matchmaking/list",
|
|
57
62
|
"matchmaking/queue",
|
|
58
63
|
"matchmaking/ready",
|
|
64
|
+
"messaging/send",
|
|
65
|
+
"messaging/subscribeReceived",
|
|
59
66
|
"system/disconnect",
|
|
60
|
-
"system/serverStats"
|
|
67
|
+
"system/serverStats",
|
|
68
|
+
"user/subscribeUpdates",
|
|
69
|
+
"user/unsubscribeUpdates"
|
|
61
70
|
],
|
|
62
71
|
"receive": [
|
|
63
72
|
"autohost/addPlayer",
|
|
73
|
+
"autohost/installEngine",
|
|
64
74
|
"autohost/kickPlayer",
|
|
65
75
|
"autohost/kill",
|
|
66
76
|
"autohost/mutePlayer",
|
|
@@ -79,6 +89,8 @@ var tachyonMeta = {
|
|
|
79
89
|
"matchmaking/foundUpdate",
|
|
80
90
|
"matchmaking/lost",
|
|
81
91
|
"matchmaking/queueUpdate",
|
|
92
|
+
"messaging/received",
|
|
93
|
+
"user/self",
|
|
82
94
|
"user/updated"
|
|
83
95
|
],
|
|
84
96
|
"receive": [
|
|
@@ -94,8 +106,12 @@ var tachyonMeta = {
|
|
|
94
106
|
"matchmaking/list",
|
|
95
107
|
"matchmaking/queue",
|
|
96
108
|
"matchmaking/ready",
|
|
109
|
+
"messaging/send",
|
|
110
|
+
"messaging/subscribeReceived",
|
|
97
111
|
"system/disconnect",
|
|
98
|
-
"system/serverStats"
|
|
112
|
+
"system/serverStats",
|
|
113
|
+
"user/subscribeUpdates",
|
|
114
|
+
"user/unsubscribeUpdates"
|
|
99
115
|
],
|
|
100
116
|
"receive": [
|
|
101
117
|
"battle/start"
|
|
@@ -110,8 +126,12 @@ var tachyonMeta = {
|
|
|
110
126
|
"matchmaking/list",
|
|
111
127
|
"matchmaking/queue",
|
|
112
128
|
"matchmaking/ready",
|
|
129
|
+
"messaging/send",
|
|
130
|
+
"messaging/subscribeReceived",
|
|
113
131
|
"system/disconnect",
|
|
114
|
-
"system/serverStats"
|
|
132
|
+
"system/serverStats",
|
|
133
|
+
"user/subscribeUpdates",
|
|
134
|
+
"user/unsubscribeUpdates"
|
|
115
135
|
]
|
|
116
136
|
},
|
|
117
137
|
"event": {
|
|
@@ -122,6 +142,8 @@ var tachyonMeta = {
|
|
|
122
142
|
"matchmaking/foundUpdate",
|
|
123
143
|
"matchmaking/lost",
|
|
124
144
|
"matchmaking/queueUpdate",
|
|
145
|
+
"messaging/received",
|
|
146
|
+
"user/self",
|
|
125
147
|
"user/updated"
|
|
126
148
|
]
|
|
127
149
|
}
|
|
@@ -131,6 +153,7 @@ var tachyonMeta = {
|
|
|
131
153
|
"send": [],
|
|
132
154
|
"receive": [
|
|
133
155
|
"autohost/addPlayer",
|
|
156
|
+
"autohost/installEngine",
|
|
134
157
|
"autohost/kickPlayer",
|
|
135
158
|
"autohost/kill",
|
|
136
159
|
"autohost/mutePlayer",
|
|
@@ -144,6 +167,7 @@ var tachyonMeta = {
|
|
|
144
167
|
"response": {
|
|
145
168
|
"send": [
|
|
146
169
|
"autohost/addPlayer",
|
|
170
|
+
"autohost/installEngine",
|
|
147
171
|
"autohost/kickPlayer",
|
|
148
172
|
"autohost/kill",
|
|
149
173
|
"autohost/mutePlayer",
|
|
@@ -167,6 +191,7 @@ var tachyonMeta = {
|
|
|
167
191
|
"serviceIds": {
|
|
168
192
|
"autohost": [
|
|
169
193
|
"addPlayer",
|
|
194
|
+
"installEngine",
|
|
170
195
|
"kickPlayer",
|
|
171
196
|
"kill",
|
|
172
197
|
"mutePlayer",
|
|
@@ -192,11 +217,19 @@ var tachyonMeta = {
|
|
|
192
217
|
"queueUpdate",
|
|
193
218
|
"ready"
|
|
194
219
|
],
|
|
220
|
+
"messaging": [
|
|
221
|
+
"received",
|
|
222
|
+
"send",
|
|
223
|
+
"subscribeReceived"
|
|
224
|
+
],
|
|
195
225
|
"system": [
|
|
196
226
|
"disconnect",
|
|
197
227
|
"serverStats"
|
|
198
228
|
],
|
|
199
229
|
"user": [
|
|
230
|
+
"self",
|
|
231
|
+
"subscribeUpdates",
|
|
232
|
+
"unsubscribeUpdates",
|
|
200
233
|
"updated"
|
|
201
234
|
]
|
|
202
235
|
},
|
|
@@ -207,6 +240,12 @@ var tachyonMeta = {
|
|
|
207
240
|
"invalid_request",
|
|
208
241
|
"command_unimplemented"
|
|
209
242
|
],
|
|
243
|
+
"autohost/installEngine": [
|
|
244
|
+
"internal_error",
|
|
245
|
+
"unauthorized",
|
|
246
|
+
"invalid_request",
|
|
247
|
+
"command_unimplemented"
|
|
248
|
+
],
|
|
210
249
|
"autohost/kickPlayer": [
|
|
211
250
|
"internal_error",
|
|
212
251
|
"unauthorized",
|
|
@@ -292,6 +331,20 @@ var tachyonMeta = {
|
|
|
292
331
|
"invalid_request",
|
|
293
332
|
"command_unimplemented"
|
|
294
333
|
],
|
|
334
|
+
"messaging/send": [
|
|
335
|
+
"message_too_long",
|
|
336
|
+
"invalid_target",
|
|
337
|
+
"internal_error",
|
|
338
|
+
"unauthorized",
|
|
339
|
+
"invalid_request",
|
|
340
|
+
"command_unimplemented"
|
|
341
|
+
],
|
|
342
|
+
"messaging/subscribeReceived": [
|
|
343
|
+
"internal_error",
|
|
344
|
+
"unauthorized",
|
|
345
|
+
"invalid_request",
|
|
346
|
+
"command_unimplemented"
|
|
347
|
+
],
|
|
295
348
|
"system/disconnect": [
|
|
296
349
|
"internal_error",
|
|
297
350
|
"unauthorized",
|
|
@@ -303,6 +356,19 @@ var tachyonMeta = {
|
|
|
303
356
|
"unauthorized",
|
|
304
357
|
"invalid_request",
|
|
305
358
|
"command_unimplemented"
|
|
359
|
+
],
|
|
360
|
+
"user/subscribeUpdates": [
|
|
361
|
+
"subscription_limit_reached",
|
|
362
|
+
"internal_error",
|
|
363
|
+
"unauthorized",
|
|
364
|
+
"invalid_request",
|
|
365
|
+
"command_unimplemented"
|
|
366
|
+
],
|
|
367
|
+
"user/unsubscribeUpdates": [
|
|
368
|
+
"internal_error",
|
|
369
|
+
"unauthorized",
|
|
370
|
+
"invalid_request",
|
|
371
|
+
"command_unimplemented"
|
|
306
372
|
]
|
|
307
373
|
}
|
|
308
374
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// dist/index.ts
|
|
2
2
|
var tachyonMeta = {
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"schema": {
|
|
5
5
|
"actors": {
|
|
6
6
|
"server": {
|
|
7
7
|
"request": {
|
|
8
8
|
"send": [
|
|
9
9
|
"autohost/addPlayer",
|
|
10
|
+
"autohost/installEngine",
|
|
10
11
|
"autohost/kickPlayer",
|
|
11
12
|
"autohost/kill",
|
|
12
13
|
"autohost/mutePlayer",
|
|
@@ -22,8 +23,12 @@ var tachyonMeta = {
|
|
|
22
23
|
"matchmaking/list",
|
|
23
24
|
"matchmaking/queue",
|
|
24
25
|
"matchmaking/ready",
|
|
26
|
+
"messaging/send",
|
|
27
|
+
"messaging/subscribeReceived",
|
|
25
28
|
"system/disconnect",
|
|
26
|
-
"system/serverStats"
|
|
29
|
+
"system/serverStats",
|
|
30
|
+
"user/subscribeUpdates",
|
|
31
|
+
"user/unsubscribeUpdates"
|
|
27
32
|
]
|
|
28
33
|
},
|
|
29
34
|
"response": {
|
|
@@ -32,11 +37,16 @@ var tachyonMeta = {
|
|
|
32
37
|
"matchmaking/list",
|
|
33
38
|
"matchmaking/queue",
|
|
34
39
|
"matchmaking/ready",
|
|
40
|
+
"messaging/send",
|
|
41
|
+
"messaging/subscribeReceived",
|
|
35
42
|
"system/disconnect",
|
|
36
|
-
"system/serverStats"
|
|
43
|
+
"system/serverStats",
|
|
44
|
+
"user/subscribeUpdates",
|
|
45
|
+
"user/unsubscribeUpdates"
|
|
37
46
|
],
|
|
38
47
|
"receive": [
|
|
39
48
|
"autohost/addPlayer",
|
|
49
|
+
"autohost/installEngine",
|
|
40
50
|
"autohost/kickPlayer",
|
|
41
51
|
"autohost/kill",
|
|
42
52
|
"autohost/mutePlayer",
|
|
@@ -55,6 +65,8 @@ var tachyonMeta = {
|
|
|
55
65
|
"matchmaking/foundUpdate",
|
|
56
66
|
"matchmaking/lost",
|
|
57
67
|
"matchmaking/queueUpdate",
|
|
68
|
+
"messaging/received",
|
|
69
|
+
"user/self",
|
|
58
70
|
"user/updated"
|
|
59
71
|
],
|
|
60
72
|
"receive": [
|
|
@@ -70,8 +82,12 @@ var tachyonMeta = {
|
|
|
70
82
|
"matchmaking/list",
|
|
71
83
|
"matchmaking/queue",
|
|
72
84
|
"matchmaking/ready",
|
|
85
|
+
"messaging/send",
|
|
86
|
+
"messaging/subscribeReceived",
|
|
73
87
|
"system/disconnect",
|
|
74
|
-
"system/serverStats"
|
|
88
|
+
"system/serverStats",
|
|
89
|
+
"user/subscribeUpdates",
|
|
90
|
+
"user/unsubscribeUpdates"
|
|
75
91
|
],
|
|
76
92
|
"receive": [
|
|
77
93
|
"battle/start"
|
|
@@ -86,8 +102,12 @@ var tachyonMeta = {
|
|
|
86
102
|
"matchmaking/list",
|
|
87
103
|
"matchmaking/queue",
|
|
88
104
|
"matchmaking/ready",
|
|
105
|
+
"messaging/send",
|
|
106
|
+
"messaging/subscribeReceived",
|
|
89
107
|
"system/disconnect",
|
|
90
|
-
"system/serverStats"
|
|
108
|
+
"system/serverStats",
|
|
109
|
+
"user/subscribeUpdates",
|
|
110
|
+
"user/unsubscribeUpdates"
|
|
91
111
|
]
|
|
92
112
|
},
|
|
93
113
|
"event": {
|
|
@@ -98,6 +118,8 @@ var tachyonMeta = {
|
|
|
98
118
|
"matchmaking/foundUpdate",
|
|
99
119
|
"matchmaking/lost",
|
|
100
120
|
"matchmaking/queueUpdate",
|
|
121
|
+
"messaging/received",
|
|
122
|
+
"user/self",
|
|
101
123
|
"user/updated"
|
|
102
124
|
]
|
|
103
125
|
}
|
|
@@ -107,6 +129,7 @@ var tachyonMeta = {
|
|
|
107
129
|
"send": [],
|
|
108
130
|
"receive": [
|
|
109
131
|
"autohost/addPlayer",
|
|
132
|
+
"autohost/installEngine",
|
|
110
133
|
"autohost/kickPlayer",
|
|
111
134
|
"autohost/kill",
|
|
112
135
|
"autohost/mutePlayer",
|
|
@@ -120,6 +143,7 @@ var tachyonMeta = {
|
|
|
120
143
|
"response": {
|
|
121
144
|
"send": [
|
|
122
145
|
"autohost/addPlayer",
|
|
146
|
+
"autohost/installEngine",
|
|
123
147
|
"autohost/kickPlayer",
|
|
124
148
|
"autohost/kill",
|
|
125
149
|
"autohost/mutePlayer",
|
|
@@ -143,6 +167,7 @@ var tachyonMeta = {
|
|
|
143
167
|
"serviceIds": {
|
|
144
168
|
"autohost": [
|
|
145
169
|
"addPlayer",
|
|
170
|
+
"installEngine",
|
|
146
171
|
"kickPlayer",
|
|
147
172
|
"kill",
|
|
148
173
|
"mutePlayer",
|
|
@@ -168,11 +193,19 @@ var tachyonMeta = {
|
|
|
168
193
|
"queueUpdate",
|
|
169
194
|
"ready"
|
|
170
195
|
],
|
|
196
|
+
"messaging": [
|
|
197
|
+
"received",
|
|
198
|
+
"send",
|
|
199
|
+
"subscribeReceived"
|
|
200
|
+
],
|
|
171
201
|
"system": [
|
|
172
202
|
"disconnect",
|
|
173
203
|
"serverStats"
|
|
174
204
|
],
|
|
175
205
|
"user": [
|
|
206
|
+
"self",
|
|
207
|
+
"subscribeUpdates",
|
|
208
|
+
"unsubscribeUpdates",
|
|
176
209
|
"updated"
|
|
177
210
|
]
|
|
178
211
|
},
|
|
@@ -183,6 +216,12 @@ var tachyonMeta = {
|
|
|
183
216
|
"invalid_request",
|
|
184
217
|
"command_unimplemented"
|
|
185
218
|
],
|
|
219
|
+
"autohost/installEngine": [
|
|
220
|
+
"internal_error",
|
|
221
|
+
"unauthorized",
|
|
222
|
+
"invalid_request",
|
|
223
|
+
"command_unimplemented"
|
|
224
|
+
],
|
|
186
225
|
"autohost/kickPlayer": [
|
|
187
226
|
"internal_error",
|
|
188
227
|
"unauthorized",
|
|
@@ -268,6 +307,20 @@ var tachyonMeta = {
|
|
|
268
307
|
"invalid_request",
|
|
269
308
|
"command_unimplemented"
|
|
270
309
|
],
|
|
310
|
+
"messaging/send": [
|
|
311
|
+
"message_too_long",
|
|
312
|
+
"invalid_target",
|
|
313
|
+
"internal_error",
|
|
314
|
+
"unauthorized",
|
|
315
|
+
"invalid_request",
|
|
316
|
+
"command_unimplemented"
|
|
317
|
+
],
|
|
318
|
+
"messaging/subscribeReceived": [
|
|
319
|
+
"internal_error",
|
|
320
|
+
"unauthorized",
|
|
321
|
+
"invalid_request",
|
|
322
|
+
"command_unimplemented"
|
|
323
|
+
],
|
|
271
324
|
"system/disconnect": [
|
|
272
325
|
"internal_error",
|
|
273
326
|
"unauthorized",
|
|
@@ -279,6 +332,19 @@ var tachyonMeta = {
|
|
|
279
332
|
"unauthorized",
|
|
280
333
|
"invalid_request",
|
|
281
334
|
"command_unimplemented"
|
|
335
|
+
],
|
|
336
|
+
"user/subscribeUpdates": [
|
|
337
|
+
"subscription_limit_reached",
|
|
338
|
+
"internal_error",
|
|
339
|
+
"unauthorized",
|
|
340
|
+
"invalid_request",
|
|
341
|
+
"command_unimplemented"
|
|
342
|
+
],
|
|
343
|
+
"user/unsubscribeUpdates": [
|
|
344
|
+
"internal_error",
|
|
345
|
+
"unauthorized",
|
|
346
|
+
"invalid_request",
|
|
347
|
+
"command_unimplemented"
|
|
282
348
|
]
|
|
283
349
|
}
|
|
284
350
|
}
|