tachyon-protocol 0.1.11 → 0.2.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 +62 -38
- package/dist/bot/slave/request.json +7 -3
- package/dist/bot/slave/response.json +67 -19
- package/dist/bot/unslave/request.json +7 -3
- package/dist/bot/unslave/response.json +67 -19
- package/dist/game/launch/response.json +66 -19
- package/dist/index.d.ts +505 -271
- package/dist/lobby/close/request.json +6 -3
- package/dist/lobby/close/response.json +66 -19
- package/dist/lobby/create/request.json +6 -3
- package/dist/lobby/create/response.json +118 -27
- package/dist/lobby/join/request.json +6 -3
- package/dist/lobby/join/response.json +248 -47
- package/dist/lobby/joined/response.json +66 -19
- package/dist/lobby/leave/request.json +6 -3
- package/dist/lobby/leave/response.json +92 -23
- package/dist/lobby/left/response.json +66 -19
- package/dist/lobby/list/request.json +6 -3
- package/dist/lobby/list/response.json +66 -19
- package/dist/lobby/receiveMessage/response.json +66 -19
- package/dist/lobby/sendMessage/request.json +6 -3
- package/dist/lobby/sendMessage/response.json +118 -27
- package/dist/lobby/updated/response.json +66 -19
- package/dist/matchmaking/cancel/request.json +6 -3
- package/dist/matchmaking/cancel/response.json +92 -23
- package/dist/matchmaking/found/response.json +66 -19
- package/dist/matchmaking/list/request.json +6 -3
- package/dist/matchmaking/list/response.json +66 -19
- package/dist/matchmaking/lost/response.json +66 -19
- package/dist/matchmaking/queue/request.json +6 -3
- package/dist/matchmaking/queue/response.json +118 -27
- package/dist/matchmaking/queueUpdate/response.json +66 -19
- package/dist/matchmaking/ready/request.json +6 -3
- package/dist/matchmaking/ready/response.json +92 -23
- package/dist/matchmaking/readyUpdate/response.json +66 -19
- package/dist/meta.json +1 -23
- package/dist/system/disconnect/request.json +6 -3
- package/dist/system/disconnected/response.json +66 -19
- package/dist/system/version/response.json +67 -20
- package/package.json +1 -1
- package/dist/account/getToken/request.json +0 -74
- package/dist/account/getToken/response.json +0 -91
- package/dist/account/login/request.json +0 -32
- package/dist/account/login/response.json +0 -300
- package/dist/account/recover/request.json +0 -15
- package/dist/account/recover/response.json +0 -58
- package/dist/account/register/request.json +0 -53
- package/dist/account/register/response.json +0 -78
- package/dist/account/rename/request.json +0 -33
- package/dist/account/rename/response.json +0 -66
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "lobby/updated/response",
|
|
3
3
|
"requiresLogin": false,
|
|
4
|
-
"requiresRole": false,
|
|
5
4
|
"anyOf": [
|
|
6
5
|
{
|
|
7
6
|
"type": "object",
|
|
8
7
|
"properties": {
|
|
9
|
-
"
|
|
8
|
+
"messageId": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"commandId": {
|
|
10
12
|
"const": "lobby/updated/response",
|
|
11
13
|
"type": "string"
|
|
12
14
|
},
|
|
@@ -169,7 +171,8 @@
|
|
|
169
171
|
}
|
|
170
172
|
},
|
|
171
173
|
"required": [
|
|
172
|
-
"
|
|
174
|
+
"messageId",
|
|
175
|
+
"commandId",
|
|
173
176
|
"status",
|
|
174
177
|
"data"
|
|
175
178
|
]
|
|
@@ -177,7 +180,10 @@
|
|
|
177
180
|
{
|
|
178
181
|
"type": "object",
|
|
179
182
|
"properties": {
|
|
180
|
-
"
|
|
183
|
+
"messageId": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"commandId": {
|
|
181
187
|
"const": "lobby/updated/response",
|
|
182
188
|
"type": "string"
|
|
183
189
|
},
|
|
@@ -186,24 +192,65 @@
|
|
|
186
192
|
"type": "string"
|
|
187
193
|
},
|
|
188
194
|
"reason": {
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
195
|
+
"const": "internal_error",
|
|
196
|
+
"type": "string"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"required": [
|
|
200
|
+
"messageId",
|
|
201
|
+
"commandId",
|
|
202
|
+
"status",
|
|
203
|
+
"reason"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"messageId": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"commandId": {
|
|
213
|
+
"const": "lobby/updated/response",
|
|
214
|
+
"type": "string"
|
|
215
|
+
},
|
|
216
|
+
"status": {
|
|
217
|
+
"const": "failed",
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"reason": {
|
|
221
|
+
"const": "unauthorized",
|
|
222
|
+
"type": "string"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"required": [
|
|
226
|
+
"messageId",
|
|
227
|
+
"commandId",
|
|
228
|
+
"status",
|
|
229
|
+
"reason"
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "object",
|
|
234
|
+
"properties": {
|
|
235
|
+
"messageId": {
|
|
236
|
+
"type": "string"
|
|
237
|
+
},
|
|
238
|
+
"commandId": {
|
|
239
|
+
"const": "lobby/updated/response",
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"status": {
|
|
243
|
+
"const": "failed",
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
"reason": {
|
|
247
|
+
"const": "invalid_command",
|
|
248
|
+
"type": "string"
|
|
203
249
|
}
|
|
204
250
|
},
|
|
205
251
|
"required": [
|
|
206
|
-
"
|
|
252
|
+
"messageId",
|
|
253
|
+
"commandId",
|
|
207
254
|
"status",
|
|
208
255
|
"reason"
|
|
209
256
|
]
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "matchmaking/cancel/request",
|
|
3
3
|
"requiresLogin": false,
|
|
4
|
-
"requiresRole": false,
|
|
5
4
|
"type": "object",
|
|
6
5
|
"properties": {
|
|
7
|
-
"
|
|
6
|
+
"messageId": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"commandId": {
|
|
8
10
|
"const": "matchmaking/cancel/request",
|
|
9
11
|
"type": "string"
|
|
10
12
|
}
|
|
11
13
|
},
|
|
12
14
|
"required": [
|
|
13
|
-
"
|
|
15
|
+
"messageId",
|
|
16
|
+
"commandId"
|
|
14
17
|
]
|
|
15
18
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "matchmaking/cancel/response",
|
|
3
3
|
"requiresLogin": false,
|
|
4
|
-
"requiresRole": false,
|
|
5
4
|
"anyOf": [
|
|
6
5
|
{
|
|
7
6
|
"type": "object",
|
|
8
7
|
"properties": {
|
|
9
|
-
"
|
|
8
|
+
"messageId": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"commandId": {
|
|
10
12
|
"const": "matchmaking/cancel/response",
|
|
11
13
|
"type": "string"
|
|
12
14
|
},
|
|
@@ -16,14 +18,96 @@
|
|
|
16
18
|
}
|
|
17
19
|
},
|
|
18
20
|
"required": [
|
|
19
|
-
"
|
|
21
|
+
"messageId",
|
|
22
|
+
"commandId",
|
|
20
23
|
"status"
|
|
21
24
|
]
|
|
22
25
|
},
|
|
23
26
|
{
|
|
24
27
|
"type": "object",
|
|
25
28
|
"properties": {
|
|
26
|
-
"
|
|
29
|
+
"messageId": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"commandId": {
|
|
33
|
+
"const": "matchmaking/cancel/response",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"status": {
|
|
37
|
+
"const": "failed",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"reason": {
|
|
41
|
+
"const": "not_queued",
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"messageId",
|
|
47
|
+
"commandId",
|
|
48
|
+
"status",
|
|
49
|
+
"reason"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"messageId": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"commandId": {
|
|
59
|
+
"const": "matchmaking/cancel/response",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"status": {
|
|
63
|
+
"const": "failed",
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"reason": {
|
|
67
|
+
"const": "internal_error",
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"messageId",
|
|
73
|
+
"commandId",
|
|
74
|
+
"status",
|
|
75
|
+
"reason"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"messageId": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"commandId": {
|
|
85
|
+
"const": "matchmaking/cancel/response",
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"status": {
|
|
89
|
+
"const": "failed",
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"reason": {
|
|
93
|
+
"const": "unauthorized",
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"messageId",
|
|
99
|
+
"commandId",
|
|
100
|
+
"status",
|
|
101
|
+
"reason"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"messageId": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"commandId": {
|
|
27
111
|
"const": "matchmaking/cancel/response",
|
|
28
112
|
"type": "string"
|
|
29
113
|
},
|
|
@@ -32,28 +116,13 @@
|
|
|
32
116
|
"type": "string"
|
|
33
117
|
},
|
|
34
118
|
"reason": {
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
"const": "not_queued",
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"const": "internal_error",
|
|
42
|
-
"type": "string"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"const": "unauthorized",
|
|
46
|
-
"type": "string"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"const": "invalid_command",
|
|
50
|
-
"type": "string"
|
|
51
|
-
}
|
|
52
|
-
]
|
|
119
|
+
"const": "invalid_command",
|
|
120
|
+
"type": "string"
|
|
53
121
|
}
|
|
54
122
|
},
|
|
55
123
|
"required": [
|
|
56
|
-
"
|
|
124
|
+
"messageId",
|
|
125
|
+
"commandId",
|
|
57
126
|
"status",
|
|
58
127
|
"reason"
|
|
59
128
|
]
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "matchmaking/found/response",
|
|
3
3
|
"requiresLogin": false,
|
|
4
|
-
"requiresRole": false,
|
|
5
4
|
"anyOf": [
|
|
6
5
|
{
|
|
7
6
|
"type": "object",
|
|
8
7
|
"properties": {
|
|
9
|
-
"
|
|
8
|
+
"messageId": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"commandId": {
|
|
10
12
|
"const": "matchmaking/found/response",
|
|
11
13
|
"type": "string"
|
|
12
14
|
},
|
|
@@ -27,7 +29,8 @@
|
|
|
27
29
|
}
|
|
28
30
|
},
|
|
29
31
|
"required": [
|
|
30
|
-
"
|
|
32
|
+
"messageId",
|
|
33
|
+
"commandId",
|
|
31
34
|
"status",
|
|
32
35
|
"data"
|
|
33
36
|
]
|
|
@@ -35,7 +38,10 @@
|
|
|
35
38
|
{
|
|
36
39
|
"type": "object",
|
|
37
40
|
"properties": {
|
|
38
|
-
"
|
|
41
|
+
"messageId": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"commandId": {
|
|
39
45
|
"const": "matchmaking/found/response",
|
|
40
46
|
"type": "string"
|
|
41
47
|
},
|
|
@@ -44,24 +50,65 @@
|
|
|
44
50
|
"type": "string"
|
|
45
51
|
},
|
|
46
52
|
"reason": {
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
"const": "internal_error",
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"messageId",
|
|
59
|
+
"commandId",
|
|
60
|
+
"status",
|
|
61
|
+
"reason"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"messageId": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"commandId": {
|
|
71
|
+
"const": "matchmaking/found/response",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"status": {
|
|
75
|
+
"const": "failed",
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"reason": {
|
|
79
|
+
"const": "unauthorized",
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"messageId",
|
|
85
|
+
"commandId",
|
|
86
|
+
"status",
|
|
87
|
+
"reason"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {
|
|
93
|
+
"messageId": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"commandId": {
|
|
97
|
+
"const": "matchmaking/found/response",
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"status": {
|
|
101
|
+
"const": "failed",
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"reason": {
|
|
105
|
+
"const": "invalid_command",
|
|
106
|
+
"type": "string"
|
|
61
107
|
}
|
|
62
108
|
},
|
|
63
109
|
"required": [
|
|
64
|
-
"
|
|
110
|
+
"messageId",
|
|
111
|
+
"commandId",
|
|
65
112
|
"status",
|
|
66
113
|
"reason"
|
|
67
114
|
]
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "matchmaking/list/request",
|
|
3
3
|
"requiresLogin": false,
|
|
4
|
-
"requiresRole": false,
|
|
5
4
|
"type": "object",
|
|
6
5
|
"properties": {
|
|
7
|
-
"
|
|
6
|
+
"messageId": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"commandId": {
|
|
8
10
|
"const": "matchmaking/list/request",
|
|
9
11
|
"type": "string"
|
|
10
12
|
}
|
|
11
13
|
},
|
|
12
14
|
"required": [
|
|
13
|
-
"
|
|
15
|
+
"messageId",
|
|
16
|
+
"commandId"
|
|
14
17
|
]
|
|
15
18
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "matchmaking/list/response",
|
|
3
3
|
"requiresLogin": false,
|
|
4
|
-
"requiresRole": false,
|
|
5
4
|
"anyOf": [
|
|
6
5
|
{
|
|
7
6
|
"type": "object",
|
|
8
7
|
"properties": {
|
|
9
|
-
"
|
|
8
|
+
"messageId": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"commandId": {
|
|
10
12
|
"const": "matchmaking/list/response",
|
|
11
13
|
"type": "string"
|
|
12
14
|
},
|
|
@@ -62,7 +64,8 @@
|
|
|
62
64
|
}
|
|
63
65
|
},
|
|
64
66
|
"required": [
|
|
65
|
-
"
|
|
67
|
+
"messageId",
|
|
68
|
+
"commandId",
|
|
66
69
|
"status",
|
|
67
70
|
"data"
|
|
68
71
|
]
|
|
@@ -70,7 +73,10 @@
|
|
|
70
73
|
{
|
|
71
74
|
"type": "object",
|
|
72
75
|
"properties": {
|
|
73
|
-
"
|
|
76
|
+
"messageId": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"commandId": {
|
|
74
80
|
"const": "matchmaking/list/response",
|
|
75
81
|
"type": "string"
|
|
76
82
|
},
|
|
@@ -79,24 +85,65 @@
|
|
|
79
85
|
"type": "string"
|
|
80
86
|
},
|
|
81
87
|
"reason": {
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
"const": "internal_error",
|
|
89
|
+
"type": "string"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": [
|
|
93
|
+
"messageId",
|
|
94
|
+
"commandId",
|
|
95
|
+
"status",
|
|
96
|
+
"reason"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"messageId": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"commandId": {
|
|
106
|
+
"const": "matchmaking/list/response",
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"status": {
|
|
110
|
+
"const": "failed",
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"reason": {
|
|
114
|
+
"const": "unauthorized",
|
|
115
|
+
"type": "string"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"required": [
|
|
119
|
+
"messageId",
|
|
120
|
+
"commandId",
|
|
121
|
+
"status",
|
|
122
|
+
"reason"
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"messageId": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"commandId": {
|
|
132
|
+
"const": "matchmaking/list/response",
|
|
133
|
+
"type": "string"
|
|
134
|
+
},
|
|
135
|
+
"status": {
|
|
136
|
+
"const": "failed",
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
"reason": {
|
|
140
|
+
"const": "invalid_command",
|
|
141
|
+
"type": "string"
|
|
96
142
|
}
|
|
97
143
|
},
|
|
98
144
|
"required": [
|
|
99
|
-
"
|
|
145
|
+
"messageId",
|
|
146
|
+
"commandId",
|
|
100
147
|
"status",
|
|
101
148
|
"reason"
|
|
102
149
|
]
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "matchmaking/lost/response",
|
|
3
3
|
"requiresLogin": false,
|
|
4
|
-
"requiresRole": false,
|
|
5
4
|
"anyOf": [
|
|
6
5
|
{
|
|
7
6
|
"type": "object",
|
|
8
7
|
"properties": {
|
|
9
|
-
"
|
|
8
|
+
"messageId": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"commandId": {
|
|
10
12
|
"const": "matchmaking/lost/response",
|
|
11
13
|
"type": "string"
|
|
12
14
|
},
|
|
@@ -16,14 +18,18 @@
|
|
|
16
18
|
}
|
|
17
19
|
},
|
|
18
20
|
"required": [
|
|
19
|
-
"
|
|
21
|
+
"messageId",
|
|
22
|
+
"commandId",
|
|
20
23
|
"status"
|
|
21
24
|
]
|
|
22
25
|
},
|
|
23
26
|
{
|
|
24
27
|
"type": "object",
|
|
25
28
|
"properties": {
|
|
26
|
-
"
|
|
29
|
+
"messageId": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"commandId": {
|
|
27
33
|
"const": "matchmaking/lost/response",
|
|
28
34
|
"type": "string"
|
|
29
35
|
},
|
|
@@ -32,24 +38,65 @@
|
|
|
32
38
|
"type": "string"
|
|
33
39
|
},
|
|
34
40
|
"reason": {
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
"const": "internal_error",
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"messageId",
|
|
47
|
+
"commandId",
|
|
48
|
+
"status",
|
|
49
|
+
"reason"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"messageId": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"commandId": {
|
|
59
|
+
"const": "matchmaking/lost/response",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"status": {
|
|
63
|
+
"const": "failed",
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"reason": {
|
|
67
|
+
"const": "unauthorized",
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"messageId",
|
|
73
|
+
"commandId",
|
|
74
|
+
"status",
|
|
75
|
+
"reason"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"messageId": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"commandId": {
|
|
85
|
+
"const": "matchmaking/lost/response",
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"status": {
|
|
89
|
+
"const": "failed",
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"reason": {
|
|
93
|
+
"const": "invalid_command",
|
|
94
|
+
"type": "string"
|
|
49
95
|
}
|
|
50
96
|
},
|
|
51
97
|
"required": [
|
|
52
|
-
"
|
|
98
|
+
"messageId",
|
|
99
|
+
"commandId",
|
|
53
100
|
"status",
|
|
54
101
|
"reason"
|
|
55
102
|
]
|