@xmobitea/gn-typescript-client 2.6.8 → 2.6.9-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/LICENSE +198 -5
- package/dist/index.js +337 -34170
- 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.js +149 -0
- package/dist/runtime/constant/Commands.js +19 -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.d.ts +0 -1
- 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.d.ts +7 -7
- 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.d.ts +0 -1
- 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.d.ts +1 -1
- 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 +122 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +164 -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 +2 -2
- package/responseModel/chatgpt/Authenticate.json +724 -0
- package/responseModel/chatgpt/CharacterPlayer.json +1890 -0
- package/responseModel/chatgpt/CloudScript.json +254 -0
- package/responseModel/chatgpt/Content.json +273 -0
- package/responseModel/chatgpt/Dashboard.json +4110 -0
- package/responseModel/chatgpt/GamePlayer.json +2306 -0
- package/responseModel/chatgpt/Generic.json +253 -0
- package/responseModel/chatgpt/Group.json +1509 -0
- package/responseModel/chatgpt/Inventory.json +1211 -0
- package/responseModel/chatgpt/MasterPlayer.json +3801 -0
- package/responseModel/chatgpt/Multiplayer.json +634 -0
- package/responseModel/chatgpt/StoreInventory.json +1099 -0
- package/responseModel/clients/AuthenticateModels.json +271 -0
- package/responseModel/clients/CharacterPlayerModels.json +792 -0
- package/responseModel/clients/CloudScriptModels.json +191 -0
- package/responseModel/clients/ContentModels.json +178 -0
- package/responseModel/clients/DashboardModels.json +5423 -0
- package/responseModel/clients/GamePlayerModels.json +781 -0
- package/responseModel/clients/GenericModels.json +344 -0
- package/responseModel/clients/GroupModels.json +705 -0
- package/responseModel/clients/InventoryModels.json +568 -0
- package/responseModel/clients/MasterPlayerModels.json +1281 -0
- package/responseModel/clients/MultiplayerModels.json +439 -0
- package/responseModel/clients/StoreInventoryModels.json +971 -0
- package/responseModel/finalChatgpt/Authenticate.json +1475 -0
- package/responseModel/finalChatgpt/CharacterPlayer.json +4104 -0
- package/responseModel/finalChatgpt/CloudScript.json +515 -0
- package/responseModel/finalChatgpt/Content.json +536 -0
- package/responseModel/finalChatgpt/Dashboard.json +6712 -0
- package/responseModel/finalChatgpt/GamePlayer.json +5142 -0
- package/responseModel/finalChatgpt/Generic.json +333 -0
- package/responseModel/finalChatgpt/Group.json +3232 -0
- package/responseModel/finalChatgpt/Inventory.json +2606 -0
- package/responseModel/finalChatgpt/MasterPlayer.json +8385 -0
- package/responseModel/finalChatgpt/Multiplayer.json +1196 -0
- package/responseModel/finalChatgpt/StoreInventory.json +2085 -0
- package/responseModel/finals/Authenticate.json +1460 -0
- package/responseModel/finals/CharacterPlayer.json +3639 -0
- package/responseModel/finals/CloudScript.json +465 -0
- package/responseModel/finals/Content.json +479 -0
- package/responseModel/finals/Dashboard.json +6718 -0
- package/responseModel/finals/GamePlayer.json +4291 -0
- package/responseModel/finals/Generic.json +345 -0
- package/responseModel/finals/Group.json +2885 -0
- package/responseModel/finals/Inventory.json +2309 -0
- package/responseModel/finals/MasterPlayer.json +7018 -0
- package/responseModel/finals/Multiplayer.json +1082 -0
- package/responseModel/finals/StoreInventory.json +1979 -0
- package/responseModel/finalsShort/Authenticate.json +723 -0
- package/responseModel/finalsShort/CharacterPlayer.json +1889 -0
- package/responseModel/finalsShort/CloudScript.json +253 -0
- package/responseModel/finalsShort/Content.json +272 -0
- package/responseModel/finalsShort/Dashboard.json +4109 -0
- package/responseModel/finalsShort/GamePlayer.json +2305 -0
- package/responseModel/finalsShort/Generic.json +252 -0
- package/responseModel/finalsShort/Group.json +1508 -0
- package/responseModel/finalsShort/Inventory.json +1210 -0
- package/responseModel/finalsShort/MasterPlayer.json +3800 -0
- package/responseModel/finalsShort/Multiplayer.json +633 -0
- package/responseModel/finalsShort/StoreInventory.json +1098 -0
- package/responseModel/operationResponse/AuthenticateResponseModels.json +77 -0
- package/responseModel/operationResponse/CharacterPlayerResponseModels.json +217 -0
- package/responseModel/operationResponse/CloudScriptResponseModels.json +25 -0
- package/responseModel/operationResponse/ContentResponseModels.json +33 -0
- package/responseModel/operationResponse/DashboardResponseModels.json +109 -0
- package/responseModel/operationResponse/GamePlayerResponseModels.json +213 -0
- package/responseModel/operationResponse/GroupResponseModels.json +165 -0
- package/responseModel/operationResponse/InventoryResponseModels.json +141 -0
- package/responseModel/operationResponse/MasterPlayerResponseModels.json +349 -0
- package/responseModel/operationResponse/MultiplayerResponseModels.json +45 -0
- package/responseModel/operationResponse/StoreInventoryResponseModels.json +61 -0
- package/responseModel/servers/Authenticate.json +1328 -0
- package/responseModel/servers/CharacterPlayer.json +3199 -0
- package/responseModel/servers/CloudScript.json +278 -0
- package/responseModel/servers/Content.json +324 -0
- package/responseModel/servers/GamePlayer.json +3844 -0
- package/responseModel/servers/Group.json +2454 -0
- package/responseModel/servers/Inventory.json +1964 -0
- package/responseModel/servers/MasterAdmin.json +5569 -0
- package/responseModel/servers/MasterPlayer.json +5924 -0
- package/responseModel/servers/Multiplayer.json +545 -0
- package/responseModel/servers/StoreInventory.json +1290 -0
- package/dist/gearn.js.client.js +0 -46892
- package/dist/gearn.js.client.min.js +0 -2
- package/dist/gearn.js.client.min.js.LICENSE.txt +0 -14
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
{
|
|
2
|
+
"requestType": "Authenticate",
|
|
3
|
+
"operations": [
|
|
4
|
+
{
|
|
5
|
+
"operationCode": "LoginByAccount",
|
|
6
|
+
"details": [
|
|
7
|
+
{
|
|
8
|
+
"role": "Client",
|
|
9
|
+
"requestData": [
|
|
10
|
+
{
|
|
11
|
+
"code": "Username",
|
|
12
|
+
"description": "",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"code": "Password",
|
|
17
|
+
"description": "",
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"code": "InfoRequestParam",
|
|
22
|
+
"description": "",
|
|
23
|
+
"type": "InfoRequestParam"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"description": ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"operationCode": "LoginByAndroidDeviceId",
|
|
32
|
+
"details": [
|
|
33
|
+
{
|
|
34
|
+
"role": "Client",
|
|
35
|
+
"requestData": [
|
|
36
|
+
{
|
|
37
|
+
"code": "AndroidDeviceId",
|
|
38
|
+
"description": "",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "CreatePlayerIfNotExists",
|
|
43
|
+
"description": "",
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"defaultValue": "false"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"code": "InfoRequestParam",
|
|
49
|
+
"description": "",
|
|
50
|
+
"type": "InfoRequestParam"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"description": ""
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"operationCode": "LoginByApple",
|
|
59
|
+
"details": [
|
|
60
|
+
{
|
|
61
|
+
"role": "Client",
|
|
62
|
+
"requestData": [
|
|
63
|
+
{
|
|
64
|
+
"code": "Token",
|
|
65
|
+
"description": "",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "CreatePlayerIfNotExists",
|
|
70
|
+
"description": "",
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"defaultValue": "false"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"code": "InfoRequestParam",
|
|
76
|
+
"description": "",
|
|
77
|
+
"type": "InfoRequestParam"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"description": ""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"operationCode": "LoginByCustomDeviceId",
|
|
86
|
+
"details": [
|
|
87
|
+
{
|
|
88
|
+
"role": "Client",
|
|
89
|
+
"requestData": [
|
|
90
|
+
{
|
|
91
|
+
"code": "CustomDeviceId",
|
|
92
|
+
"description": "",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"code": "CreatePlayerIfNotExists",
|
|
97
|
+
"description": "",
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"defaultValue": "false"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"code": "InfoRequestParam",
|
|
103
|
+
"description": "",
|
|
104
|
+
"type": "InfoRequestParam"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"description": ""
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"operationCode": "LoginByCustomId",
|
|
113
|
+
"details": [
|
|
114
|
+
{
|
|
115
|
+
"role": "Client",
|
|
116
|
+
"requestData": [
|
|
117
|
+
{
|
|
118
|
+
"code": "CustomId",
|
|
119
|
+
"description": "",
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"code": "CreatePlayerIfNotExists",
|
|
124
|
+
"description": "",
|
|
125
|
+
"type": "boolean",
|
|
126
|
+
"defaultValue": "false"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"code": "InfoRequestParam",
|
|
130
|
+
"description": "",
|
|
131
|
+
"type": "InfoRequestParam"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"description": ""
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"operationCode": "LoginByEditorDeviceId",
|
|
140
|
+
"details": [
|
|
141
|
+
{
|
|
142
|
+
"role": "Client",
|
|
143
|
+
"requestData": [
|
|
144
|
+
{
|
|
145
|
+
"code": "EditorDeviceId",
|
|
146
|
+
"description": "",
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"code": "CreatePlayerIfNotExists",
|
|
151
|
+
"description": "",
|
|
152
|
+
"type": "boolean",
|
|
153
|
+
"defaultValue": "false"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"code": "InfoRequestParam",
|
|
157
|
+
"description": "",
|
|
158
|
+
"type": "InfoRequestParam"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"description": ""
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"operationCode": "LoginByFacebook",
|
|
167
|
+
"details": [
|
|
168
|
+
{
|
|
169
|
+
"role": "Client",
|
|
170
|
+
"requestData": [
|
|
171
|
+
{
|
|
172
|
+
"code": "Token",
|
|
173
|
+
"description": "",
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"code": "CreatePlayerIfNotExists",
|
|
178
|
+
"description": "",
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"defaultValue": "false"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"code": "InfoRequestParam",
|
|
184
|
+
"description": "",
|
|
185
|
+
"type": "InfoRequestParam"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"description": ""
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"operationCode": "LoginByGameCenter",
|
|
194
|
+
"details": [
|
|
195
|
+
{
|
|
196
|
+
"role": "Client",
|
|
197
|
+
"requestData": [
|
|
198
|
+
{
|
|
199
|
+
"code": "PlayerId",
|
|
200
|
+
"description": "",
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"code": "Name",
|
|
205
|
+
"description": "",
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"code": "PublicKeyUrl",
|
|
210
|
+
"description": "",
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"code": "Signature",
|
|
215
|
+
"description": "",
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"code": "Salt",
|
|
220
|
+
"description": "",
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"code": "Timestamp",
|
|
225
|
+
"description": "",
|
|
226
|
+
"type": "number"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"code": "CreatePlayerIfNotExists",
|
|
230
|
+
"description": "",
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"defaultValue": "false"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"code": "InfoRequestParam",
|
|
236
|
+
"description": "",
|
|
237
|
+
"type": "InfoRequestParam"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"description": ""
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"operationCode": "LoginByGenericService",
|
|
246
|
+
"details": [
|
|
247
|
+
{
|
|
248
|
+
"role": "Client",
|
|
249
|
+
"requestData": [
|
|
250
|
+
{
|
|
251
|
+
"code": "ServiceName",
|
|
252
|
+
"description": "",
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"code": "ServiceData",
|
|
257
|
+
"description": "",
|
|
258
|
+
"type": "GNHashtable"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"code": "CreatePlayerIfNotExists",
|
|
262
|
+
"description": "",
|
|
263
|
+
"type": "boolean",
|
|
264
|
+
"defaultValue": "false"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"code": "InfoRequestParam",
|
|
268
|
+
"description": "",
|
|
269
|
+
"type": "InfoRequestParam"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"description": ""
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"operationCode": "LoginByGooglePlayGameService",
|
|
278
|
+
"details": [
|
|
279
|
+
{
|
|
280
|
+
"role": "Client",
|
|
281
|
+
"requestData": [
|
|
282
|
+
{
|
|
283
|
+
"code": "Token",
|
|
284
|
+
"description": "",
|
|
285
|
+
"type": "string"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"code": "CreatePlayerIfNotExists",
|
|
289
|
+
"description": "",
|
|
290
|
+
"type": "boolean",
|
|
291
|
+
"defaultValue": "false"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"code": "InfoRequestParam",
|
|
295
|
+
"description": "",
|
|
296
|
+
"type": "InfoRequestParam"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"description": ""
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"operationCode": "LoginByGoogle",
|
|
305
|
+
"details": [
|
|
306
|
+
{
|
|
307
|
+
"role": "Client",
|
|
308
|
+
"requestData": [
|
|
309
|
+
{
|
|
310
|
+
"code": "Token",
|
|
311
|
+
"description": "",
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"code": "Type",
|
|
316
|
+
"description": "",
|
|
317
|
+
"type": "number"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"code": "CreatePlayerIfNotExists",
|
|
321
|
+
"description": "",
|
|
322
|
+
"type": "boolean",
|
|
323
|
+
"defaultValue": "false"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"code": "InfoRequestParam",
|
|
327
|
+
"description": "",
|
|
328
|
+
"type": "InfoRequestParam"
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"description": ""
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"operationCode": "LoginByiOSDeviceId",
|
|
337
|
+
"details": [
|
|
338
|
+
{
|
|
339
|
+
"role": "Client",
|
|
340
|
+
"requestData": [
|
|
341
|
+
{
|
|
342
|
+
"code": "iOSDeviceId",
|
|
343
|
+
"description": "",
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"code": "CreatePlayerIfNotExists",
|
|
348
|
+
"description": "",
|
|
349
|
+
"type": "boolean",
|
|
350
|
+
"defaultValue": "false"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"code": "InfoRequestParam",
|
|
354
|
+
"description": "",
|
|
355
|
+
"type": "InfoRequestParam"
|
|
356
|
+
}
|
|
357
|
+
]
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"description": ""
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"operationCode": "LoginByLinuxDeviceId",
|
|
364
|
+
"details": [
|
|
365
|
+
{
|
|
366
|
+
"role": "Client",
|
|
367
|
+
"requestData": [
|
|
368
|
+
{
|
|
369
|
+
"code": "LinuxDeviceId",
|
|
370
|
+
"description": "",
|
|
371
|
+
"type": "string"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"code": "CreatePlayerIfNotExists",
|
|
375
|
+
"description": "",
|
|
376
|
+
"type": "boolean",
|
|
377
|
+
"defaultValue": "false"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"code": "InfoRequestParam",
|
|
381
|
+
"description": "",
|
|
382
|
+
"type": "InfoRequestParam"
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"description": ""
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"operationCode": "LoginByMacOSDeviceId",
|
|
391
|
+
"details": [
|
|
392
|
+
{
|
|
393
|
+
"role": "Client",
|
|
394
|
+
"requestData": [
|
|
395
|
+
{
|
|
396
|
+
"code": "MacOSDeviceId",
|
|
397
|
+
"description": "",
|
|
398
|
+
"type": "string"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"code": "CreatePlayerIfNotExists",
|
|
402
|
+
"description": "",
|
|
403
|
+
"type": "boolean",
|
|
404
|
+
"defaultValue": "false"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"code": "InfoRequestParam",
|
|
408
|
+
"description": "",
|
|
409
|
+
"type": "InfoRequestParam"
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"description": ""
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"operationCode": "LoginByWindowsDeviceId",
|
|
418
|
+
"details": [
|
|
419
|
+
{
|
|
420
|
+
"role": "Client",
|
|
421
|
+
"requestData": [
|
|
422
|
+
{
|
|
423
|
+
"code": "WindowsDeviceId",
|
|
424
|
+
"description": "",
|
|
425
|
+
"type": "string"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"code": "CreatePlayerIfNotExists",
|
|
429
|
+
"description": "",
|
|
430
|
+
"type": "boolean",
|
|
431
|
+
"defaultValue": "false"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"code": "InfoRequestParam",
|
|
435
|
+
"description": "",
|
|
436
|
+
"type": "InfoRequestParam"
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"description": ""
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"operationCode": "LoginByWindowsPhoneDeviceId",
|
|
445
|
+
"details": [
|
|
446
|
+
{
|
|
447
|
+
"role": "Client",
|
|
448
|
+
"requestData": [
|
|
449
|
+
{
|
|
450
|
+
"code": "WindowsPhoneDeviceId",
|
|
451
|
+
"description": "",
|
|
452
|
+
"type": "string"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"code": "CreatePlayerIfNotExists",
|
|
456
|
+
"description": "",
|
|
457
|
+
"type": "boolean",
|
|
458
|
+
"defaultValue": "false"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"code": "InfoRequestParam",
|
|
462
|
+
"description": "",
|
|
463
|
+
"type": "InfoRequestParam"
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"description": ""
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"operationCode": "RefreshAuthToken",
|
|
472
|
+
"details": [],
|
|
473
|
+
"description": ""
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"operationCode": "RegisterAccount",
|
|
477
|
+
"details": [
|
|
478
|
+
{
|
|
479
|
+
"role": "Client",
|
|
480
|
+
"requestData": [
|
|
481
|
+
{
|
|
482
|
+
"code": "Username",
|
|
483
|
+
"description": "",
|
|
484
|
+
"type": "string"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"code": "Password",
|
|
488
|
+
"description": "",
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"code": "InfoRequestParam",
|
|
493
|
+
"description": "",
|
|
494
|
+
"type": "InfoRequestParam"
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"description": ""
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"models": [
|
|
503
|
+
{
|
|
504
|
+
"name": "InfoRequestParam",
|
|
505
|
+
"details": [
|
|
506
|
+
{
|
|
507
|
+
"code": "External",
|
|
508
|
+
"description": "",
|
|
509
|
+
"type": "boolean",
|
|
510
|
+
"defaultValue": "false"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"code": "Segments",
|
|
514
|
+
"description": "",
|
|
515
|
+
"type": "boolean",
|
|
516
|
+
"defaultValue": "false"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"code": "CustomDatas",
|
|
520
|
+
"description": "",
|
|
521
|
+
"type": "boolean",
|
|
522
|
+
"defaultValue": "false"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"code": "DisplayName",
|
|
526
|
+
"description": "",
|
|
527
|
+
"type": "boolean",
|
|
528
|
+
"defaultValue": "false"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"code": "Avatar",
|
|
532
|
+
"description": "",
|
|
533
|
+
"type": "boolean",
|
|
534
|
+
"defaultValue": "false"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"code": "TsCreate",
|
|
538
|
+
"description": "",
|
|
539
|
+
"type": "boolean",
|
|
540
|
+
"defaultValue": "false"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"code": "Tags",
|
|
544
|
+
"description": "",
|
|
545
|
+
"type": "boolean",
|
|
546
|
+
"defaultValue": "false"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"code": "PlayerBan",
|
|
550
|
+
"description": "",
|
|
551
|
+
"type": "boolean",
|
|
552
|
+
"defaultValue": "false"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"code": "PlayerCurrencies",
|
|
556
|
+
"description": "",
|
|
557
|
+
"type": "boolean",
|
|
558
|
+
"defaultValue": "false"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"code": "PlayerStatistics",
|
|
562
|
+
"description": "",
|
|
563
|
+
"type": "boolean",
|
|
564
|
+
"defaultValue": "false"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"code": "PlayerDatas",
|
|
568
|
+
"description": "",
|
|
569
|
+
"type": "boolean",
|
|
570
|
+
"defaultValue": "false"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"code": "IpAddressCreate",
|
|
574
|
+
"description": "",
|
|
575
|
+
"type": "boolean",
|
|
576
|
+
"defaultValue": "false"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"code": "CountryCode",
|
|
580
|
+
"description": "",
|
|
581
|
+
"type": "boolean",
|
|
582
|
+
"defaultValue": "false"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"code": "Email",
|
|
586
|
+
"description": "",
|
|
587
|
+
"type": "boolean",
|
|
588
|
+
"defaultValue": "false"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"code": "TsLastLogin",
|
|
592
|
+
"description": "",
|
|
593
|
+
"type": "boolean",
|
|
594
|
+
"defaultValue": "false"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"code": "PushNotifications",
|
|
598
|
+
"description": "",
|
|
599
|
+
"type": "boolean",
|
|
600
|
+
"defaultValue": "false"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"code": "PlayerDataKeys",
|
|
604
|
+
"description": "",
|
|
605
|
+
"type": "Array<string>"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"code": "PlayerCurrencyKeys",
|
|
609
|
+
"description": "",
|
|
610
|
+
"type": "Array<string>"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"code": "PlayerStatisticsKeys",
|
|
614
|
+
"description": "",
|
|
615
|
+
"type": "Array<string>"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"code": "CustomDataKeys",
|
|
619
|
+
"description": "",
|
|
620
|
+
"type": "Array<string>"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"code": "TagKeys",
|
|
624
|
+
"description": "",
|
|
625
|
+
"type": "Array<string>"
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"description": ""
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "AuthenticateResponseData",
|
|
632
|
+
"details": [
|
|
633
|
+
{
|
|
634
|
+
"code": "NewlyCreated",
|
|
635
|
+
"description": "",
|
|
636
|
+
"type": "boolean"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"code": "AuthToken",
|
|
640
|
+
"description": "",
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"code": "PlayerBan",
|
|
645
|
+
"description": "",
|
|
646
|
+
"type": "GenericModels.BanItem"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"code": "UserId",
|
|
650
|
+
"description": "",
|
|
651
|
+
"type": "string"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"code": "InfoResponseParameters",
|
|
655
|
+
"description": "",
|
|
656
|
+
"type": "InfoResponseParameters"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"extends": null,
|
|
660
|
+
"description": ""
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "GenericServiceAuthenticateResponseData",
|
|
664
|
+
"details": [
|
|
665
|
+
{
|
|
666
|
+
"code": "ErrorMessage",
|
|
667
|
+
"description": "",
|
|
668
|
+
"type": "string"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"code": "NewlyCreated",
|
|
672
|
+
"description": "",
|
|
673
|
+
"type": "boolean"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"code": "AuthToken",
|
|
677
|
+
"description": "",
|
|
678
|
+
"type": "string"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"code": "PlayerBan",
|
|
682
|
+
"description": "",
|
|
683
|
+
"type": "GenericModels.BanItem"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"code": "UserId",
|
|
687
|
+
"description": "",
|
|
688
|
+
"type": "string"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"code": "InfoResponseParameters",
|
|
692
|
+
"description": "",
|
|
693
|
+
"type": "InfoResponseParameters"
|
|
694
|
+
}
|
|
695
|
+
],
|
|
696
|
+
"extends": null,
|
|
697
|
+
"description": ""
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "RefreshAuthTokenResponseData",
|
|
701
|
+
"details": [
|
|
702
|
+
{
|
|
703
|
+
"code": "AuthToken",
|
|
704
|
+
"description": "",
|
|
705
|
+
"type": "string"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"code": "PlayerBan",
|
|
709
|
+
"description": "",
|
|
710
|
+
"type": "GenericModels.BanItem"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"extends": null,
|
|
714
|
+
"description": ""
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "EmptyResponseData",
|
|
718
|
+
"details": [],
|
|
719
|
+
"extends": null,
|
|
720
|
+
"description": ""
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
|
+
}
|