@xmobitea/gn-typescript-client 1.0.9 → 2.0.1
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/GNServerSettingsConfig.debug.json +5 -5
- package/dist/gn.js.client.min.js +1 -1
- package/dist/index.d.ts +124 -184
- package/dist/index.js +23541 -1
- package/dist/runtime/GNNetwork.d.ts +35 -93
- package/dist/runtime/GNNetworkAuthenticateApi.d.ts +27 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +156 -0
- package/dist/runtime/GNNetworkContentApi.d.ts +33 -0
- package/dist/runtime/GNNetworkDashboardApi.d.ts +30 -0
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +153 -0
- package/dist/runtime/GNNetworkGroupApi.d.ts +120 -0
- package/dist/runtime/GNNetworkInventoryApi.d.ts +108 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +217 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +39 -0
- package/dist/runtime/config/GNServerSettings.d.ts +12 -4
- package/dist/runtime/constant/Commands.d.ts +2 -1
- package/dist/runtime/constant/EventCode.d.ts +6 -4
- package/dist/runtime/constant/OperationCode.d.ts +169 -23
- package/dist/runtime/constant/ReturnCode.d.ts +2 -0
- package/dist/runtime/constant/enumType/FriendStatus.d.ts +1 -1
- package/dist/runtime/constant/enumType/GroupStatus.d.ts +6 -0
- package/dist/runtime/constant/enumType/ItemType.d.ts +4 -0
- package/dist/runtime/constant/enumType/OwnerType.d.ts +6 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +4 -0
- package/dist/runtime/constant/enumType/RequestRole.d.ts +5 -0
- package/dist/runtime/constant/enumType/RequestType.d.ts +12 -0
- package/dist/runtime/constant/enumType/StatisticsAggregationMethod.d.ts +6 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +39 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +375 -0
- package/dist/runtime/entity/DataMember.d.ts +1 -0
- package/dist/runtime/entity/GNMetadata.d.ts +1 -0
- package/dist/runtime/entity/InvalidMember.d.ts +2 -2
- package/dist/runtime/entity/OperationEvent.d.ts +1 -1
- package/dist/runtime/entity/OperationHelper.d.ts +4 -13
- package/dist/runtime/entity/OperationRequest.d.ts +2 -4
- package/dist/runtime/entity/OperationResponse.d.ts +1 -1
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +108 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +111 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +34 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +493 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +726 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +100 -0
- package/dist/runtime/entity/models/ContentModels.d.ts +90 -0
- package/dist/runtime/entity/models/ContentRequestModels.d.ts +111 -0
- package/dist/runtime/entity/models/ContentResponseModels.d.ts +18 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +545 -0
- package/dist/runtime/entity/models/DashboardRequestModels.d.ts +132 -0
- package/dist/runtime/entity/models/DashboardResponseModels.d.ts +40 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +531 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +711 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +98 -0
- package/dist/runtime/entity/models/GenericModels.d.ts +59 -0
- package/dist/runtime/entity/models/GroupModels.d.ts +387 -0
- package/dist/runtime/entity/models/GroupRequestModels.d.ts +546 -0
- package/dist/runtime/entity/models/GroupResponseModels.d.ts +76 -0
- package/dist/runtime/entity/models/InventoryModels.d.ts +331 -0
- package/dist/runtime/entity/models/InventoryRequestModels.d.ts +486 -0
- package/dist/runtime/entity/models/InventoryResponseModels.d.ts +68 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +767 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1033 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +142 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +187 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +141 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +22 -0
- package/dist/runtime/entity/request/CustomOperationRequest.d.ts +11 -2
- package/dist/runtime/entity/response/CustomOperationResponse.d.ts +6 -1
- package/dist/runtime/helper/CodeHelper.d.ts +3 -4
- package/dist/runtime/helper/ConverterService.d.ts +8 -10
- package/dist/runtime/networking/AuthenticateStatus.d.ts +11 -0
- package/dist/runtime/networking/IPeer.d.ts +4 -1
- package/dist/runtime/networking/NetworkingPeer.d.ts +8 -84
- package/dist/runtime/networking/OperationPending.d.ts +14 -1
- package/dist/runtime/networking/PeerBase.d.ts +5 -3
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +12 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +12 -0
- package/dist/runtime/networking/{HttpPeer.d.ts → http/HttpPeer.d.ts} +6 -11
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +11 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +13 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +25 -0
- package/dist/runtime/networking/{NetworkingPeerBase.d.ts → socket/NetworkingSocketPeerBase.d.ts} +9 -8
- package/dist/runtime/networking/{SocketPeer.d.ts → socket/SocketPeer.d.ts} +10 -10
- package/dist/runtime/typescript/ServiceUpdate.d.ts +6 -0
- package/package.json +1 -1
- package/dist/editor/GNServerSettingsEditor.d.ts +0 -2
- package/dist/runtime/constant/enumType/PlatformType.d.ts +0 -8
- package/dist/runtime/constant/errorCode/ChatErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/DebugErrorCode.d.ts +0 -3
- package/dist/runtime/constant/errorCode/EnterDisplayNameErrorCode.d.ts +0 -3
- package/dist/runtime/constant/errorCode/FetchAllDataErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/FetchSparkPlayerErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/FileUploadInfoErrorCode.d.ts +0 -5
- package/dist/runtime/constant/errorCode/FriendErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/GetAppConfigErrorCode.d.ts +0 -3
- package/dist/runtime/constant/errorCode/LoginErrorCode.d.ts +0 -11
- package/dist/runtime/constant/errorCode/RegisterSocketErrorCode.d.ts +0 -3
- package/dist/runtime/constant/parameterCode/ChatParameterCode.d.ts +0 -22
- package/dist/runtime/constant/parameterCode/DebugParameterCode.d.ts +0 -7
- package/dist/runtime/constant/parameterCode/EnterDisplayNameParameterCode.d.ts +0 -4
- package/dist/runtime/constant/parameterCode/FetchAllDataParameterCode.d.ts +0 -7
- package/dist/runtime/constant/parameterCode/FetchSparkPlayerParameterCode.d.ts +0 -15
- package/dist/runtime/constant/parameterCode/FileUploadInfoParameterCode.d.ts +0 -11
- package/dist/runtime/constant/parameterCode/FriendParameterCode.d.ts +0 -12
- package/dist/runtime/constant/parameterCode/GetAppConfigParameterCode.d.ts +0 -4
- package/dist/runtime/constant/parameterCode/LoginParameterCode.d.ts +0 -18
- package/dist/runtime/constant/parameterCode/RegisterSocketParameterCode.d.ts +0 -3
- package/dist/runtime/entity/request/AddFriendOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/CreateNewFileUploadInfoOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/DebugOperationRequest.d.ts +0 -7
- package/dist/runtime/entity/request/EditChatInfoChannelOperationRequest.d.ts +0 -7
- package/dist/runtime/entity/request/EditChatMessageChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/EditChatMessageUserOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/EnterDisplayNameOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/FetchAllDataOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/FetchSparkPlayerOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/FindPlayerOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetAppConfigOperationRequest.d.ts +0 -7
- package/dist/runtime/entity/request/GetChatInfoChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetChatMemberChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetChatMessageChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetChatMessageUserOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetFileUploadInfoOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetFriendsOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/JoinChatChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/LeaveChatChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/LoginOperationRequest.d.ts +0 -33
- package/dist/runtime/entity/request/LogoutOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/RegisterAccountOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/RegisterSocketOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/RemoveFriendOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/SendChatToChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/SendChatToUserOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/TemplateOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/response/AddFriendOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/CreateNewFileUploadInfoOperationResponse.d.ts +0 -10
- package/dist/runtime/entity/response/DebugOperationResponse.d.ts +0 -11
- package/dist/runtime/entity/response/EditChatInfoChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/EditChatMessageChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/EditChatMessageUserOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/EnterDisplayNameOperationResponse.d.ts +0 -7
- package/dist/runtime/entity/response/FetchAllDataOperationResponse.d.ts +0 -10
- package/dist/runtime/entity/response/FetchSparkPlayerOperationResponse.d.ts +0 -20
- package/dist/runtime/entity/response/FindPlayerOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/response/GetAppConfigOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/response/GetChatInfoChannelOperationResponse.d.ts +0 -18
- package/dist/runtime/entity/response/GetChatMemberChannelOperationResponse.d.ts +0 -14
- package/dist/runtime/entity/response/GetChatMessageChannelOperationResponse.d.ts +0 -20
- package/dist/runtime/entity/response/GetChatMessageUserOperationResponse.d.ts +0 -17
- package/dist/runtime/entity/response/GetFileUploadInfoOperationResponse.d.ts +0 -15
- package/dist/runtime/entity/response/GetFriendsOperationResponse.d.ts +0 -13
- package/dist/runtime/entity/response/JoinChatChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/LeaveChatChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/LoginOperationResponse.d.ts +0 -9
- package/dist/runtime/entity/response/LogoutOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/PublicAddressGetRandomMessageOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/response/RegisterAccountOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/RegisterSocketOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/RemoveFriendOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/SendChatToChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/SendChatToUserOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/TemplateOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/server/AvatarChannel.d.ts +0 -4
- package/dist/runtime/entity/server/ChatChannel.d.ts +0 -13
- package/dist/runtime/entity/server/ChatMessage.d.ts +0 -10
- package/dist/runtime/entity/server/ChatUser.d.ts +0 -5
- package/dist/runtime/entity/server/FriendItem.d.ts +0 -7
- package/dist/runtime/entity/server/UserChannel.d.ts +0 -4
- package/dist/runtime/networking/NetworkingPeerSocket.d.ts +0 -22
- package/dist/runtime/networking/handler/OnChannelChatEventHandler.d.ts +0 -6
- package/dist/runtime/networking/handler/OnDebugEventHander.d.ts +0 -6
- package/dist/runtime/networking/handler/OnFriendUpdateEventHandler.d.ts +0 -6
- package/dist/runtime/networking/handler/OnUserChatEventHandler.d.ts +0 -6
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
"useSsl": false,
|
|
7
7
|
"useSocket": true,
|
|
8
8
|
"useHttp": true,
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
"sendRate": 20,
|
|
11
11
|
"reconnectDelay": 5000,
|
|
12
12
|
"pingInterval": 20000,
|
|
13
13
|
"pingTimeout": 20000,
|
|
14
14
|
|
|
15
|
-
"codeCanSendNotAuthorized": [
|
|
16
|
-
-1, 1, 2, 3
|
|
17
|
-
],
|
|
18
15
|
"gnServerSourcePath": "./../GNServer/",
|
|
19
|
-
"logType": 4
|
|
16
|
+
"logType": 4,
|
|
17
|
+
"adminSecretKey": "",
|
|
18
|
+
"serverSecretKey": "",
|
|
19
|
+
"clientSecretKey": ""
|
|
20
20
|
}
|
|
21
21
|
}
|