tachyon-protocol 0.1.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 +97 -0
- package/dist/account/getToken/request.json +73 -0
- package/dist/account/getToken/response.json +91 -0
- package/dist/account/login/request.json +32 -0
- package/dist/account/login/response.json +300 -0
- package/dist/account/recover/request.json +15 -0
- package/dist/account/recover/response.json +58 -0
- package/dist/account/register/request.json +52 -0
- package/dist/account/register/response.json +78 -0
- package/dist/account/rename/request.json +33 -0
- package/dist/account/rename/response.json +66 -0
- package/dist/bot/slave/request.json +29 -0
- package/dist/bot/slave/response.json +58 -0
- package/dist/bot/unslave/request.json +15 -0
- package/dist/bot/unslave/response.json +58 -0
- package/dist/game/launch/response.json +70 -0
- package/dist/index.d.ts +923 -0
- package/dist/lobby/close/request.json +15 -0
- package/dist/lobby/close/response.json +58 -0
- package/dist/lobby/create/request.json +52 -0
- package/dist/lobby/create/response.json +66 -0
- package/dist/lobby/join/request.json +36 -0
- package/dist/lobby/join/response.json +86 -0
- package/dist/lobby/joined/response.json +256 -0
- package/dist/lobby/leave/request.json +15 -0
- package/dist/lobby/leave/response.json +62 -0
- package/dist/lobby/left/response.json +58 -0
- package/dist/lobby/list/request.json +15 -0
- package/dist/lobby/list/response.json +267 -0
- package/dist/lobby/receiveMessage/response.json +80 -0
- package/dist/lobby/sendMessage/request.json +33 -0
- package/dist/lobby/sendMessage/response.json +66 -0
- package/dist/lobby/updated/response.json +212 -0
- package/dist/matchmaking/cancel/request.json +15 -0
- package/dist/matchmaking/cancel/response.json +62 -0
- package/dist/matchmaking/found/response.json +70 -0
- package/dist/matchmaking/list/request.json +15 -0
- package/dist/matchmaking/list/response.json +105 -0
- package/dist/matchmaking/lost/response.json +58 -0
- package/dist/matchmaking/queue/request.json +31 -0
- package/dist/matchmaking/queue/response.json +66 -0
- package/dist/matchmaking/queueUpdate/response.json +70 -0
- package/dist/matchmaking/ready/request.json +15 -0
- package/dist/matchmaking/ready/response.json +62 -0
- package/dist/matchmaking/readyUpdate/response.json +74 -0
- package/dist/system/disconnect/request.json +15 -0
- package/dist/system/disconnected/response.json +58 -0
- package/dist/system/version/response.json +71 -0
- package/license.md +19 -0
- package/package.json +52 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "lobby/updated/response",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"command": {
|
|
10
|
+
"const": "lobby/updated/response",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"status": {
|
|
14
|
+
"const": "success",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"data": {
|
|
18
|
+
"examples": [
|
|
19
|
+
{
|
|
20
|
+
"name": "3v3 | Newbies only",
|
|
21
|
+
"limits": {
|
|
22
|
+
"minTeamsize": 3,
|
|
23
|
+
"maxTeamsize": 3,
|
|
24
|
+
"minRating": null,
|
|
25
|
+
"maxRating": 25
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"id": {
|
|
32
|
+
"type": "integer"
|
|
33
|
+
},
|
|
34
|
+
"name": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"founderId": {
|
|
38
|
+
"type": "integer"
|
|
39
|
+
},
|
|
40
|
+
"locked": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"passworded": {
|
|
44
|
+
"type": "boolean"
|
|
45
|
+
},
|
|
46
|
+
"playerIds": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "integer"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"spectatorIds": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "integer"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"engine": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"game": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"map": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"startAreas": {
|
|
68
|
+
"default": {
|
|
69
|
+
"0": {
|
|
70
|
+
"x": 0,
|
|
71
|
+
"y": 0,
|
|
72
|
+
"width": 1,
|
|
73
|
+
"height": 0.3
|
|
74
|
+
},
|
|
75
|
+
"1": {
|
|
76
|
+
"x": 0,
|
|
77
|
+
"y": 0.7,
|
|
78
|
+
"width": 1,
|
|
79
|
+
"height": 0.3
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"type": "object",
|
|
83
|
+
"patternProperties": {
|
|
84
|
+
"^(0|[1-9][0-9]*)$": {
|
|
85
|
+
"examples": [
|
|
86
|
+
{
|
|
87
|
+
"x": 0,
|
|
88
|
+
"y": 0,
|
|
89
|
+
"width": 1,
|
|
90
|
+
"height": 0.3
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"type": "object",
|
|
94
|
+
"properties": {
|
|
95
|
+
"x": {
|
|
96
|
+
"type": "number"
|
|
97
|
+
},
|
|
98
|
+
"y": {
|
|
99
|
+
"type": "number"
|
|
100
|
+
},
|
|
101
|
+
"width": {
|
|
102
|
+
"type": "number"
|
|
103
|
+
},
|
|
104
|
+
"height": {
|
|
105
|
+
"type": "number"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"x",
|
|
110
|
+
"y",
|
|
111
|
+
"width",
|
|
112
|
+
"height"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"limits": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"minTeamsize": {
|
|
121
|
+
"anyOf": [
|
|
122
|
+
{
|
|
123
|
+
"type": "integer"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "null"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"maxTeamsize": {
|
|
131
|
+
"anyOf": [
|
|
132
|
+
{
|
|
133
|
+
"type": "integer"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "null"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"minRating": {
|
|
141
|
+
"anyOf": [
|
|
142
|
+
{
|
|
143
|
+
"type": "integer"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "null"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"maxRating": {
|
|
151
|
+
"anyOf": [
|
|
152
|
+
{
|
|
153
|
+
"type": "integer"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "null"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": [
|
|
162
|
+
"minTeamsize",
|
|
163
|
+
"maxTeamsize",
|
|
164
|
+
"minRating",
|
|
165
|
+
"maxRating"
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"required": [
|
|
172
|
+
"command",
|
|
173
|
+
"status",
|
|
174
|
+
"data"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"command": {
|
|
181
|
+
"const": "lobby/updated/response",
|
|
182
|
+
"type": "string"
|
|
183
|
+
},
|
|
184
|
+
"status": {
|
|
185
|
+
"const": "failed",
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"reason": {
|
|
189
|
+
"anyOf": [
|
|
190
|
+
{
|
|
191
|
+
"const": "internal_error",
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"const": "unauthorized",
|
|
196
|
+
"type": "string"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"const": "invalid_command",
|
|
200
|
+
"type": "string"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"required": [
|
|
206
|
+
"command",
|
|
207
|
+
"status",
|
|
208
|
+
"reason"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/cancel/request",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"command": {
|
|
8
|
+
"const": "matchmaking/cancel/request",
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"command"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/cancel/response",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"command": {
|
|
10
|
+
"const": "matchmaking/cancel/response",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"status": {
|
|
14
|
+
"const": "success",
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"command",
|
|
20
|
+
"status"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"command": {
|
|
27
|
+
"const": "matchmaking/cancel/response",
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"status": {
|
|
31
|
+
"const": "failed",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"reason": {
|
|
35
|
+
"anyOf": [
|
|
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
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"command",
|
|
57
|
+
"status",
|
|
58
|
+
"reason"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/found/response",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"command": {
|
|
10
|
+
"const": "matchmaking/found/response",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"status": {
|
|
14
|
+
"const": "success",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"data": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"queueId": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"queueId"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"command",
|
|
31
|
+
"status",
|
|
32
|
+
"data"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"command": {
|
|
39
|
+
"const": "matchmaking/found/response",
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"status": {
|
|
43
|
+
"const": "failed",
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"reason": {
|
|
47
|
+
"anyOf": [
|
|
48
|
+
{
|
|
49
|
+
"const": "internal_error",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"const": "unauthorized",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"const": "invalid_command",
|
|
58
|
+
"type": "string"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [
|
|
64
|
+
"command",
|
|
65
|
+
"status",
|
|
66
|
+
"reason"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/list/request",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"command": {
|
|
8
|
+
"const": "matchmaking/list/request",
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"command"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/list/response",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"command": {
|
|
10
|
+
"const": "matchmaking/list/response",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"status": {
|
|
14
|
+
"const": "success",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"data": {
|
|
18
|
+
"examples": [
|
|
19
|
+
{
|
|
20
|
+
"queues": [
|
|
21
|
+
{
|
|
22
|
+
"id": "1v1",
|
|
23
|
+
"name": "Duel",
|
|
24
|
+
"ranked": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "2v2",
|
|
28
|
+
"name": "2v2",
|
|
29
|
+
"ranked": true
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"queues": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"id": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"name": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"ranked": {
|
|
48
|
+
"type": "boolean"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"id",
|
|
53
|
+
"name",
|
|
54
|
+
"ranked"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"queues"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"command",
|
|
66
|
+
"status",
|
|
67
|
+
"data"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"command": {
|
|
74
|
+
"const": "matchmaking/list/response",
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"status": {
|
|
78
|
+
"const": "failed",
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"reason": {
|
|
82
|
+
"anyOf": [
|
|
83
|
+
{
|
|
84
|
+
"const": "internal_error",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"const": "unauthorized",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"const": "invalid_command",
|
|
93
|
+
"type": "string"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"command",
|
|
100
|
+
"status",
|
|
101
|
+
"reason"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/lost/response",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"command": {
|
|
10
|
+
"const": "matchmaking/lost/response",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"status": {
|
|
14
|
+
"const": "success",
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"command",
|
|
20
|
+
"status"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"command": {
|
|
27
|
+
"const": "matchmaking/lost/response",
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"status": {
|
|
31
|
+
"const": "failed",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"reason": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"const": "internal_error",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"const": "unauthorized",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"const": "invalid_command",
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"command",
|
|
53
|
+
"status",
|
|
54
|
+
"reason"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/queue/request",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"command": {
|
|
8
|
+
"const": "matchmaking/queue/request",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"data": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"queues": {
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"queues"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"command",
|
|
29
|
+
"data"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "matchmaking/queue/response",
|
|
3
|
+
"requiresLogin": false,
|
|
4
|
+
"requiresRole": false,
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"command": {
|
|
10
|
+
"const": "matchmaking/queue/response",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"status": {
|
|
14
|
+
"const": "success",
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"command",
|
|
20
|
+
"status"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"command": {
|
|
27
|
+
"const": "matchmaking/queue/response",
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"status": {
|
|
31
|
+
"const": "failed",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"reason": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"const": "invalid_queue_specified",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"const": "already_ingame",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"const": "internal_error",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"const": "unauthorized",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"const": "invalid_command",
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"command",
|
|
61
|
+
"status",
|
|
62
|
+
"reason"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|