@xmobitea/gn-typescript-client 2.6.13 → 2.6.14
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/AGENTS.md +37 -0
- package/README.MD +420 -1
- package/dist/gearn.js.client.js +25056 -1056
- package/dist/gearn.js.client.min.js +1 -1
- package/dist/index.d.ts +30 -0
- package/dist/index.js +24236 -212
- package/dist/runtime/GNNetwork.d.ts +687 -3
- package/dist/runtime/GNNetworkAuthenticateApi.d.ts +327 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +1026 -0
- package/dist/runtime/GNNetworkCloudScriptApi.d.ts +141 -0
- package/dist/runtime/GNNetworkContentApi.d.ts +243 -0
- package/dist/runtime/GNNetworkDashboardApi.d.ts +221 -0
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +1033 -0
- package/dist/runtime/GNNetworkGroupApi.d.ts +783 -0
- package/dist/runtime/GNNetworkInventoryApi.d.ts +673 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +1614 -6
- package/dist/runtime/GNNetworkMultiplayerApi.d.ts +234 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +309 -0
- package/dist/runtime/common/Action0.d.ts +30 -0
- package/dist/runtime/common/Action1.d.ts +32 -0
- package/dist/runtime/common/Action2.d.ts +21 -0
- package/dist/runtime/common/Action3.d.ts +16 -0
- package/dist/runtime/common/Action4.d.ts +17 -0
- package/dist/runtime/common/GNData.d.ts +368 -0
- package/dist/runtime/config/GNServerSettings.d.ts +442 -12
- package/dist/runtime/constant/Commands.d.ts +80 -0
- package/dist/runtime/constant/EventCode.d.ts +48 -0
- package/dist/runtime/constant/OperationCode.d.ts +74 -1
- package/dist/runtime/constant/ReturnCode.d.ts +72 -0
- package/dist/runtime/constant/enumType/ExecuteResponseStatus.d.ts +31 -0
- package/dist/runtime/constant/enumType/FriendStatus.d.ts +39 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.d.ts +23 -0
- package/dist/runtime/constant/enumType/GroupStatus.d.ts +32 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.d.ts +75 -0
- package/dist/runtime/constant/enumType/ItemType.d.ts +23 -0
- package/dist/runtime/constant/enumType/MatchStatus.d.ts +30 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.d.ts +24 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.d.ts +34 -0
- package/dist/runtime/constant/enumType/OwnerType.d.ts +40 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +22 -0
- package/dist/runtime/constant/enumType/PushPlatformType.d.ts +18 -0
- package/dist/runtime/constant/enumType/RequestRole.d.ts +32 -0
- package/dist/runtime/constant/enumType/RequestType.d.ts +70 -0
- package/dist/runtime/constant/enumType/StoreItemType.d.ts +21 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +30 -0
- package/dist/runtime/constant/errorCode/ErrorCode.d.ts +190 -8
- package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +35 -5
- package/dist/runtime/entity/DataMember.d.ts +338 -0
- package/dist/runtime/entity/GNMetadata.d.ts +101 -0
- package/dist/runtime/entity/InvalidMember.d.ts +28 -0
- package/dist/runtime/entity/OperationEvent.d.ts +49 -0
- package/dist/runtime/entity/OperationRequest.d.ts +108 -0
- package/dist/runtime/entity/OperationResponse.d.ts +110 -0
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +115 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +131 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +625 -1
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +972 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +332 -0
- package/dist/runtime/entity/models/CloudScriptModels.d.ts +109 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.d.ts +107 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.d.ts +46 -0
- package/dist/runtime/entity/models/ContentModels.d.ts +124 -0
- package/dist/runtime/entity/models/ContentRequestModels.d.ts +152 -0
- package/dist/runtime/entity/models/ContentResponseModels.d.ts +58 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +371 -8
- package/dist/runtime/entity/models/DashboardRequestModels.d.ts +172 -0
- package/dist/runtime/entity/models/DashboardResponseModels.d.ts +170 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +644 -1
- package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +959 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +333 -1
- package/dist/runtime/entity/models/GenericModels.d.ts +94 -0
- package/dist/runtime/entity/models/GroupModels.d.ts +484 -2
- package/dist/runtime/entity/models/GroupRequestModels.d.ts +737 -0
- package/dist/runtime/entity/models/GroupResponseModels.d.ts +254 -0
- package/dist/runtime/entity/models/InventoryModels.d.ts +415 -0
- package/dist/runtime/entity/models/InventoryRequestModels.d.ts +629 -0
- package/dist/runtime/entity/models/InventoryResponseModels.d.ts +218 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +1065 -3
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1560 -6
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +532 -1
- package/dist/runtime/entity/models/MultiplayerModels.d.ts +199 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.d.ts +196 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.d.ts +74 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +262 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +268 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +98 -0
- package/dist/runtime/entity/request/CustomOperationRequest.d.ts +99 -0
- package/dist/runtime/entity/response/CustomOperationResponse.d.ts +118 -0
- package/dist/runtime/entity/response/GetAuthInfoResponse.d.ts +53 -0
- package/dist/runtime/entity/response/HealthCheckResponse.d.ts +56 -0
- package/dist/runtime/entity/response/UploadFileResponse.d.ts +19 -0
- package/dist/runtime/helper/CodeHelper.d.ts +122 -0
- package/dist/runtime/helper/ConverterService.d.ts +74 -0
- package/dist/runtime/helper/EnumUtility.d.ts +63 -0
- package/dist/runtime/helper/GNSupport.d.ts +64 -4
- package/dist/runtime/helper/GNUtils.d.ts +54 -0
- package/dist/runtime/helper/MessagePackConverterService.d.ts +48 -0
- package/dist/runtime/helper/OperationHelper.d.ts +51 -0
- package/dist/runtime/helper/StorageService.d.ts +48 -8
- package/dist/runtime/logger/GNDebug.d.ts +117 -0
- package/dist/runtime/networking/AuthenticateStatus.d.ts +64 -0
- package/dist/runtime/networking/IPeer.d.ts +83 -0
- package/dist/runtime/networking/NetworkingPeer.d.ts +256 -1
- package/dist/runtime/networking/OperationPending.d.ts +112 -0
- package/dist/runtime/networking/PeerBase.d.ts +231 -0
- package/dist/runtime/networking/handler/IServerEventHandler.d.ts +84 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +69 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +49 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +50 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +41 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +47 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +46 -0
- package/dist/runtime/networking/http/HttpPeer.d.ts +173 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +87 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +113 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +145 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +198 -0
- package/dist/runtime/networking/socket/SocketPeer.d.ts +155 -0
- package/dist/runtime/typescript/ServiceUpdate.d.ts +46 -0
- package/docs/AI_CHEATSHEET.md +211 -0
- package/docs/COOKBOOK.md +912 -0
- package/docs/RULES.md +307 -0
- package/docs/ai-manifest.json +725 -0
- package/docs/guides/AUTHENTICATE.md +246 -0
- package/docs/guides/CHARACTER_PLAYER.md +439 -0
- package/docs/guides/CLOUDSCRIPT.md +335 -0
- package/docs/guides/COCOS_CREATOR_INTEGRATION.md +150 -0
- package/docs/guides/CONTENT.md +291 -0
- package/docs/guides/DASHBOARD.md +262 -0
- package/docs/guides/GAME_PLAYER.md +473 -0
- package/docs/guides/GROUP.md +412 -0
- package/docs/guides/INVENTORY.md +375 -0
- package/docs/guides/MASTER_PLAYER.md +458 -0
- package/docs/guides/MULTIPLAYER.md +303 -0
- package/docs/guides/STORE_INVENTORY.md +313 -0
- package/docs/llms-full.txt +43 -0
- package/docs/reference/API_AUTHENTICATE.md +75 -0
- package/docs/reference/API_CHARACTER_PLAYER.md +226 -0
- package/docs/reference/API_CLOUDSCRIPT.md +82 -0
- package/docs/reference/API_CONTENT.md +88 -0
- package/docs/reference/API_DASHBOARD.md +82 -0
- package/docs/reference/API_GAME_PLAYER.md +223 -0
- package/docs/reference/API_GROUP.md +187 -0
- package/docs/reference/API_INDEX.md +57 -0
- package/docs/reference/API_INVENTORY.md +169 -0
- package/docs/reference/API_MASTER_PLAYER.md +323 -0
- package/docs/reference/API_MULTIPLAYER.md +97 -0
- package/docs/reference/API_STORE_INVENTORY.md +109 -0
- package/docs/reference/CONFIG.md +107 -0
- package/docs/reference/DTO_INDEX.md +2543 -0
- package/docs/reference/ENUMS.md +433 -0
- package/docs/reference/ERROR_HANDLING.md +159 -0
- package/docs/reference/EVENTS.md +188 -0
- package/docs/reference/PERMISSION_RULES.md +55 -0
- package/docs/reference/dto/AUTHENTICATE.md +619 -0
- package/docs/reference/dto/CHARACTER_PLAYER.md +3686 -0
- package/docs/reference/dto/CLOUDSCRIPT.md +400 -0
- package/docs/reference/dto/CONTENT.md +548 -0
- package/docs/reference/dto/DASHBOARD.md +1980 -0
- package/docs/reference/dto/GAME_PLAYER.md +3631 -0
- package/docs/reference/dto/GENERIC.md +151 -0
- package/docs/reference/dto/GROUP.md +2842 -0
- package/docs/reference/dto/INVENTORY.md +2385 -0
- package/docs/reference/dto/MASTER_PLAYER.md +6024 -0
- package/docs/reference/dto/MULTIPLAYER.md +850 -0
- package/docs/reference/dto/STORE_INVENTORY.md +1262 -0
- package/llms.txt +47 -0
- package/package.json +12 -3
- package/GNServerSettings.debug.json +0 -21
- package/docs/COCOS_CREATOR_INTEGRATION.md +0 -116
- package/examples/cocos-creator/GearNExample.ts.txt +0 -176
- package/srcSwift/Package.swift +0 -32
- package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +0 -530
- package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +0 -178
- package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +0 -1162
- package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +0 -154
- package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +0 -208
- package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +0 -240
- package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +0 -1369
- package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +0 -1100
- package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +0 -937
- package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +0 -2323
- package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +0 -298
- package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +0 -397
- package/srcSwift/Sources/GearN/runtime/common/Action0.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action1.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action2.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action3.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/Action4.swift +0 -3
- package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +0 -204
- package/srcSwift/Sources/GearN/runtime/common/GNData.swift +0 -108
- package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +0 -200
- package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +0 -95
- package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +0 -28
- package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +0 -10
- package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +0 -252
- package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +0 -19
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +0 -8
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +0 -8
- package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +0 -19
- package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +0 -7
- package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +0 -10
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +0 -7
- package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +0 -16
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +0 -6
- package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +0 -58
- package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +0 -672
- package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +0 -196
- package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +0 -9
- package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +0 -11
- package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +0 -38
- package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +0 -28
- package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +0 -62
- package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +0 -98
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +0 -351
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +0 -81
- package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +0 -108
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +0 -1045
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +0 -821
- package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +0 -588
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +0 -187
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +0 -84
- package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +0 -59
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +0 -195
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +0 -116
- package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +0 -81
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +0 -426
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +0 -160
- package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +0 -82
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +0 -1334
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +0 -643
- package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +0 -213
- package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +0 -171
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +0 -850
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +0 -485
- package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +0 -165
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +0 -679
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +0 -413
- package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +0 -141
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +0 -378
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +0 -147
- package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +0 -318
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +0 -319
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +0 -125
- package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +0 -45
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +0 -633
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +0 -173
- package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +0 -61
- package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +0 -42
- package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +0 -49
- package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +0 -43
- package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +0 -86
- package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +0 -15
- package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +0 -107
- package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +0 -98
- package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +0 -34
- package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +0 -41
- package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +0 -66
- package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +0 -21
- package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +0 -29
- package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +0 -33
- package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +0 -24
- package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +0 -8
- package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +0 -368
- package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +0 -81
- package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +0 -228
- package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +0 -20
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +0 -226
- package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +0 -24
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +0 -13
- package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +0 -125
- package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +0 -19
- package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +0 -13
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +0 -244
- package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +0 -59
- package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +0 -136
- package/tsconfig-build.cocos.json +0 -31
- package/webpack.config.cocos.mjs +0 -78
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
import { GenericModels } from "./GenericModels";
|
|
2
|
+
/**
|
|
3
|
+
* Reusable request and response DTOs for the GamePlayer domain.
|
|
4
|
+
*
|
|
5
|
+
* GamePlayer operations target the **account-level** player
|
|
6
|
+
* record — the per-game profile that sits between the master
|
|
7
|
+
* player and the per-character profiles. The DTOs here are
|
|
8
|
+
* organised into three role variants:
|
|
9
|
+
*
|
|
10
|
+
* - **Client variants** (no prefix): routed through
|
|
11
|
+
* `GNNetwork.gamePlayer`, target the authenticated user. The
|
|
12
|
+
* `userId` is implicit (taken from the cached
|
|
13
|
+
* {@link AuthenticateStatus}) so most client-flavour DTOs
|
|
14
|
+
* either omit it or expose only a small filtered slice.
|
|
15
|
+
* - **`Server*` variants**: routed through
|
|
16
|
+
* `GNNetwork.gamePlayer.server`. Always require an explicit
|
|
17
|
+
* `userId` so a trusted backend can act on behalf of an
|
|
18
|
+
* arbitrary player.
|
|
19
|
+
* - **`Admin*` variants**: routed through
|
|
20
|
+
* `GNNetwork.gamePlayer.admin`. Same shape as `Server*` plus
|
|
21
|
+
* any extra knobs the backend exposes only to admin tokens
|
|
22
|
+
* (forced overrides, bypass-validation flags, ...).
|
|
23
|
+
*
|
|
24
|
+
* Validation rules declared on each `@*DataMember` decorator
|
|
25
|
+
* (`mustNonNull`, `minLength`, `maxLength`, `minValue`,
|
|
26
|
+
* `maxValue`) are enforced server-side; failures surface as
|
|
27
|
+
* {@link InvalidMember} entries on the response with the
|
|
28
|
+
* matching {@link InvalidMemberType}.
|
|
29
|
+
*/
|
|
2
30
|
export declare namespace GamePlayerModels {
|
|
31
|
+
/**
|
|
32
|
+
* Selects which optional game-player fields and lightweight relations should be returned.
|
|
33
|
+
* Boolean flags default to `false`; key arrays narrow list-style fields to specific keys only.
|
|
34
|
+
*/
|
|
3
35
|
class InfoRequestParam {
|
|
4
36
|
segments?: boolean;
|
|
5
37
|
customDatas?: boolean;
|
|
@@ -14,91 +46,200 @@ export declare namespace GamePlayerModels {
|
|
|
14
46
|
ipAddressCreate?: boolean;
|
|
15
47
|
countryCode?: boolean;
|
|
16
48
|
tsLastLogin?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Includes relation items for characters owned by the player, optionally filtered by `characterCatalogIds`.
|
|
51
|
+
*/
|
|
17
52
|
playerCharacters?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Includes relation items for inventory owned by the player, optionally filtered by `itemCatalogIds`.
|
|
55
|
+
*/
|
|
18
56
|
playerInventories?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Includes relation items for groups joined or owned by the player, optionally filtered by `groupCatalogIds`.
|
|
59
|
+
*/
|
|
19
60
|
playerGroups?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Includes the player's online status, if supported by the connected game server
|
|
63
|
+
*/
|
|
64
|
+
onlineStatus?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Includes relation items for friends attached to the player, optionally filtered by `friendCatalogIds`.
|
|
67
|
+
*/
|
|
20
68
|
playerFriends?: boolean;
|
|
21
69
|
playerDataKeys?: Array<string>;
|
|
22
70
|
playerCurrencyKeys?: Array<string>;
|
|
23
71
|
playerStatisticsKeys?: Array<string>;
|
|
24
72
|
customDataKeys?: Array<string>;
|
|
25
73
|
tagKeys?: Array<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Restricts `playerCharacters` to relation items whose catalog IDs match this list.
|
|
76
|
+
*/
|
|
26
77
|
characterCatalogIds?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Restricts `playerInventories` to relation items whose catalog IDs match this list.
|
|
80
|
+
*/
|
|
27
81
|
itemCatalogIds?: Array<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Restricts `playerGroups` to relation items whose catalog IDs match this list.
|
|
84
|
+
*/
|
|
28
85
|
groupCatalogIds?: Array<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Restricts `playerFriends` to relation items whose catalog IDs match this list.
|
|
88
|
+
*/
|
|
29
89
|
friendCatalogIds?: Array<string>;
|
|
30
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Defines the reusable parameter block CustomDataParam.
|
|
93
|
+
*/
|
|
31
94
|
class CustomDataParam {
|
|
32
95
|
key: string;
|
|
33
96
|
value: any;
|
|
34
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* Describes one game-player member included when creating a group.
|
|
100
|
+
*/
|
|
35
101
|
class GroupMemberParam {
|
|
36
102
|
userId: string;
|
|
37
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Defines the reusable parameter block PlayerCurrencyParam.
|
|
106
|
+
*/
|
|
38
107
|
class PlayerCurrencyParam {
|
|
39
108
|
key: string;
|
|
40
109
|
amount: number;
|
|
41
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* Defines the reusable parameter block PlayerDataParam.
|
|
113
|
+
*/
|
|
42
114
|
class PlayerDataParam {
|
|
43
115
|
key: string;
|
|
44
116
|
value: any;
|
|
45
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Defines the reusable parameter block PlayerStatisticsParam.
|
|
120
|
+
*/
|
|
46
121
|
class PlayerStatisticsParam {
|
|
47
122
|
key: string;
|
|
48
123
|
value: number;
|
|
49
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* Creates a friend relation between the current or target game player and another game player.
|
|
127
|
+
*/
|
|
50
128
|
class AddPlayerFriendRequestData {
|
|
129
|
+
/**
|
|
130
|
+
* Optional self-target shortcut on the client route.
|
|
131
|
+
*/
|
|
51
132
|
userId?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Target friend user ID.
|
|
135
|
+
*/
|
|
52
136
|
friendId: string;
|
|
137
|
+
/**
|
|
138
|
+
* Friend catalog used to create the relation record.
|
|
139
|
+
*/
|
|
53
140
|
catalogId: string;
|
|
54
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Defines the request payload for ServerAddPlayerFriend.
|
|
144
|
+
*/
|
|
55
145
|
class ServerAddPlayerFriendRequestData extends AddPlayerFriendRequestData {
|
|
56
146
|
userId: string;
|
|
57
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* Defines the request payload for AdminAddPlayerFriend.
|
|
150
|
+
*/
|
|
58
151
|
class AdminAddPlayerFriendRequestData extends ServerAddPlayerFriendRequestData {
|
|
59
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* Defines the request payload for AddSegment.
|
|
155
|
+
*/
|
|
60
156
|
class AddSegmentRequestData {
|
|
61
157
|
userId?: string;
|
|
62
158
|
value: string;
|
|
63
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Defines the request payload for ServerAddSegment.
|
|
162
|
+
*/
|
|
64
163
|
class ServerAddSegmentRequestData extends AddSegmentRequestData {
|
|
65
164
|
userId: string;
|
|
66
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Defines the request payload for AdminAddSegment.
|
|
168
|
+
*/
|
|
67
169
|
class AdminAddSegmentRequestData extends ServerAddSegmentRequestData {
|
|
68
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Defines the request payload for GetAvatar.
|
|
173
|
+
*/
|
|
69
174
|
class GetAvatarRequestData {
|
|
70
175
|
userId?: string;
|
|
71
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Defines the request payload for ServerGetAvatar.
|
|
179
|
+
*/
|
|
72
180
|
class ServerGetAvatarRequestData extends GetAvatarRequestData {
|
|
73
181
|
userId: string;
|
|
74
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* Defines the request payload for AdminGetAvatar.
|
|
185
|
+
*/
|
|
75
186
|
class AdminGetAvatarRequestData extends ServerGetAvatarRequestData {
|
|
76
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* Defines the request payload for GetCountryCode.
|
|
190
|
+
*/
|
|
77
191
|
class GetCountryCodeRequestData {
|
|
78
192
|
userId?: string;
|
|
79
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* Defines the request payload for ServerGetCountryCode.
|
|
196
|
+
*/
|
|
80
197
|
class ServerGetCountryCodeRequestData extends GetCountryCodeRequestData {
|
|
81
198
|
userId: string;
|
|
82
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Defines the request payload for AdminGetCountryCode.
|
|
202
|
+
*/
|
|
83
203
|
class AdminGetCountryCodeRequestData extends ServerGetCountryCodeRequestData {
|
|
84
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* Defines the request payload for GetCustomData.
|
|
207
|
+
*/
|
|
85
208
|
class GetCustomDataRequestData {
|
|
86
209
|
userId?: string;
|
|
87
210
|
customDataKeys?: Array<string>;
|
|
88
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Defines the request payload for ServerGetCustomData.
|
|
214
|
+
*/
|
|
89
215
|
class ServerGetCustomDataRequestData extends GetCustomDataRequestData {
|
|
90
216
|
userId: string;
|
|
91
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* Defines the request payload for AdminGetCustomData.
|
|
220
|
+
*/
|
|
92
221
|
class AdminGetCustomDataRequestData extends ServerGetCustomDataRequestData {
|
|
93
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* Defines the request payload for GetDisplayName.
|
|
225
|
+
*/
|
|
94
226
|
class GetDisplayNameRequestData {
|
|
95
227
|
userId?: string;
|
|
96
228
|
}
|
|
229
|
+
/**
|
|
230
|
+
* Defines the request payload for ServerGetDisplayName.
|
|
231
|
+
*/
|
|
97
232
|
class ServerGetDisplayNameRequestData extends GetDisplayNameRequestData {
|
|
98
233
|
userId: string;
|
|
99
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
* Defines the request payload for AdminGetDisplayName.
|
|
237
|
+
*/
|
|
100
238
|
class AdminGetDisplayNameRequestData extends ServerGetDisplayNameRequestData {
|
|
101
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* Defines the request payload for GetFriendStatisticsLeaderboardAroundPlayer.
|
|
242
|
+
*/
|
|
102
243
|
class GetFriendStatisticsLeaderboardAroundPlayerRequestData {
|
|
103
244
|
userId?: string;
|
|
104
245
|
key: string;
|
|
@@ -107,11 +248,20 @@ export declare namespace GamePlayerModels {
|
|
|
107
248
|
limit?: number;
|
|
108
249
|
loadFromCache?: boolean;
|
|
109
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Defines the request payload for ServerGetFriendStatisticsLeaderboardAroundPlayer.
|
|
253
|
+
*/
|
|
110
254
|
class ServerGetFriendStatisticsLeaderboardAroundPlayerRequestData extends GetFriendStatisticsLeaderboardAroundPlayerRequestData {
|
|
111
255
|
userId: string;
|
|
112
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* Defines the request payload for AdminGetFriendStatisticsLeaderboardAroundPlayer.
|
|
259
|
+
*/
|
|
113
260
|
class AdminGetFriendStatisticsLeaderboardAroundPlayerRequestData extends ServerGetFriendStatisticsLeaderboardAroundPlayerRequestData {
|
|
114
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* Defines the request payload for GetFriendStatisticsLeaderboard.
|
|
264
|
+
*/
|
|
115
265
|
class GetFriendStatisticsLeaderboardRequestData {
|
|
116
266
|
userId?: string;
|
|
117
267
|
key: string;
|
|
@@ -120,128 +270,264 @@ export declare namespace GamePlayerModels {
|
|
|
120
270
|
limit?: number;
|
|
121
271
|
loadFromCache?: boolean;
|
|
122
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* Defines the request payload for ServerGetFriendStatisticsLeaderboard.
|
|
275
|
+
*/
|
|
123
276
|
class ServerGetFriendStatisticsLeaderboardRequestData extends GetFriendStatisticsLeaderboardRequestData {
|
|
124
277
|
userId: string;
|
|
125
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* Defines the request payload for AdminGetFriendStatisticsLeaderboard.
|
|
281
|
+
*/
|
|
126
282
|
class AdminGetFriendStatisticsLeaderboardRequestData extends ServerGetFriendStatisticsLeaderboardRequestData {
|
|
127
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* Defines the request payload for GetIpAddressCreate.
|
|
286
|
+
*/
|
|
128
287
|
class GetIpAddressCreateRequestData {
|
|
129
288
|
userId?: string;
|
|
130
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* Defines the request payload for ServerGetIpAddressCreate.
|
|
292
|
+
*/
|
|
131
293
|
class ServerGetIpAddressCreateRequestData extends GetIpAddressCreateRequestData {
|
|
132
294
|
userId: string;
|
|
133
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* Defines the request payload for AdminGetIpAddressCreate.
|
|
298
|
+
*/
|
|
134
299
|
class AdminGetIpAddressCreateRequestData extends ServerGetIpAddressCreateRequestData {
|
|
135
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* Defines the request payload for GetOnlineStatus.
|
|
303
|
+
*/
|
|
136
304
|
class GetOnlineStatusRequestData {
|
|
137
305
|
userId?: string;
|
|
138
306
|
}
|
|
307
|
+
/**
|
|
308
|
+
* Defines the request payload for ServerGetOnlineStatus.
|
|
309
|
+
*/
|
|
139
310
|
class ServerGetOnlineStatusRequestData extends GetOnlineStatusRequestData {
|
|
140
311
|
userId: string;
|
|
141
312
|
}
|
|
313
|
+
/**
|
|
314
|
+
* Defines the request payload for AdminGetOnlineStatus.
|
|
315
|
+
*/
|
|
142
316
|
class AdminGetOnlineStatusRequestData extends ServerGetOnlineStatusRequestData {
|
|
143
317
|
}
|
|
318
|
+
/**
|
|
319
|
+
* Defines the request payload for GetPlayerBan.
|
|
320
|
+
*/
|
|
144
321
|
class GetPlayerBanRequestData {
|
|
145
322
|
userId?: string;
|
|
146
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* Defines the request payload for ServerGetPlayerBan.
|
|
326
|
+
*/
|
|
147
327
|
class ServerGetPlayerBanRequestData extends GetPlayerBanRequestData {
|
|
148
328
|
userId: string;
|
|
149
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* Defines the request payload for AdminGetPlayerBan.
|
|
332
|
+
*/
|
|
150
333
|
class AdminGetPlayerBanRequestData extends ServerGetPlayerBanRequestData {
|
|
151
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* Defines the request payload for GetPlayerCharacter.
|
|
337
|
+
*/
|
|
152
338
|
class GetPlayerCharacterRequestData {
|
|
153
339
|
userId?: string;
|
|
154
340
|
characterCatalogIds?: Array<string>;
|
|
155
341
|
}
|
|
342
|
+
/**
|
|
343
|
+
* Defines the request payload for ServerGetPlayerCharacter.
|
|
344
|
+
*/
|
|
156
345
|
class ServerGetPlayerCharacterRequestData extends GetPlayerCharacterRequestData {
|
|
157
346
|
userId: string;
|
|
158
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Defines the request payload for AdminGetPlayerCharacter.
|
|
350
|
+
*/
|
|
159
351
|
class AdminGetPlayerCharacterRequestData extends ServerGetPlayerCharacterRequestData {
|
|
160
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* Defines the request payload for GetPlayerCurrency.
|
|
355
|
+
*/
|
|
161
356
|
class GetPlayerCurrencyRequestData {
|
|
162
357
|
userId?: string;
|
|
163
358
|
playerCurrencyKeys?: Array<string>;
|
|
164
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* Defines the request payload for ServerGetPlayerCurrency.
|
|
362
|
+
*/
|
|
165
363
|
class ServerGetPlayerCurrencyRequestData extends GetPlayerCurrencyRequestData {
|
|
166
364
|
userId: string;
|
|
167
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* Defines the request payload for AdminGetPlayerCurrency.
|
|
368
|
+
*/
|
|
168
369
|
class AdminGetPlayerCurrencyRequestData extends ServerGetPlayerCurrencyRequestData {
|
|
169
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* Defines the request payload for GetPlayerData.
|
|
373
|
+
*/
|
|
170
374
|
class GetPlayerDataRequestData {
|
|
171
375
|
userId?: string;
|
|
172
376
|
playerDataKeys?: Array<string>;
|
|
173
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* Defines the request payload for ServerGetPlayerData.
|
|
380
|
+
*/
|
|
174
381
|
class ServerGetPlayerDataRequestData extends GetPlayerDataRequestData {
|
|
175
382
|
userId: string;
|
|
176
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* Defines the request payload for AdminGetPlayerData.
|
|
386
|
+
*/
|
|
177
387
|
class AdminGetPlayerDataRequestData extends ServerGetPlayerDataRequestData {
|
|
178
388
|
}
|
|
389
|
+
/**
|
|
390
|
+
* Defines the request payload for GetPlayerFriend.
|
|
391
|
+
*/
|
|
179
392
|
class GetPlayerFriendRequestData {
|
|
180
393
|
userId?: string;
|
|
181
394
|
friendCatalogIds?: Array<string>;
|
|
182
395
|
}
|
|
396
|
+
/**
|
|
397
|
+
* Defines the request payload for ServerGetPlayerFriend.
|
|
398
|
+
*/
|
|
183
399
|
class ServerGetPlayerFriendRequestData extends GetPlayerFriendRequestData {
|
|
184
400
|
userId: string;
|
|
185
401
|
}
|
|
402
|
+
/**
|
|
403
|
+
* Defines the request payload for AdminGetPlayerFriend.
|
|
404
|
+
*/
|
|
186
405
|
class AdminGetPlayerFriendRequestData extends ServerGetPlayerFriendRequestData {
|
|
187
406
|
}
|
|
407
|
+
/**
|
|
408
|
+
* Defines the request payload for GetPlayerGroup.
|
|
409
|
+
*/
|
|
188
410
|
class GetPlayerGroupRequestData {
|
|
189
411
|
userId?: string;
|
|
190
412
|
groupCatalogIds?: Array<string>;
|
|
191
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* Defines the request payload for ServerGetPlayerGroup.
|
|
416
|
+
*/
|
|
192
417
|
class ServerGetPlayerGroupRequestData extends GetPlayerGroupRequestData {
|
|
193
418
|
userId: string;
|
|
194
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* Defines the request payload for AdminGetPlayerGroup.
|
|
422
|
+
*/
|
|
195
423
|
class AdminGetPlayerGroupRequestData extends ServerGetPlayerGroupRequestData {
|
|
196
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* Reads the current or target game-player profile using the requested projection.
|
|
427
|
+
* On the client route, omit `userId` to target the authenticated player itself.
|
|
428
|
+
*/
|
|
197
429
|
class GetPlayerInformationRequestData {
|
|
430
|
+
/**
|
|
431
|
+
* Optional self-target shortcut on the client route.
|
|
432
|
+
*/
|
|
198
433
|
userId?: string;
|
|
434
|
+
/**
|
|
435
|
+
* Required field projection that controls which optional data is returned.
|
|
436
|
+
*/
|
|
199
437
|
infoRequestParam: InfoRequestParam;
|
|
200
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* Reads a specific target game player on a trusted route.
|
|
441
|
+
*/
|
|
201
442
|
class ServerGetPlayerInformationRequestData extends GetPlayerInformationRequestData {
|
|
202
443
|
userId: string;
|
|
444
|
+
/**
|
|
445
|
+
* Allows the backend to create the missing game-player record before returning it.
|
|
446
|
+
*/
|
|
203
447
|
createPlayerIfNotExists?: boolean;
|
|
204
448
|
}
|
|
449
|
+
/**
|
|
450
|
+
* Defines the request payload for AdminGetPlayerInformation.
|
|
451
|
+
*/
|
|
205
452
|
class AdminGetPlayerInformationRequestData extends ServerGetPlayerInformationRequestData {
|
|
206
453
|
}
|
|
454
|
+
/**
|
|
455
|
+
* Defines the request payload for GetPlayerInventory.
|
|
456
|
+
*/
|
|
207
457
|
class GetPlayerInventoryRequestData {
|
|
208
458
|
userId?: string;
|
|
209
459
|
itemCatalogIds?: Array<string>;
|
|
210
460
|
}
|
|
461
|
+
/**
|
|
462
|
+
* Defines the request payload for ServerGetPlayerInventory.
|
|
463
|
+
*/
|
|
211
464
|
class ServerGetPlayerInventoryRequestData extends GetPlayerInventoryRequestData {
|
|
212
465
|
userId: string;
|
|
213
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* Defines the request payload for AdminGetPlayerInventory.
|
|
469
|
+
*/
|
|
214
470
|
class AdminGetPlayerInventoryRequestData extends ServerGetPlayerInventoryRequestData {
|
|
215
471
|
}
|
|
472
|
+
/**
|
|
473
|
+
* Defines the request payload for GetPlayerStatistics.
|
|
474
|
+
*/
|
|
216
475
|
class GetPlayerStatisticsRequestData {
|
|
217
476
|
userId?: string;
|
|
218
477
|
statisticsKeys?: Array<string>;
|
|
219
478
|
}
|
|
479
|
+
/**
|
|
480
|
+
* Defines the request payload for ServerGetPlayerStatistics.
|
|
481
|
+
*/
|
|
220
482
|
class ServerGetPlayerStatisticsRequestData extends GetPlayerStatisticsRequestData {
|
|
221
483
|
userId: string;
|
|
222
484
|
}
|
|
485
|
+
/**
|
|
486
|
+
* Defines the request payload for AdminGetPlayerStatistics.
|
|
487
|
+
*/
|
|
223
488
|
class AdminGetPlayerStatisticsRequestData extends ServerGetPlayerStatisticsRequestData {
|
|
224
489
|
}
|
|
490
|
+
/**
|
|
491
|
+
* Defines the request payload for GetPlayersWithDisplayName.
|
|
492
|
+
*/
|
|
225
493
|
class GetPlayersWithDisplayNameRequestData {
|
|
226
494
|
keyword: string;
|
|
227
495
|
infoRequestParam: InfoRequestParam;
|
|
228
496
|
skip?: number;
|
|
229
497
|
limit?: number;
|
|
230
498
|
}
|
|
499
|
+
/**
|
|
500
|
+
* Defines the request payload for ServerGetPlayersWithDisplayName.
|
|
501
|
+
*/
|
|
231
502
|
class ServerGetPlayersWithDisplayNameRequestData extends GetPlayersWithDisplayNameRequestData {
|
|
232
503
|
}
|
|
504
|
+
/**
|
|
505
|
+
* Defines the request payload for AdminGetPlayersWithDisplayName.
|
|
506
|
+
*/
|
|
233
507
|
class AdminGetPlayersWithDisplayNameRequestData extends ServerGetPlayersWithDisplayNameRequestData {
|
|
234
508
|
}
|
|
509
|
+
/**
|
|
510
|
+
* Defines the request payload for GetPlayersWithSegment.
|
|
511
|
+
*/
|
|
235
512
|
class GetPlayersWithSegmentRequestData {
|
|
236
513
|
value: string;
|
|
237
514
|
infoRequestParam: InfoRequestParam;
|
|
238
515
|
skip?: number;
|
|
239
516
|
limit?: number;
|
|
240
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* Defines the request payload for ServerGetPlayersWithSegment.
|
|
520
|
+
*/
|
|
241
521
|
class ServerGetPlayersWithSegmentRequestData extends GetPlayersWithSegmentRequestData {
|
|
242
522
|
}
|
|
523
|
+
/**
|
|
524
|
+
* Defines the request payload for AdminGetPlayersWithSegment.
|
|
525
|
+
*/
|
|
243
526
|
class AdminGetPlayersWithSegmentRequestData extends ServerGetPlayersWithSegmentRequestData {
|
|
244
527
|
}
|
|
528
|
+
/**
|
|
529
|
+
* Defines the request payload for GetPlayersWithTag.
|
|
530
|
+
*/
|
|
245
531
|
class GetPlayersWithTagRequestData {
|
|
246
532
|
key: string;
|
|
247
533
|
value: string;
|
|
@@ -249,18 +535,36 @@ export declare namespace GamePlayerModels {
|
|
|
249
535
|
skip?: number;
|
|
250
536
|
limit?: number;
|
|
251
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Defines the request payload for ServerGetPlayersWithTag.
|
|
540
|
+
*/
|
|
252
541
|
class ServerGetPlayersWithTagRequestData extends GetPlayersWithTagRequestData {
|
|
253
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
* Defines the request payload for AdminGetPlayersWithTag.
|
|
545
|
+
*/
|
|
254
546
|
class AdminGetPlayersWithTagRequestData extends ServerGetPlayersWithTagRequestData {
|
|
255
547
|
}
|
|
548
|
+
/**
|
|
549
|
+
* Defines the request payload for GetSegment.
|
|
550
|
+
*/
|
|
256
551
|
class GetSegmentRequestData {
|
|
257
552
|
userId?: string;
|
|
258
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* Defines the request payload for ServerGetSegment.
|
|
556
|
+
*/
|
|
259
557
|
class ServerGetSegmentRequestData extends GetSegmentRequestData {
|
|
260
558
|
userId: string;
|
|
261
559
|
}
|
|
560
|
+
/**
|
|
561
|
+
* Defines the request payload for AdminGetSegment.
|
|
562
|
+
*/
|
|
262
563
|
class AdminGetSegmentRequestData extends ServerGetSegmentRequestData {
|
|
263
564
|
}
|
|
565
|
+
/**
|
|
566
|
+
* Defines the request payload for GetStatisticsLeaderboardAroundPlayer.
|
|
567
|
+
*/
|
|
264
568
|
class GetStatisticsLeaderboardAroundPlayerRequestData {
|
|
265
569
|
userId?: string;
|
|
266
570
|
key: string;
|
|
@@ -269,11 +573,20 @@ export declare namespace GamePlayerModels {
|
|
|
269
573
|
limit?: number;
|
|
270
574
|
loadFromCache?: boolean;
|
|
271
575
|
}
|
|
576
|
+
/**
|
|
577
|
+
* Defines the request payload for ServerGetStatisticsLeaderboardAroundPlayer.
|
|
578
|
+
*/
|
|
272
579
|
class ServerGetStatisticsLeaderboardAroundPlayerRequestData extends GetStatisticsLeaderboardAroundPlayerRequestData {
|
|
273
580
|
userId: string;
|
|
274
581
|
}
|
|
582
|
+
/**
|
|
583
|
+
* Defines the request payload for AdminGetStatisticsLeaderboardAroundPlayer.
|
|
584
|
+
*/
|
|
275
585
|
class AdminGetStatisticsLeaderboardAroundPlayerRequestData extends ServerGetStatisticsLeaderboardAroundPlayerRequestData {
|
|
276
586
|
}
|
|
587
|
+
/**
|
|
588
|
+
* Defines the request payload for GetStatisticsLeaderboard.
|
|
589
|
+
*/
|
|
277
590
|
class GetStatisticsLeaderboardRequestData {
|
|
278
591
|
key: string;
|
|
279
592
|
infoRequestParam: InfoRequestParam;
|
|
@@ -282,67 +595,133 @@ export declare namespace GamePlayerModels {
|
|
|
282
595
|
loadFromCache?: boolean;
|
|
283
596
|
version?: string;
|
|
284
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* Defines the request payload for ServerGetStatisticsLeaderboard.
|
|
600
|
+
*/
|
|
285
601
|
class ServerGetStatisticsLeaderboardRequestData extends GetStatisticsLeaderboardRequestData {
|
|
286
602
|
}
|
|
603
|
+
/**
|
|
604
|
+
* Defines the request payload for AdminGetStatisticsLeaderboard.
|
|
605
|
+
*/
|
|
287
606
|
class AdminGetStatisticsLeaderboardRequestData extends ServerGetStatisticsLeaderboardRequestData {
|
|
288
607
|
}
|
|
608
|
+
/**
|
|
609
|
+
* Defines the request payload for GetCreateLeaderboard.
|
|
610
|
+
*/
|
|
289
611
|
class GetCreateLeaderboardRequestData {
|
|
290
612
|
infoRequestParam: InfoRequestParam;
|
|
291
613
|
skip?: number;
|
|
292
614
|
limit?: number;
|
|
293
615
|
loadFromCache?: boolean;
|
|
294
616
|
}
|
|
617
|
+
/**
|
|
618
|
+
* Defines the request payload for ServerGetCreateLeaderboard.
|
|
619
|
+
*/
|
|
295
620
|
class ServerGetCreateLeaderboardRequestData extends GetCreateLeaderboardRequestData {
|
|
296
621
|
}
|
|
622
|
+
/**
|
|
623
|
+
* Defines the request payload for AdminGetCreateLeaderboard.
|
|
624
|
+
*/
|
|
297
625
|
class AdminGetCreateLeaderboardRequestData extends ServerGetCreateLeaderboardRequestData {
|
|
298
626
|
}
|
|
627
|
+
/**
|
|
628
|
+
* Defines the request payload for GetTag.
|
|
629
|
+
*/
|
|
299
630
|
class GetTagRequestData {
|
|
300
631
|
userId?: string;
|
|
301
632
|
tagKeys: Array<string>;
|
|
302
633
|
}
|
|
634
|
+
/**
|
|
635
|
+
* Defines the request payload for ServerGetTag.
|
|
636
|
+
*/
|
|
303
637
|
class ServerGetTagRequestData extends GetTagRequestData {
|
|
304
638
|
userId: string;
|
|
305
639
|
}
|
|
640
|
+
/**
|
|
641
|
+
* Defines the request payload for AdminGetTag.
|
|
642
|
+
*/
|
|
306
643
|
class AdminGetTagRequestData extends ServerGetTagRequestData {
|
|
307
644
|
}
|
|
645
|
+
/**
|
|
646
|
+
* Defines the request payload for GetTsCreate.
|
|
647
|
+
*/
|
|
308
648
|
class GetTsCreateRequestData {
|
|
309
649
|
userId?: string;
|
|
310
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* Defines the request payload for ServerGetTsCreate.
|
|
653
|
+
*/
|
|
311
654
|
class ServerGetTsCreateRequestData extends GetTsCreateRequestData {
|
|
312
655
|
userId: string;
|
|
313
656
|
}
|
|
657
|
+
/**
|
|
658
|
+
* Defines the request payload for AdminGetTsCreate.
|
|
659
|
+
*/
|
|
314
660
|
class AdminGetTsCreateRequestData extends ServerGetTsCreateRequestData {
|
|
315
661
|
}
|
|
662
|
+
/**
|
|
663
|
+
* Defines the request payload for GetTsLastLogin.
|
|
664
|
+
*/
|
|
316
665
|
class GetTsLastLoginRequestData {
|
|
317
666
|
userId?: string;
|
|
318
667
|
}
|
|
668
|
+
/**
|
|
669
|
+
* Defines the request payload for ServerGetTsLastLogin.
|
|
670
|
+
*/
|
|
319
671
|
class ServerGetTsLastLoginRequestData extends GetTsLastLoginRequestData {
|
|
320
672
|
userId: string;
|
|
321
673
|
}
|
|
674
|
+
/**
|
|
675
|
+
* Defines the request payload for AdminGetTsLastLogin.
|
|
676
|
+
*/
|
|
322
677
|
class AdminGetTsLastLoginRequestData extends ServerGetTsLastLoginRequestData {
|
|
323
678
|
}
|
|
679
|
+
/**
|
|
680
|
+
* Creates a group owned by or attached to the current or target game player.
|
|
681
|
+
*/
|
|
324
682
|
class CreateGroupRequestData {
|
|
325
683
|
userId?: string;
|
|
326
684
|
catalogId: string;
|
|
685
|
+
/**
|
|
686
|
+
* Additional game-player members expressed as user IDs, not character IDs.
|
|
687
|
+
*/
|
|
327
688
|
groupMembers?: Array<GroupMemberParam>;
|
|
328
689
|
displayName?: string;
|
|
329
690
|
}
|
|
691
|
+
/**
|
|
692
|
+
* Defines the request payload for ServerCreateGroup.
|
|
693
|
+
*/
|
|
330
694
|
class ServerCreateGroupRequestData extends CreateGroupRequestData {
|
|
331
695
|
userId: string;
|
|
332
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* Defines the request payload for AdminCreateGroup.
|
|
699
|
+
*/
|
|
333
700
|
class AdminCreateGroupRequestData extends ServerCreateGroupRequestData {
|
|
334
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* Defines the request payload for CreatePlayerCharacter.
|
|
704
|
+
*/
|
|
335
705
|
class CreatePlayerCharacterRequestData {
|
|
336
706
|
userId?: string;
|
|
337
707
|
catalogId: string;
|
|
338
708
|
displayName?: string;
|
|
339
709
|
uniqueDisplayName?: boolean;
|
|
340
710
|
}
|
|
711
|
+
/**
|
|
712
|
+
* Defines the request payload for ServerCreatePlayerCharacter.
|
|
713
|
+
*/
|
|
341
714
|
class ServerCreatePlayerCharacterRequestData extends CreatePlayerCharacterRequestData {
|
|
342
715
|
userId: string;
|
|
343
716
|
}
|
|
717
|
+
/**
|
|
718
|
+
* Defines the request payload for AdminCreatePlayerCharacter.
|
|
719
|
+
*/
|
|
344
720
|
class AdminCreatePlayerCharacterRequestData extends ServerCreatePlayerCharacterRequestData {
|
|
345
721
|
}
|
|
722
|
+
/**
|
|
723
|
+
* Defines the request payload for CreatePlayerItem.
|
|
724
|
+
*/
|
|
346
725
|
class CreatePlayerItemRequestData {
|
|
347
726
|
userId?: string;
|
|
348
727
|
catalogId: string;
|
|
@@ -350,181 +729,366 @@ export declare namespace GamePlayerModels {
|
|
|
350
729
|
displayName?: string;
|
|
351
730
|
amount?: number;
|
|
352
731
|
}
|
|
732
|
+
/**
|
|
733
|
+
* Defines the request payload for ServerCreatePlayerItem.
|
|
734
|
+
*/
|
|
353
735
|
class ServerCreatePlayerItemRequestData extends CreatePlayerItemRequestData {
|
|
354
736
|
userId: string;
|
|
355
737
|
}
|
|
738
|
+
/**
|
|
739
|
+
* Defines the request payload for AdminCreatePlayerItem.
|
|
740
|
+
*/
|
|
356
741
|
class AdminCreatePlayerItemRequestData extends ServerCreatePlayerItemRequestData {
|
|
357
742
|
}
|
|
743
|
+
/**
|
|
744
|
+
* Defines the request payload for JoinGroup.
|
|
745
|
+
*/
|
|
358
746
|
class JoinGroupRequestData {
|
|
359
747
|
userId?: string;
|
|
360
748
|
groupId: string;
|
|
361
749
|
}
|
|
750
|
+
/**
|
|
751
|
+
* Defines the request payload for ServerJoinGroup.
|
|
752
|
+
*/
|
|
362
753
|
class ServerJoinGroupRequestData extends JoinGroupRequestData {
|
|
363
754
|
userId: string;
|
|
364
755
|
}
|
|
756
|
+
/**
|
|
757
|
+
* Defines the request payload for AdminJoinGroup.
|
|
758
|
+
*/
|
|
365
759
|
class AdminJoinGroupRequestData extends ServerJoinGroupRequestData {
|
|
366
760
|
}
|
|
761
|
+
/**
|
|
762
|
+
* Defines the request payload for LeaveGroup.
|
|
763
|
+
*/
|
|
367
764
|
class LeaveGroupRequestData {
|
|
368
765
|
userId?: string;
|
|
369
766
|
groupId: string;
|
|
370
767
|
}
|
|
768
|
+
/**
|
|
769
|
+
* Defines the request payload for ServerLeaveGroup.
|
|
770
|
+
*/
|
|
371
771
|
class ServerLeaveGroupRequestData extends LeaveGroupRequestData {
|
|
372
772
|
userId: string;
|
|
373
773
|
}
|
|
774
|
+
/**
|
|
775
|
+
* Defines the request payload for AdminLeaveGroup.
|
|
776
|
+
*/
|
|
374
777
|
class AdminLeaveGroupRequestData extends ServerLeaveGroupRequestData {
|
|
375
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
* Defines the request payload for RemovePlayerCharacter.
|
|
781
|
+
*/
|
|
376
782
|
class RemovePlayerCharacterRequestData {
|
|
377
783
|
userId?: string;
|
|
378
784
|
characterId: string;
|
|
379
785
|
}
|
|
786
|
+
/**
|
|
787
|
+
* Defines the request payload for ServerRemovePlayerCharacter.
|
|
788
|
+
*/
|
|
380
789
|
class ServerRemovePlayerCharacterRequestData extends RemovePlayerCharacterRequestData {
|
|
381
790
|
userId: string;
|
|
382
791
|
}
|
|
792
|
+
/**
|
|
793
|
+
* Defines the request payload for AdminRemovePlayerCharacter.
|
|
794
|
+
*/
|
|
383
795
|
class AdminRemovePlayerCharacterRequestData extends ServerRemovePlayerCharacterRequestData {
|
|
384
796
|
}
|
|
797
|
+
/**
|
|
798
|
+
* Defines the request payload for RemovePlayerFriend.
|
|
799
|
+
*/
|
|
385
800
|
class RemovePlayerFriendRequestData {
|
|
386
801
|
userId?: string;
|
|
387
802
|
friendId: string;
|
|
388
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
* Defines the request payload for ServerRemovePlayerFriend.
|
|
806
|
+
*/
|
|
389
807
|
class ServerRemovePlayerFriendRequestData extends RemovePlayerFriendRequestData {
|
|
390
808
|
userId: string;
|
|
391
809
|
}
|
|
810
|
+
/**
|
|
811
|
+
* Defines the request payload for AdminRemovePlayerFriend.
|
|
812
|
+
*/
|
|
392
813
|
class AdminRemovePlayerFriendRequestData extends ServerRemovePlayerFriendRequestData {
|
|
393
814
|
}
|
|
815
|
+
/**
|
|
816
|
+
* Defines the request payload for RemovePlayerItem.
|
|
817
|
+
*/
|
|
394
818
|
class RemovePlayerItemRequestData {
|
|
395
819
|
userId?: string;
|
|
396
820
|
itemId: string;
|
|
397
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* Defines the request payload for ServerRemovePlayerItem.
|
|
824
|
+
*/
|
|
398
825
|
class ServerRemovePlayerItemRequestData extends RemovePlayerItemRequestData {
|
|
399
826
|
userId: string;
|
|
400
827
|
}
|
|
828
|
+
/**
|
|
829
|
+
* Defines the request payload for AdminRemovePlayerItem.
|
|
830
|
+
*/
|
|
401
831
|
class AdminRemovePlayerItemRequestData extends ServerRemovePlayerItemRequestData {
|
|
402
832
|
}
|
|
833
|
+
/**
|
|
834
|
+
* Defines the request payload for RemoveSegment.
|
|
835
|
+
*/
|
|
403
836
|
class RemoveSegmentRequestData {
|
|
404
837
|
userId?: string;
|
|
405
838
|
value: string;
|
|
406
839
|
}
|
|
840
|
+
/**
|
|
841
|
+
* Defines the request payload for ServerRemoveSegment.
|
|
842
|
+
*/
|
|
407
843
|
class ServerRemoveSegmentRequestData extends RemoveSegmentRequestData {
|
|
408
844
|
userId: string;
|
|
409
845
|
}
|
|
846
|
+
/**
|
|
847
|
+
* Defines the request payload for AdminRemoveSegment.
|
|
848
|
+
*/
|
|
410
849
|
class AdminRemoveSegmentRequestData extends ServerRemoveSegmentRequestData {
|
|
411
850
|
}
|
|
851
|
+
/**
|
|
852
|
+
* Defines the request payload for RemoveTag.
|
|
853
|
+
*/
|
|
412
854
|
class RemoveTagRequestData {
|
|
413
855
|
userId?: string;
|
|
414
856
|
key: string;
|
|
415
857
|
}
|
|
858
|
+
/**
|
|
859
|
+
* Defines the request payload for ServerRemoveTag.
|
|
860
|
+
*/
|
|
416
861
|
class ServerRemoveTagRequestData extends RemoveTagRequestData {
|
|
417
862
|
userId: string;
|
|
418
863
|
}
|
|
864
|
+
/**
|
|
865
|
+
* Defines the request payload for AdminRemoveTag.
|
|
866
|
+
*/
|
|
419
867
|
class AdminRemoveTagRequestData extends ServerRemoveTagRequestData {
|
|
420
868
|
}
|
|
869
|
+
/**
|
|
870
|
+
* Defines the request payload for SetAvatar.
|
|
871
|
+
*/
|
|
421
872
|
class SetAvatarRequestData {
|
|
422
873
|
userId?: string;
|
|
423
874
|
type: number;
|
|
424
875
|
value: string;
|
|
425
876
|
}
|
|
877
|
+
/**
|
|
878
|
+
* Defines the request payload for ServerSetAvatar.
|
|
879
|
+
*/
|
|
426
880
|
class ServerSetAvatarRequestData extends SetAvatarRequestData {
|
|
427
881
|
userId: string;
|
|
428
882
|
}
|
|
883
|
+
/**
|
|
884
|
+
* Defines the request payload for AdminSetAvatar.
|
|
885
|
+
*/
|
|
429
886
|
class AdminSetAvatarRequestData extends ServerSetAvatarRequestData {
|
|
430
887
|
}
|
|
888
|
+
/**
|
|
889
|
+
* Defines the request payload for SetCountryCode.
|
|
890
|
+
*/
|
|
431
891
|
class SetCountryCodeRequestData {
|
|
432
892
|
userId?: string;
|
|
433
893
|
countryCode: string;
|
|
434
894
|
}
|
|
895
|
+
/**
|
|
896
|
+
* Defines the request payload for ServerSetCountryCode.
|
|
897
|
+
*/
|
|
435
898
|
class ServerSetCountryCodeRequestData extends SetCountryCodeRequestData {
|
|
436
899
|
userId: string;
|
|
437
900
|
}
|
|
901
|
+
/**
|
|
902
|
+
* Defines the request payload for AdminSetCountryCode.
|
|
903
|
+
*/
|
|
438
904
|
class AdminSetCountryCodeRequestData extends ServerSetCountryCodeRequestData {
|
|
439
905
|
}
|
|
906
|
+
/**
|
|
907
|
+
* Defines the request payload for SetCustomData.
|
|
908
|
+
*/
|
|
440
909
|
class SetCustomDataRequestData {
|
|
441
910
|
userId?: string;
|
|
442
911
|
customDatas: Array<CustomDataParam>;
|
|
443
912
|
}
|
|
913
|
+
/**
|
|
914
|
+
* Defines the request payload for ServerSetCustomData.
|
|
915
|
+
*/
|
|
444
916
|
class ServerSetCustomDataRequestData extends SetCustomDataRequestData {
|
|
445
917
|
userId: string;
|
|
446
918
|
}
|
|
919
|
+
/**
|
|
920
|
+
* Defines the request payload for AdminSetCustomData.
|
|
921
|
+
*/
|
|
447
922
|
class AdminSetCustomDataRequestData extends ServerSetCustomDataRequestData {
|
|
448
923
|
}
|
|
924
|
+
/**
|
|
925
|
+
* Defines the request payload for SetDisplayName.
|
|
926
|
+
*/
|
|
449
927
|
class SetDisplayNameRequestData {
|
|
450
928
|
userId?: string;
|
|
451
929
|
displayName: string;
|
|
452
930
|
uniqueDisplayName?: boolean;
|
|
453
931
|
}
|
|
932
|
+
/**
|
|
933
|
+
* Defines the request payload for ServerSetDisplayName.
|
|
934
|
+
*/
|
|
454
935
|
class ServerSetDisplayNameRequestData extends SetDisplayNameRequestData {
|
|
455
936
|
userId: string;
|
|
456
937
|
}
|
|
938
|
+
/**
|
|
939
|
+
* Defines the request payload for AdminSetDisplayName.
|
|
940
|
+
*/
|
|
457
941
|
class AdminSetDisplayNameRequestData extends ServerSetDisplayNameRequestData {
|
|
458
942
|
}
|
|
943
|
+
/**
|
|
944
|
+
* Defines the request payload for SetPlayerBan.
|
|
945
|
+
*/
|
|
459
946
|
class SetPlayerBanRequestData {
|
|
460
947
|
userId?: string;
|
|
461
948
|
tsExpire: number;
|
|
462
949
|
reason: string;
|
|
463
950
|
}
|
|
951
|
+
/**
|
|
952
|
+
* Defines the request payload for ServerSetPlayerBan.
|
|
953
|
+
*/
|
|
464
954
|
class ServerSetPlayerBanRequestData extends SetPlayerBanRequestData {
|
|
465
955
|
userId: string;
|
|
466
956
|
}
|
|
957
|
+
/**
|
|
958
|
+
* Defines the request payload for AdminSetPlayerBan.
|
|
959
|
+
*/
|
|
467
960
|
class AdminSetPlayerBanRequestData extends ServerSetPlayerBanRequestData {
|
|
468
961
|
}
|
|
962
|
+
/**
|
|
963
|
+
* Defines the request payload for ChangePlayerCurrency.
|
|
964
|
+
*/
|
|
469
965
|
class ChangePlayerCurrencyRequestData {
|
|
470
966
|
userId?: string;
|
|
471
967
|
playerCurrencies: Array<PlayerCurrencyParam>;
|
|
472
968
|
log?: string;
|
|
473
969
|
}
|
|
970
|
+
/**
|
|
971
|
+
* Defines the request payload for ServerChangePlayerCurrency.
|
|
972
|
+
*/
|
|
474
973
|
class ServerChangePlayerCurrencyRequestData extends ChangePlayerCurrencyRequestData {
|
|
475
974
|
userId: string;
|
|
476
975
|
}
|
|
976
|
+
/**
|
|
977
|
+
* Defines the request payload for AdminChangePlayerCurrency.
|
|
978
|
+
*/
|
|
477
979
|
class AdminChangePlayerCurrencyRequestData extends ServerChangePlayerCurrencyRequestData {
|
|
478
980
|
}
|
|
981
|
+
/**
|
|
982
|
+
* Defines the request payload for SetPlayerData.
|
|
983
|
+
*/
|
|
479
984
|
class SetPlayerDataRequestData {
|
|
480
985
|
userId?: string;
|
|
481
986
|
playerDatas: Array<PlayerDataParam>;
|
|
482
987
|
}
|
|
988
|
+
/**
|
|
989
|
+
* Defines the request payload for ServerSetPlayerData.
|
|
990
|
+
*/
|
|
483
991
|
class ServerSetPlayerDataRequestData extends SetPlayerDataRequestData {
|
|
484
992
|
userId: string;
|
|
485
993
|
}
|
|
994
|
+
/**
|
|
995
|
+
* Defines the request payload for AdminSetPlayerData.
|
|
996
|
+
*/
|
|
486
997
|
class AdminSetPlayerDataRequestData extends ServerSetPlayerDataRequestData {
|
|
487
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* Defines the request payload for ChangePlayerStatistics.
|
|
1001
|
+
*/
|
|
488
1002
|
class ChangePlayerStatisticsRequestData {
|
|
489
1003
|
userId?: string;
|
|
490
1004
|
playerStatistics: Array<PlayerStatisticsParam>;
|
|
491
1005
|
log?: string;
|
|
492
1006
|
}
|
|
1007
|
+
/**
|
|
1008
|
+
* Defines the request payload for ServerChangePlayerStatistics.
|
|
1009
|
+
*/
|
|
493
1010
|
class ServerChangePlayerStatisticsRequestData extends ChangePlayerStatisticsRequestData {
|
|
494
1011
|
userId: string;
|
|
495
1012
|
}
|
|
1013
|
+
/**
|
|
1014
|
+
* Defines the request payload for AdminChangePlayerStatistics.
|
|
1015
|
+
*/
|
|
496
1016
|
class AdminChangePlayerStatisticsRequestData extends ServerChangePlayerStatisticsRequestData {
|
|
497
1017
|
}
|
|
1018
|
+
/**
|
|
1019
|
+
* Defines the request payload for SetTag.
|
|
1020
|
+
*/
|
|
498
1021
|
class SetTagRequestData {
|
|
499
1022
|
userId?: string;
|
|
500
1023
|
key: string;
|
|
501
1024
|
value: string;
|
|
502
1025
|
}
|
|
1026
|
+
/**
|
|
1027
|
+
* Defines the request payload for ServerSetTag.
|
|
1028
|
+
*/
|
|
503
1029
|
class ServerSetTagRequestData extends SetTagRequestData {
|
|
504
1030
|
userId: string;
|
|
505
1031
|
}
|
|
1032
|
+
/**
|
|
1033
|
+
* Defines the request payload for AdminSetTag.
|
|
1034
|
+
*/
|
|
506
1035
|
class AdminSetTagRequestData extends ServerSetTagRequestData {
|
|
507
1036
|
}
|
|
1037
|
+
/**
|
|
1038
|
+
* Reads currency change logs for the current or target game player.
|
|
1039
|
+
* Pagination is token-based rather than skip-based.
|
|
1040
|
+
*/
|
|
508
1041
|
class GetCurrencyLogRequestData {
|
|
509
1042
|
keys?: Array<string>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Optional self-target shortcut on the client route.
|
|
1045
|
+
*/
|
|
510
1046
|
userId?: string;
|
|
511
1047
|
limit?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* Continuation token returned by the previous page.
|
|
1050
|
+
*/
|
|
512
1051
|
token?: string;
|
|
513
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Defines the request payload for ServerGetCurrencyLog.
|
|
1055
|
+
*/
|
|
514
1056
|
class ServerGetCurrencyLogRequestData extends GetCurrencyLogRequestData {
|
|
515
1057
|
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Defines the request payload for AdminGetCurrencyLog.
|
|
1060
|
+
*/
|
|
516
1061
|
class AdminGetCurrencyLogRequestData extends ServerGetCurrencyLogRequestData {
|
|
517
1062
|
}
|
|
1063
|
+
/**
|
|
1064
|
+
* Reads statistic change logs for the current or target game player.
|
|
1065
|
+
* Pagination is token-based rather than skip-based.
|
|
1066
|
+
*/
|
|
518
1067
|
class GetStatisticsLogRequestData {
|
|
519
1068
|
keys?: Array<string>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Optional self-target shortcut on the client route.
|
|
1071
|
+
*/
|
|
520
1072
|
userId?: string;
|
|
521
1073
|
limit?: number;
|
|
1074
|
+
/**
|
|
1075
|
+
* Continuation token returned by the previous page.
|
|
1076
|
+
*/
|
|
522
1077
|
token?: string;
|
|
523
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Defines the request payload for ServerGetStatisticsLog.
|
|
1081
|
+
*/
|
|
524
1082
|
class ServerGetStatisticsLogRequestData extends GetStatisticsLogRequestData {
|
|
525
1083
|
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Defines the request payload for AdminGetStatisticsLog.
|
|
1086
|
+
*/
|
|
526
1087
|
class AdminGetStatisticsLogRequestData extends ServerGetStatisticsLogRequestData {
|
|
527
1088
|
}
|
|
1089
|
+
/**
|
|
1090
|
+
* Contains the optional fields requested through `InfoRequestParam`.
|
|
1091
|
+
*/
|
|
528
1092
|
class InfoResponseParameters {
|
|
529
1093
|
segments?: Array<string>;
|
|
530
1094
|
customDatas?: Array<GenericModels.DataItem>;
|
|
@@ -536,24 +1100,52 @@ export declare namespace GamePlayerModels {
|
|
|
536
1100
|
playerDatas?: Array<GenericModels.DataItem>;
|
|
537
1101
|
playerCurrencies?: Array<GenericModels.CurrencyItem>;
|
|
538
1102
|
playerStatistics?: Array<GenericModels.StatisticsItem>;
|
|
1103
|
+
onlineStatus?: OnlineStatusItem;
|
|
1104
|
+
/**
|
|
1105
|
+
* Lightweight relation items for owned character players, not full character snapshots.
|
|
1106
|
+
*/
|
|
539
1107
|
playerCharacters?: Array<GenericModels.CharacterItem>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Lightweight relation items for inventory owned by the player.
|
|
1110
|
+
*/
|
|
540
1111
|
playerInventories?: Array<GenericModels.InventoryItem>;
|
|
1112
|
+
/**
|
|
1113
|
+
* Lightweight relation items for groups attached to the player.
|
|
1114
|
+
*/
|
|
541
1115
|
playerGroups?: Array<GenericModels.GroupItem>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Lightweight relation items for friends attached to the player.
|
|
1118
|
+
*/
|
|
542
1119
|
playerFriends?: Array<GenericModels.FriendItem>;
|
|
543
1120
|
tsLastLogin?: number;
|
|
544
1121
|
ipAddressCreate?: string;
|
|
545
1122
|
countryCode?: string;
|
|
546
1123
|
}
|
|
1124
|
+
/**
|
|
1125
|
+
* Base game-player response envelope.
|
|
1126
|
+
*/
|
|
547
1127
|
class GamePlayerResponseData {
|
|
1128
|
+
/**
|
|
1129
|
+
* Optional field bag controlled by the corresponding `InfoRequestParam`.
|
|
1130
|
+
*/
|
|
548
1131
|
infoResponseParameters: InfoResponseParameters;
|
|
549
1132
|
}
|
|
1133
|
+
/**
|
|
1134
|
+
* Game-player envelope that also exposes the resolved game-player user ID.
|
|
1135
|
+
*/
|
|
550
1136
|
class GamePlayerWithUserIdResponseData extends GamePlayerResponseData {
|
|
551
1137
|
userId: string;
|
|
552
1138
|
}
|
|
1139
|
+
/**
|
|
1140
|
+
* Defines the response payload for GamePlayerLeaderboard.
|
|
1141
|
+
*/
|
|
553
1142
|
class GamePlayerLeaderboardResponseData extends GamePlayerWithUserIdResponseData {
|
|
554
1143
|
position: number;
|
|
555
1144
|
backupValue?: number;
|
|
556
1145
|
}
|
|
1146
|
+
/**
|
|
1147
|
+
* Defines the response payload for GamePlayerLog.
|
|
1148
|
+
*/
|
|
557
1149
|
class GamePlayerLogResponseData {
|
|
558
1150
|
userId: string;
|
|
559
1151
|
tsCreate: number;
|
|
@@ -563,26 +1155,47 @@ export declare namespace GamePlayerModels {
|
|
|
563
1155
|
startValue: number;
|
|
564
1156
|
finalValue: number;
|
|
565
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* Defines the response payload for GetStatisticsLeaderboard.
|
|
1160
|
+
*/
|
|
566
1161
|
class GetStatisticsLeaderboardResponseData {
|
|
567
1162
|
results: Array<GamePlayerLeaderboardResponseData>;
|
|
568
1163
|
tsCreate: number;
|
|
569
1164
|
}
|
|
1165
|
+
/**
|
|
1166
|
+
* Defines the response payload for GetCurrencyLeaderboard.
|
|
1167
|
+
*/
|
|
570
1168
|
class GetCurrencyLeaderboardResponseData {
|
|
571
1169
|
results: Array<GamePlayerLeaderboardResponseData>;
|
|
572
1170
|
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Defines the response payload for GetLastLoginLeaderboard.
|
|
1173
|
+
*/
|
|
573
1174
|
class GetLastLoginLeaderboardResponseData {
|
|
574
1175
|
results: Array<GamePlayerLeaderboardResponseData>;
|
|
575
1176
|
}
|
|
1177
|
+
/**
|
|
1178
|
+
* Defines the response payload for GetCreateLeaderboard.
|
|
1179
|
+
*/
|
|
576
1180
|
class GetCreateLeaderboardResponseData {
|
|
577
1181
|
results: Array<GamePlayerLeaderboardResponseData>;
|
|
578
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Defines the response payload for GamePlayersWithUserId.
|
|
1185
|
+
*/
|
|
579
1186
|
class GamePlayersWithUserIdResponseData {
|
|
580
1187
|
results: Array<GamePlayerWithUserIdResponseData>;
|
|
581
1188
|
}
|
|
582
|
-
|
|
1189
|
+
/**
|
|
1190
|
+
* Reports the latest known login timestamp and active socket identity for a player.
|
|
1191
|
+
*/
|
|
1192
|
+
class OnlineStatusItem {
|
|
583
1193
|
tsLastLogin: number;
|
|
584
1194
|
socketId: string;
|
|
585
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Defines the request payload for GetCurrencyLeaderboard.
|
|
1198
|
+
*/
|
|
586
1199
|
class GetCurrencyLeaderboardRequestData {
|
|
587
1200
|
key: string;
|
|
588
1201
|
infoRequestParam: InfoRequestParam;
|
|
@@ -590,28 +1203,58 @@ export declare namespace GamePlayerModels {
|
|
|
590
1203
|
limit?: number;
|
|
591
1204
|
loadFromCache?: boolean;
|
|
592
1205
|
}
|
|
1206
|
+
/**
|
|
1207
|
+
* Defines the request payload for ServerGetCurrencyLeaderboard.
|
|
1208
|
+
*/
|
|
593
1209
|
class ServerGetCurrencyLeaderboardRequestData extends GetCurrencyLeaderboardRequestData {
|
|
594
1210
|
}
|
|
1211
|
+
/**
|
|
1212
|
+
* Defines the request payload for AdminGetCurrencyLeaderboard.
|
|
1213
|
+
*/
|
|
595
1214
|
class AdminGetCurrencyLeaderboardRequestData extends ServerGetCurrencyLeaderboardRequestData {
|
|
596
1215
|
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Defines the request payload for GetLastLoginLeaderboard.
|
|
1218
|
+
*/
|
|
597
1219
|
class GetLastLoginLeaderboardRequestData {
|
|
598
1220
|
infoRequestParam: InfoRequestParam;
|
|
599
1221
|
skip?: number;
|
|
600
1222
|
limit?: number;
|
|
601
1223
|
loadFromCache?: boolean;
|
|
602
1224
|
}
|
|
1225
|
+
/**
|
|
1226
|
+
* Defines the request payload for ServerGetLastLoginLeaderboard.
|
|
1227
|
+
*/
|
|
603
1228
|
class ServerGetLastLoginLeaderboardRequestData extends GetLastLoginLeaderboardRequestData {
|
|
604
1229
|
}
|
|
1230
|
+
/**
|
|
1231
|
+
* Defines the request payload for AdminGetLastLoginLeaderboard.
|
|
1232
|
+
*/
|
|
605
1233
|
class AdminGetLastLoginLeaderboardRequestData extends ServerGetLastLoginLeaderboardRequestData {
|
|
606
1234
|
}
|
|
1235
|
+
/**
|
|
1236
|
+
* Returns one page of statistics logs.
|
|
1237
|
+
*/
|
|
607
1238
|
class GetStatisticsLogResponseData {
|
|
608
1239
|
results: Array<GamePlayerLogResponseData>;
|
|
1240
|
+
/**
|
|
1241
|
+
* Continuation token for the next page, or `undefined` when pagination is exhausted.
|
|
1242
|
+
*/
|
|
609
1243
|
token?: string;
|
|
610
1244
|
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Returns one page of currency logs.
|
|
1247
|
+
*/
|
|
611
1248
|
class GetCurrencyLogResponseData {
|
|
612
1249
|
results: Array<GamePlayerLogResponseData>;
|
|
1250
|
+
/**
|
|
1251
|
+
* Continuation token for the next page, or `undefined` when pagination is exhausted.
|
|
1252
|
+
*/
|
|
613
1253
|
token?: string;
|
|
614
1254
|
}
|
|
1255
|
+
/**
|
|
1256
|
+
* Defines an intentionally empty response payload.
|
|
1257
|
+
*/
|
|
615
1258
|
class EmptyResponseData {
|
|
616
1259
|
}
|
|
617
1260
|
}
|