@xmobitea/gn-typescript-client 2.6.9 → 2.6.10-tsc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +337 -34162
- package/dist/runtime/GNNetwork.js +250 -0
- package/dist/runtime/GNNetworkAuthenticateApi.js +122 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +968 -0
- package/dist/runtime/GNNetworkCloudScriptApi.js +104 -0
- package/dist/runtime/GNNetworkContentApi.js +140 -0
- package/dist/runtime/GNNetworkDashboardApi.js +170 -0
- package/dist/runtime/GNNetworkGamePlayerApi.js +950 -0
- package/dist/runtime/GNNetworkGroupApi.js +734 -0
- package/dist/runtime/GNNetworkInventoryApi.js +626 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.js +1550 -0
- package/dist/runtime/GNNetworkMultiplayerApi.js +194 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.js +266 -0
- package/dist/runtime/common/Action0.js +1 -0
- package/dist/runtime/common/Action1.js +1 -0
- package/dist/runtime/common/Action2.js +1 -0
- package/dist/runtime/common/Action3.js +1 -0
- package/dist/runtime/common/Action4.js +1 -0
- package/dist/runtime/common/GNData.js +211 -0
- package/dist/runtime/config/GNServerSettings.d.ts +3 -0
- package/dist/runtime/config/GNServerSettings.js +156 -0
- package/dist/runtime/constant/Commands.d.ts +1 -0
- package/dist/runtime/constant/Commands.js +20 -0
- package/dist/runtime/constant/EventCode.js +8 -0
- package/dist/runtime/constant/OperationCode.js +221 -0
- package/dist/runtime/constant/ReturnCode.js +14 -0
- package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
- package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
- package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
- package/dist/runtime/constant/enumType/ItemType.js +5 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
- package/dist/runtime/constant/enumType/OwnerType.js +9 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
- package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
- package/dist/runtime/constant/enumType/RequestRole.js +6 -0
- package/dist/runtime/constant/enumType/RequestType.js +15 -0
- package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
- package/dist/runtime/constant/errorCode/ErrorCode.js +52 -0
- package/dist/runtime/constant/parameterCode/ParameterCode.js +617 -0
- package/dist/runtime/entity/DataMember.js +208 -0
- package/dist/runtime/entity/GNMetadata.js +11 -0
- package/dist/runtime/entity/InvalidMember.js +1 -0
- package/dist/runtime/entity/OperationEvent.js +24 -0
- package/dist/runtime/entity/OperationHelper.js +24 -0
- package/dist/runtime/entity/OperationRequest.js +42 -0
- package/dist/runtime/entity/OperationResponse.js +73 -0
- package/dist/runtime/entity/models/AuthenticateModels.js +426 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +188 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.js +1433 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1386 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
- package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +138 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
- package/dist/runtime/entity/models/ContentModels.js +203 -0
- package/dist/runtime/entity/models/ContentRequestModels.js +190 -0
- package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
- package/dist/runtime/entity/models/DashboardModels.js +3002 -0
- package/dist/runtime/entity/models/DashboardRequestModels.js +268 -0
- package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
- package/dist/runtime/entity/models/GamePlayerModels.js +1591 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +1360 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/GenericModels.js +177 -0
- package/dist/runtime/entity/models/GroupModels.js +1135 -0
- package/dist/runtime/entity/models/GroupRequestModels.js +1048 -0
- package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
- package/dist/runtime/entity/models/InventoryModels.js +915 -0
- package/dist/runtime/entity/models/InventoryRequestModels.js +892 -0
- package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
- package/dist/runtime/entity/models/MasterPlayerModels.js +2573 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2228 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
- package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +268 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
- package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +372 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
- package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
- package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
- package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
- package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
- package/dist/runtime/helper/CodeHelper.js +63 -0
- package/dist/runtime/helper/ConverterService.js +275 -0
- package/dist/runtime/helper/EnumUtility.js +33 -0
- package/dist/runtime/helper/GNSupport.js +8 -0
- package/dist/runtime/helper/GNUtils.js +72 -0
- package/dist/runtime/helper/MessagePackConverterService.js +9 -0
- package/dist/runtime/logger/GNDebug.js +29 -0
- package/dist/runtime/networking/AuthenticateStatus.js +14 -0
- package/dist/runtime/networking/IPeer.js +1 -0
- package/dist/runtime/networking/NetworkingPeer.js +178 -0
- package/dist/runtime/networking/OperationPending.js +53 -0
- package/dist/runtime/networking/PeerBase.js +161 -0
- package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +43 -0
- package/dist/runtime/networking/http/HttpPeer.js +123 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +2 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +9 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +179 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +130 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +165 -0
- package/dist/runtime/networking/socket/SocketPeer.js +115 -0
- package/dist/runtime/typescript/ServiceUpdate.js +12 -0
- package/package.json +1 -1
- package/dist/gearn.js.client.js +0 -46884
- package/dist/gearn.js.client.min.js +0 -2
- package/dist/gearn.js.client.min.js.LICENSE.txt +0 -14
- package/responseModel/chatgpt/Authenticate.json +0 -724
- package/responseModel/chatgpt/CharacterPlayer.json +0 -1890
- package/responseModel/chatgpt/CloudScript.json +0 -254
- package/responseModel/chatgpt/Content.json +0 -273
- package/responseModel/chatgpt/Dashboard.json +0 -4110
- package/responseModel/chatgpt/GamePlayer.json +0 -2306
- package/responseModel/chatgpt/Generic.json +0 -253
- package/responseModel/chatgpt/Group.json +0 -1509
- package/responseModel/chatgpt/Inventory.json +0 -1211
- package/responseModel/chatgpt/MasterPlayer.json +0 -3801
- package/responseModel/chatgpt/Multiplayer.json +0 -634
- package/responseModel/chatgpt/StoreInventory.json +0 -1099
- package/responseModel/clients/AuthenticateModels.json +0 -271
- package/responseModel/clients/CharacterPlayerModels.json +0 -792
- package/responseModel/clients/CloudScriptModels.json +0 -191
- package/responseModel/clients/ContentModels.json +0 -178
- package/responseModel/clients/DashboardModels.json +0 -5423
- package/responseModel/clients/GamePlayerModels.json +0 -781
- package/responseModel/clients/GenericModels.json +0 -344
- package/responseModel/clients/GroupModels.json +0 -705
- package/responseModel/clients/InventoryModels.json +0 -568
- package/responseModel/clients/MasterPlayerModels.json +0 -1281
- package/responseModel/clients/MultiplayerModels.json +0 -439
- package/responseModel/clients/StoreInventoryModels.json +0 -971
- package/responseModel/finalChatgpt/Authenticate.json +0 -1475
- package/responseModel/finalChatgpt/CharacterPlayer.json +0 -4104
- package/responseModel/finalChatgpt/CloudScript.json +0 -515
- package/responseModel/finalChatgpt/Content.json +0 -536
- package/responseModel/finalChatgpt/Dashboard.json +0 -6712
- package/responseModel/finalChatgpt/GamePlayer.json +0 -5142
- package/responseModel/finalChatgpt/Generic.json +0 -333
- package/responseModel/finalChatgpt/Group.json +0 -3232
- package/responseModel/finalChatgpt/Inventory.json +0 -2606
- package/responseModel/finalChatgpt/MasterPlayer.json +0 -8385
- package/responseModel/finalChatgpt/Multiplayer.json +0 -1196
- package/responseModel/finalChatgpt/StoreInventory.json +0 -2085
- package/responseModel/finals/Authenticate.json +0 -1460
- package/responseModel/finals/CharacterPlayer.json +0 -3639
- package/responseModel/finals/CloudScript.json +0 -465
- package/responseModel/finals/Content.json +0 -479
- package/responseModel/finals/Dashboard.json +0 -6718
- package/responseModel/finals/GamePlayer.json +0 -4291
- package/responseModel/finals/Generic.json +0 -345
- package/responseModel/finals/Group.json +0 -2885
- package/responseModel/finals/Inventory.json +0 -2309
- package/responseModel/finals/MasterPlayer.json +0 -7018
- package/responseModel/finals/Multiplayer.json +0 -1082
- package/responseModel/finals/StoreInventory.json +0 -1979
- package/responseModel/finalsShort/Authenticate.json +0 -723
- package/responseModel/finalsShort/CharacterPlayer.json +0 -1889
- package/responseModel/finalsShort/CloudScript.json +0 -253
- package/responseModel/finalsShort/Content.json +0 -272
- package/responseModel/finalsShort/Dashboard.json +0 -4109
- package/responseModel/finalsShort/GamePlayer.json +0 -2305
- package/responseModel/finalsShort/Generic.json +0 -252
- package/responseModel/finalsShort/Group.json +0 -1508
- package/responseModel/finalsShort/Inventory.json +0 -1210
- package/responseModel/finalsShort/MasterPlayer.json +0 -3800
- package/responseModel/finalsShort/Multiplayer.json +0 -633
- package/responseModel/finalsShort/StoreInventory.json +0 -1098
- package/responseModel/operationResponse/AuthenticateResponseModels.json +0 -77
- package/responseModel/operationResponse/CharacterPlayerResponseModels.json +0 -217
- package/responseModel/operationResponse/CloudScriptResponseModels.json +0 -25
- package/responseModel/operationResponse/ContentResponseModels.json +0 -33
- package/responseModel/operationResponse/DashboardResponseModels.json +0 -109
- package/responseModel/operationResponse/GamePlayerResponseModels.json +0 -213
- package/responseModel/operationResponse/GroupResponseModels.json +0 -165
- package/responseModel/operationResponse/InventoryResponseModels.json +0 -141
- package/responseModel/operationResponse/MasterPlayerResponseModels.json +0 -349
- package/responseModel/operationResponse/MultiplayerResponseModels.json +0 -45
- package/responseModel/operationResponse/StoreInventoryResponseModels.json +0 -61
- package/responseModel/servers/Authenticate.json +0 -1328
- package/responseModel/servers/CharacterPlayer.json +0 -3199
- package/responseModel/servers/CloudScript.json +0 -278
- package/responseModel/servers/Content.json +0 -324
- package/responseModel/servers/GamePlayer.json +0 -3844
- package/responseModel/servers/Group.json +0 -2454
- package/responseModel/servers/Inventory.json +0 -1964
- package/responseModel/servers/MasterAdmin.json +0 -5569
- package/responseModel/servers/MasterPlayer.json +0 -5924
- package/responseModel/servers/Multiplayer.json +0 -545
- package/responseModel/servers/StoreInventory.json +0 -1290
|
@@ -1,634 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"requestType": "Multiplayer",
|
|
3
|
-
"description": "API endpoints for managing matchmaking, match creation, player ticketing, and multiplayer server metadata.",
|
|
4
|
-
"operations": [
|
|
5
|
-
{
|
|
6
|
-
"operationCode": "CancelAllMatchmakingTicket",
|
|
7
|
-
"details": [
|
|
8
|
-
{
|
|
9
|
-
"role": "Client",
|
|
10
|
-
"requestData": [
|
|
11
|
-
{
|
|
12
|
-
"code": "QueueName",
|
|
13
|
-
"description": "The name of the matchmaking queue in which the ticket resides.",
|
|
14
|
-
"type": "string"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"role": "Server",
|
|
20
|
-
"requestData": [
|
|
21
|
-
{
|
|
22
|
-
"code": "UserId",
|
|
23
|
-
"description": "UserId parameter.",
|
|
24
|
-
"type": "string"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"description": "Cancels all matchmaking tickets associated with the player."
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"operationCode": "CancelMatchmakingTicket",
|
|
33
|
-
"details": [
|
|
34
|
-
{
|
|
35
|
-
"role": "Client",
|
|
36
|
-
"requestData": [
|
|
37
|
-
{
|
|
38
|
-
"code": "TicketId",
|
|
39
|
-
"description": "The unique identifier of the matchmaking ticket.",
|
|
40
|
-
"type": "string"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"role": "Server",
|
|
46
|
-
"requestData": [
|
|
47
|
-
{
|
|
48
|
-
"code": "UserId",
|
|
49
|
-
"description": "UserId parameter.",
|
|
50
|
-
"type": "string"
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"description": "Cancels a specific matchmaking ticket by its unique ticket ID."
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"operationCode": "CreateMatchmakingTicket",
|
|
59
|
-
"details": [
|
|
60
|
-
{
|
|
61
|
-
"role": "Client",
|
|
62
|
-
"requestData": [
|
|
63
|
-
{
|
|
64
|
-
"code": "GiveUpAfterSeconds",
|
|
65
|
-
"description": "The timeout duration after which the matchmaking ticket will expire.",
|
|
66
|
-
"type": "number"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"code": "QueueName",
|
|
70
|
-
"description": "The name of the matchmaking queue in which the ticket resides.",
|
|
71
|
-
"type": "string"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"code": "Attribute",
|
|
75
|
-
"description": "Attribute parameter.",
|
|
76
|
-
"type": "GNHashtable"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"code": "Members",
|
|
80
|
-
"description": "A list of players to include in the matchmaking request.",
|
|
81
|
-
"type": "Array<string>"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"role": "Server",
|
|
87
|
-
"requestData": [
|
|
88
|
-
{
|
|
89
|
-
"code": "UserId",
|
|
90
|
-
"description": "UserId parameter.",
|
|
91
|
-
"type": "string"
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"description": "Creates a new matchmaking ticket with specified members and configuration."
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"operationCode": "GetAllMatchmakingTicket",
|
|
100
|
-
"details": [
|
|
101
|
-
{
|
|
102
|
-
"role": "Client",
|
|
103
|
-
"requestData": [
|
|
104
|
-
{
|
|
105
|
-
"code": "Status",
|
|
106
|
-
"description": "Status parameter.",
|
|
107
|
-
"type": "number"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"code": "ReturnMember",
|
|
111
|
-
"description": "ReturnMember parameter.",
|
|
112
|
-
"type": "boolean",
|
|
113
|
-
"defaultValue": "false"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"code": "Skip",
|
|
117
|
-
"description": "Skip parameter.",
|
|
118
|
-
"type": "number",
|
|
119
|
-
"defaultValue": "0"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"code": "Limit",
|
|
123
|
-
"description": "Limit parameter.",
|
|
124
|
-
"type": "number",
|
|
125
|
-
"defaultValue": "10"
|
|
126
|
-
}
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"description": "Retrieves all active matchmaking tickets for the current player or context."
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"operationCode": "GetAllMatch",
|
|
134
|
-
"details": [
|
|
135
|
-
{
|
|
136
|
-
"role": "Client",
|
|
137
|
-
"requestData": [
|
|
138
|
-
{
|
|
139
|
-
"code": "ReturnMember",
|
|
140
|
-
"description": "ReturnMember parameter.",
|
|
141
|
-
"type": "boolean",
|
|
142
|
-
"defaultValue": "false"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"code": "Skip",
|
|
146
|
-
"description": "Skip parameter.",
|
|
147
|
-
"type": "number",
|
|
148
|
-
"defaultValue": "0"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"code": "Limit",
|
|
152
|
-
"description": "Limit parameter.",
|
|
153
|
-
"type": "number",
|
|
154
|
-
"defaultValue": "10"
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"description": "Returns all active or available matches that can be joined or observed."
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"operationCode": "GetMatchmakingTicket",
|
|
163
|
-
"details": [
|
|
164
|
-
{
|
|
165
|
-
"role": "Client",
|
|
166
|
-
"requestData": [
|
|
167
|
-
{
|
|
168
|
-
"code": "TicketId",
|
|
169
|
-
"description": "The unique identifier of the matchmaking ticket.",
|
|
170
|
-
"type": "string"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"code": "ReturnMember",
|
|
174
|
-
"description": "ReturnMember parameter.",
|
|
175
|
-
"type": "boolean",
|
|
176
|
-
"defaultValue": "false"
|
|
177
|
-
}
|
|
178
|
-
]
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"description": "Fetches detailed information for a specific matchmaking ticket."
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"operationCode": "GetMatch",
|
|
185
|
-
"details": [
|
|
186
|
-
{
|
|
187
|
-
"role": "Client",
|
|
188
|
-
"requestData": [
|
|
189
|
-
{
|
|
190
|
-
"code": "MatchId",
|
|
191
|
-
"description": "The unique identifier of the match.",
|
|
192
|
-
"type": "string"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"code": "ReturnMember",
|
|
196
|
-
"description": "ReturnMember parameter.",
|
|
197
|
-
"type": "boolean",
|
|
198
|
-
"defaultValue": "false"
|
|
199
|
-
}
|
|
200
|
-
]
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"description": "Retrieves full metadata and status of a match using its match ID."
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"operationCode": "GetQueueStatistics",
|
|
207
|
-
"details": [
|
|
208
|
-
{
|
|
209
|
-
"role": "Client",
|
|
210
|
-
"requestData": [
|
|
211
|
-
{
|
|
212
|
-
"code": "QueueName",
|
|
213
|
-
"description": "The name of the matchmaking queue in which the ticket resides.",
|
|
214
|
-
"type": "string"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"code": "TimeInSeconds",
|
|
218
|
-
"description": "TimeInSeconds parameter.",
|
|
219
|
-
"type": "number"
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
"description": "Returns statistics and metrics for a specific matchmaking queue."
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"operationCode": "JoinMatchmakingTicket",
|
|
228
|
-
"details": [
|
|
229
|
-
{
|
|
230
|
-
"role": "Client",
|
|
231
|
-
"requestData": [
|
|
232
|
-
{
|
|
233
|
-
"code": "TicketId",
|
|
234
|
-
"description": "The unique identifier of the matchmaking ticket.",
|
|
235
|
-
"type": "string"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"code": "Attribute",
|
|
239
|
-
"description": "Attribute parameter.",
|
|
240
|
-
"type": "GNHashtable"
|
|
241
|
-
}
|
|
242
|
-
]
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"role": "Server",
|
|
246
|
-
"requestData": [
|
|
247
|
-
{
|
|
248
|
-
"code": "UserId",
|
|
249
|
-
"description": "UserId parameter.",
|
|
250
|
-
"type": "string"
|
|
251
|
-
}
|
|
252
|
-
]
|
|
253
|
-
}
|
|
254
|
-
],
|
|
255
|
-
"description": "Adds a player to an existing matchmaking ticket."
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"operationCode": "ListMatchmakingTicketsForPlayer",
|
|
259
|
-
"details": [
|
|
260
|
-
{
|
|
261
|
-
"role": "Client",
|
|
262
|
-
"requestData": [
|
|
263
|
-
{
|
|
264
|
-
"code": "QueueName",
|
|
265
|
-
"description": "The name of the matchmaking queue in which the ticket resides.",
|
|
266
|
-
"type": "string"
|
|
267
|
-
}
|
|
268
|
-
]
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"role": "Server",
|
|
272
|
-
"requestData": [
|
|
273
|
-
{
|
|
274
|
-
"code": "UserId",
|
|
275
|
-
"description": "UserId parameter.",
|
|
276
|
-
"type": "string"
|
|
277
|
-
}
|
|
278
|
-
]
|
|
279
|
-
}
|
|
280
|
-
],
|
|
281
|
-
"description": "Returns all tickets currently associated with a given player."
|
|
282
|
-
}
|
|
283
|
-
],
|
|
284
|
-
"models": [
|
|
285
|
-
{
|
|
286
|
-
"name": "CancelAllMatchmakingTicketResponseData",
|
|
287
|
-
"details": [
|
|
288
|
-
{
|
|
289
|
-
"code": "TicketIds",
|
|
290
|
-
"description": "TicketIds field in CancelAllMatchmakingTicketResponseData.",
|
|
291
|
-
"type": "Array<string>"
|
|
292
|
-
}
|
|
293
|
-
],
|
|
294
|
-
"extends": null,
|
|
295
|
-
"description": "Response returned after canceling all matchmaking tickets."
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"name": "CreateMatchmakingTicketResponseData",
|
|
299
|
-
"details": [
|
|
300
|
-
{
|
|
301
|
-
"code": "TicketId",
|
|
302
|
-
"description": "Unique identifier of the matchmaking ticket.",
|
|
303
|
-
"type": "string"
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
|
-
"extends": null,
|
|
307
|
-
"description": "Response containing the ticket ID of the newly created matchmaking ticket."
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"name": "MatchmakingTicketMember",
|
|
311
|
-
"details": [
|
|
312
|
-
{
|
|
313
|
-
"code": "UserId",
|
|
314
|
-
"description": "UserId field in MatchmakingTicketMember.",
|
|
315
|
-
"type": "string"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"code": "Status",
|
|
319
|
-
"description": "Current status of the ticket or match.",
|
|
320
|
-
"type": "number"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"code": "Attribute",
|
|
324
|
-
"description": "Attribute field in MatchmakingTicketMember.",
|
|
325
|
-
"type": "GNHashtable"
|
|
326
|
-
}
|
|
327
|
-
],
|
|
328
|
-
"extends": null,
|
|
329
|
-
"description": "Represents a single player participating in a matchmaking ticket."
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"name": "MatchmakingTicketResponseData",
|
|
333
|
-
"details": [
|
|
334
|
-
{
|
|
335
|
-
"code": "TsCreate",
|
|
336
|
-
"description": "TsCreate field in MatchmakingTicketResponseData.",
|
|
337
|
-
"type": "number"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"code": "CreatorId",
|
|
341
|
-
"description": "CreatorId field in MatchmakingTicketResponseData.",
|
|
342
|
-
"type": "string"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"code": "GiveUpAfterSeconds",
|
|
346
|
-
"description": "Maximum number of seconds the matchmaking system will search before expiring the ticket.",
|
|
347
|
-
"type": "number"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"code": "QueueName",
|
|
351
|
-
"description": "Name of the matchmaking queue.",
|
|
352
|
-
"type": "string"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"code": "Status",
|
|
356
|
-
"description": "Current status of the ticket or match.",
|
|
357
|
-
"type": "number"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"code": "MatchId",
|
|
361
|
-
"description": "Unique identifier of the match.",
|
|
362
|
-
"type": "string"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"code": "Members",
|
|
366
|
-
"description": "List of players included in the matchmaking ticket or match.",
|
|
367
|
-
"type": "Array<MatchmakingTicketMember>"
|
|
368
|
-
}
|
|
369
|
-
],
|
|
370
|
-
"extends": null,
|
|
371
|
-
"description": "Metadata about a matchmaking ticket, including status and player info."
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"name": "MatchmakingTicketWithTicketIdResponseData",
|
|
375
|
-
"details": [
|
|
376
|
-
{
|
|
377
|
-
"code": "TicketId",
|
|
378
|
-
"description": "Unique identifier of the matchmaking ticket.",
|
|
379
|
-
"type": "string"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"code": "TsCreate",
|
|
383
|
-
"description": "TsCreate field in MatchmakingTicketWithTicketIdResponseData.",
|
|
384
|
-
"type": "number"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"code": "CreatorId",
|
|
388
|
-
"description": "CreatorId field in MatchmakingTicketWithTicketIdResponseData.",
|
|
389
|
-
"type": "string"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"code": "GiveUpAfterSeconds",
|
|
393
|
-
"description": "Maximum number of seconds the matchmaking system will search before expiring the ticket.",
|
|
394
|
-
"type": "number"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"code": "QueueName",
|
|
398
|
-
"description": "Name of the matchmaking queue.",
|
|
399
|
-
"type": "string"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"code": "Status",
|
|
403
|
-
"description": "Current status of the ticket or match.",
|
|
404
|
-
"type": "number"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"code": "MatchId",
|
|
408
|
-
"description": "Unique identifier of the match.",
|
|
409
|
-
"type": "string"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"code": "Members",
|
|
413
|
-
"description": "List of players included in the matchmaking ticket or match.",
|
|
414
|
-
"type": "Array<MatchmakingTicketMember>"
|
|
415
|
-
}
|
|
416
|
-
],
|
|
417
|
-
"extends": null,
|
|
418
|
-
"description": "Matchmaking ticket information paired with its ticket ID."
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"name": "GetMatchmakingTicketResponseData",
|
|
422
|
-
"details": [
|
|
423
|
-
{
|
|
424
|
-
"code": "MatchmakingTicket",
|
|
425
|
-
"description": "MatchmakingTicket field in GetMatchmakingTicketResponseData.",
|
|
426
|
-
"type": "MatchmakingTicketResponseData"
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"extends": null,
|
|
430
|
-
"description": "Full ticket detail returned by GetMatchmakingTicket."
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"name": "MatchMember",
|
|
434
|
-
"details": [
|
|
435
|
-
{
|
|
436
|
-
"code": "UserId",
|
|
437
|
-
"description": "UserId field in MatchMember.",
|
|
438
|
-
"type": "string"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"code": "TeamId",
|
|
442
|
-
"description": "TeamId field in MatchMember.",
|
|
443
|
-
"type": "string"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"code": "Attribute",
|
|
447
|
-
"description": "Attribute field in MatchMember.",
|
|
448
|
-
"type": "GNHashtable"
|
|
449
|
-
}
|
|
450
|
-
],
|
|
451
|
-
"extends": null,
|
|
452
|
-
"description": "Represents a participant in a match, including identifiers and attributes."
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"name": "PortInfo",
|
|
456
|
-
"details": [
|
|
457
|
-
{
|
|
458
|
-
"code": "Name",
|
|
459
|
-
"description": "Name field in PortInfo.",
|
|
460
|
-
"type": "string"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"code": "PublicPort",
|
|
464
|
-
"description": "PublicPort field in PortInfo.",
|
|
465
|
-
"type": "number"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"code": "PrivatePort",
|
|
469
|
-
"description": "PrivatePort field in PortInfo.",
|
|
470
|
-
"type": "number"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"code": "Protocol",
|
|
474
|
-
"description": "Protocol field in PortInfo.",
|
|
475
|
-
"type": "number"
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
"extends": null,
|
|
479
|
-
"description": "Networking port configuration for multiplayer server communication."
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "ServerDetail",
|
|
483
|
-
"details": [
|
|
484
|
-
{
|
|
485
|
-
"code": "IpV4Address",
|
|
486
|
-
"description": "IpV4Address field in ServerDetail.",
|
|
487
|
-
"type": "string"
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"code": "Ports",
|
|
491
|
-
"description": "Network ports allocated for player-server communication.",
|
|
492
|
-
"type": "Array<PortInfo>"
|
|
493
|
-
}
|
|
494
|
-
],
|
|
495
|
-
"extends": null,
|
|
496
|
-
"description": "Information about the allocated game server, including connection endpoints."
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"name": "MatchResponseData",
|
|
500
|
-
"details": [
|
|
501
|
-
{
|
|
502
|
-
"code": "TsCreate",
|
|
503
|
-
"description": "TsCreate field in MatchResponseData.",
|
|
504
|
-
"type": "number"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"code": "QueueName",
|
|
508
|
-
"description": "Name of the matchmaking queue.",
|
|
509
|
-
"type": "string"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"code": "Members",
|
|
513
|
-
"description": "List of players included in the matchmaking ticket or match.",
|
|
514
|
-
"type": "Array<MatchMember>"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"code": "TimeToMatchInSeconds",
|
|
518
|
-
"description": "TimeToMatchInSeconds field in MatchResponseData.",
|
|
519
|
-
"type": "number"
|
|
520
|
-
}
|
|
521
|
-
],
|
|
522
|
-
"extends": null,
|
|
523
|
-
"description": "Metadata about a completed or ongoing match."
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"name": "MatchWithMatchIdResponseData",
|
|
527
|
-
"details": [
|
|
528
|
-
{
|
|
529
|
-
"code": "MatchId",
|
|
530
|
-
"description": "Unique identifier of the match.",
|
|
531
|
-
"type": "string"
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"code": "TsCreate",
|
|
535
|
-
"description": "TsCreate field in MatchWithMatchIdResponseData.",
|
|
536
|
-
"type": "number"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"code": "QueueName",
|
|
540
|
-
"description": "Name of the matchmaking queue.",
|
|
541
|
-
"type": "string"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"code": "Members",
|
|
545
|
-
"description": "List of players included in the matchmaking ticket or match.",
|
|
546
|
-
"type": "Array<MatchMember>"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"code": "TimeToMatchInSeconds",
|
|
550
|
-
"description": "TimeToMatchInSeconds field in MatchWithMatchIdResponseData.",
|
|
551
|
-
"type": "number"
|
|
552
|
-
}
|
|
553
|
-
],
|
|
554
|
-
"extends": null,
|
|
555
|
-
"description": "Match data referenced by its unique match ID."
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "GetMatchResponseData",
|
|
559
|
-
"details": [
|
|
560
|
-
{
|
|
561
|
-
"code": "Match",
|
|
562
|
-
"description": "Match field in GetMatchResponseData.",
|
|
563
|
-
"type": "MatchResponseData"
|
|
564
|
-
}
|
|
565
|
-
],
|
|
566
|
-
"extends": null,
|
|
567
|
-
"description": "Response payload for GetMatch, including server and member info."
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"name": "GetQueueStatisticsResponseData",
|
|
571
|
-
"details": [
|
|
572
|
-
{
|
|
573
|
-
"code": "PendingMemberCount",
|
|
574
|
-
"description": "PendingMemberCount field in GetQueueStatisticsResponseData.",
|
|
575
|
-
"type": "number"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"code": "PendingTicketCount",
|
|
579
|
-
"description": "PendingTicketCount field in GetQueueStatisticsResponseData.",
|
|
580
|
-
"type": "number"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"code": "AverageMatchmakingTimeInSeconds",
|
|
584
|
-
"description": "AverageMatchmakingTimeInSeconds field in GetQueueStatisticsResponseData.",
|
|
585
|
-
"type": "number"
|
|
586
|
-
}
|
|
587
|
-
],
|
|
588
|
-
"extends": null,
|
|
589
|
-
"description": "Statistics for a matchmaking queue, such as average wait times."
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"name": "ListMatchmakingTicketsForPlayerResponseData",
|
|
593
|
-
"details": [
|
|
594
|
-
{
|
|
595
|
-
"code": "TicketIds",
|
|
596
|
-
"description": "TicketIds field in ListMatchmakingTicketsForPlayerResponseData.",
|
|
597
|
-
"type": "Array<string>"
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
"extends": null,
|
|
601
|
-
"description": "List of all active or pending tickets for a player."
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"name": "GetAllMatchResponseData",
|
|
605
|
-
"details": [
|
|
606
|
-
{
|
|
607
|
-
"code": "Results",
|
|
608
|
-
"description": "Results field in GetAllMatchResponseData.",
|
|
609
|
-
"type": "Array<MatchWithMatchIdResponseData>"
|
|
610
|
-
}
|
|
611
|
-
],
|
|
612
|
-
"extends": null,
|
|
613
|
-
"description": "List of all available matches in the current environment."
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"name": "GetAllMatchmakingTicketResponseData",
|
|
617
|
-
"details": [
|
|
618
|
-
{
|
|
619
|
-
"code": "Results",
|
|
620
|
-
"description": "Results field in GetAllMatchmakingTicketResponseData.",
|
|
621
|
-
"type": "Array<MatchmakingTicketWithTicketIdResponseData>"
|
|
622
|
-
}
|
|
623
|
-
],
|
|
624
|
-
"extends": null,
|
|
625
|
-
"description": "Returns all matchmaking tickets in the environment."
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
"name": "EmptyResponseData",
|
|
629
|
-
"details": [],
|
|
630
|
-
"extends": null,
|
|
631
|
-
"description": "Standard response used when no data is returned upon success."
|
|
632
|
-
}
|
|
633
|
-
]
|
|
634
|
-
}
|