@xmobitea/gn-typescript-client 2.6.3 → 2.6.5-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.
Files changed (182) hide show
  1. package/{GNServerSettingsConfig.debug.json → GNServerSettings.debug.json} +1 -0
  2. package/dist/index.d.ts +2 -4
  3. package/dist/index.js +340 -34516
  4. package/dist/runtime/GNNetwork.d.ts +11 -11
  5. package/dist/runtime/GNNetwork.js +250 -0
  6. package/dist/runtime/GNNetworkAuthenticateApi.js +122 -0
  7. package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +24 -24
  8. package/dist/runtime/GNNetworkCharacterPlayerApi.js +968 -0
  9. package/dist/runtime/GNNetworkCloudScriptApi.js +104 -0
  10. package/dist/runtime/GNNetworkContentApi.js +140 -0
  11. package/dist/runtime/GNNetworkDashboardApi.d.ts +6 -6
  12. package/dist/runtime/GNNetworkDashboardApi.js +170 -0
  13. package/dist/runtime/GNNetworkGamePlayerApi.d.ts +30 -30
  14. package/dist/runtime/GNNetworkGamePlayerApi.js +950 -0
  15. package/dist/runtime/GNNetworkGroupApi.d.ts +18 -18
  16. package/dist/runtime/GNNetworkGroupApi.js +734 -0
  17. package/dist/runtime/GNNetworkInventoryApi.d.ts +6 -6
  18. package/dist/runtime/GNNetworkInventoryApi.js +626 -0
  19. package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +12 -12
  20. package/dist/runtime/GNNetworkMasterPlayerApi.js +1550 -0
  21. package/dist/runtime/GNNetworkMultiplayerApi.js +194 -0
  22. package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +6 -6
  23. package/dist/runtime/GNNetworkStoreInventoryApi.js +266 -0
  24. package/dist/runtime/common/Action0.js +1 -0
  25. package/dist/runtime/common/Action1.js +1 -0
  26. package/dist/runtime/common/Action2.js +1 -0
  27. package/dist/runtime/common/Action3.js +1 -0
  28. package/dist/runtime/common/Action4.js +1 -0
  29. package/dist/runtime/common/GNData.js +211 -0
  30. package/dist/runtime/config/GNServerSettings.d.ts +4 -0
  31. package/dist/runtime/config/GNServerSettings.js +149 -0
  32. package/dist/runtime/constant/Commands.js +19 -0
  33. package/dist/runtime/constant/EventCode.d.ts +6 -6
  34. package/dist/runtime/constant/EventCode.js +8 -0
  35. package/dist/runtime/constant/OperationCode.d.ts +219 -219
  36. package/dist/runtime/constant/OperationCode.js +221 -0
  37. package/dist/runtime/constant/ReturnCode.js +14 -0
  38. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
  39. package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
  40. package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
  41. package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
  42. package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
  43. package/dist/runtime/constant/enumType/ItemType.js +5 -0
  44. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
  45. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
  46. package/dist/runtime/constant/enumType/OwnerType.js +9 -0
  47. package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
  48. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  49. package/dist/runtime/constant/enumType/RequestRole.js +6 -0
  50. package/dist/runtime/constant/enumType/RequestType.js +15 -0
  51. package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
  52. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  53. package/dist/runtime/constant/errorCode/{GNErrorCode.d.ts → ErrorCode.d.ts} +2 -2
  54. package/dist/runtime/constant/errorCode/ErrorCode.js +52 -0
  55. package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +610 -0
  56. package/dist/runtime/constant/parameterCode/ParameterCode.js +616 -0
  57. package/dist/runtime/entity/DataMember.js +208 -0
  58. package/dist/runtime/entity/GNMetadata.js +11 -0
  59. package/dist/runtime/entity/InvalidMember.js +1 -0
  60. package/dist/runtime/entity/OperationEvent.d.ts +2 -5
  61. package/dist/runtime/entity/OperationEvent.js +24 -0
  62. package/dist/runtime/entity/OperationHelper.d.ts +2 -2
  63. package/dist/runtime/entity/OperationHelper.js +24 -0
  64. package/dist/runtime/entity/OperationRequest.d.ts +2 -5
  65. package/dist/runtime/entity/OperationRequest.js +42 -0
  66. package/dist/runtime/entity/OperationResponse.d.ts +2 -5
  67. package/dist/runtime/entity/OperationResponse.js +73 -0
  68. package/dist/runtime/entity/models/AuthenticateModels.d.ts +3 -0
  69. package/dist/runtime/entity/models/AuthenticateModels.js +426 -0
  70. package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +36 -54
  71. package/dist/runtime/entity/models/AuthenticateRequestModels.js +188 -0
  72. package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +1 -1
  73. package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
  74. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +16 -16
  75. package/dist/runtime/entity/models/CharacterPlayerModels.js +1437 -0
  76. package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +236 -289
  77. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1386 -0
  78. package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +4 -4
  79. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
  80. package/dist/runtime/entity/models/CloudScriptModels.d.ts +3 -2
  81. package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
  82. package/dist/runtime/entity/models/CloudScriptRequestModels.d.ts +20 -25
  83. package/dist/runtime/entity/models/CloudScriptRequestModels.js +138 -0
  84. package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
  85. package/dist/runtime/entity/models/ContentModels.js +203 -0
  86. package/dist/runtime/entity/models/ContentRequestModels.d.ts +28 -35
  87. package/dist/runtime/entity/models/ContentRequestModels.js +190 -0
  88. package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
  89. package/dist/runtime/entity/models/DashboardModels.d.ts +39 -39
  90. package/dist/runtime/entity/models/DashboardModels.js +2990 -0
  91. package/dist/runtime/entity/models/DashboardRequestModels.d.ts +58 -84
  92. package/dist/runtime/entity/models/DashboardRequestModels.js +268 -0
  93. package/dist/runtime/entity/models/DashboardResponseModels.d.ts +3 -3
  94. package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
  95. package/dist/runtime/entity/models/GamePlayerModels.d.ts +19 -19
  96. package/dist/runtime/entity/models/GamePlayerModels.js +1591 -0
  97. package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +238 -290
  98. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1360 -0
  99. package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +5 -5
  100. package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
  101. package/dist/runtime/entity/models/GenericModels.js +177 -0
  102. package/dist/runtime/entity/models/GroupModels.d.ts +13 -13
  103. package/dist/runtime/entity/models/GroupModels.js +1139 -0
  104. package/dist/runtime/entity/models/GroupRequestModels.d.ts +178 -218
  105. package/dist/runtime/entity/models/GroupRequestModels.js +1048 -0
  106. package/dist/runtime/entity/models/GroupResponseModels.d.ts +3 -3
  107. package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
  108. package/dist/runtime/entity/models/InventoryModels.d.ts +7 -7
  109. package/dist/runtime/entity/models/InventoryModels.js +915 -0
  110. package/dist/runtime/entity/models/InventoryRequestModels.d.ts +142 -176
  111. package/dist/runtime/entity/models/InventoryRequestModels.js +892 -0
  112. package/dist/runtime/entity/models/InventoryResponseModels.d.ts +1 -1
  113. package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
  114. package/dist/runtime/entity/models/MasterPlayerModels.d.ts +13 -11
  115. package/dist/runtime/entity/models/MasterPlayerModels.js +2573 -0
  116. package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +354 -440
  117. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2228 -0
  118. package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +3 -3
  119. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
  120. package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
  121. package/dist/runtime/entity/models/MultiplayerRequestModels.d.ts +40 -50
  122. package/dist/runtime/entity/models/MultiplayerRequestModels.js +268 -0
  123. package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
  124. package/dist/runtime/entity/models/StoreInventoryModels.d.ts +11 -11
  125. package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
  126. package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +62 -76
  127. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +372 -0
  128. package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +1 -1
  129. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
  130. package/dist/runtime/entity/request/CustomOperationRequest.d.ts +3 -4
  131. package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
  132. package/dist/runtime/entity/response/CustomOperationResponse.d.ts +1 -1
  133. package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
  134. package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
  135. package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
  136. package/dist/runtime/helper/CodeHelper.d.ts +8 -8
  137. package/dist/runtime/helper/CodeHelper.js +63 -0
  138. package/dist/runtime/helper/ConverterService.js +275 -0
  139. package/dist/runtime/helper/EnumUtility.d.ts +6 -0
  140. package/dist/runtime/helper/EnumUtility.js +33 -0
  141. package/dist/runtime/helper/GNSupport.js +8 -0
  142. package/dist/runtime/helper/GNUtils.js +72 -0
  143. package/dist/runtime/helper/MessagePackConverterService.js +9 -0
  144. package/dist/runtime/logger/GNDebug.js +29 -0
  145. package/dist/runtime/networking/AuthenticateStatus.js +14 -0
  146. package/dist/runtime/networking/IPeer.d.ts +1 -1
  147. package/dist/runtime/networking/IPeer.js +1 -0
  148. package/dist/runtime/networking/NetworkingPeer.d.ts +2 -2
  149. package/dist/runtime/networking/NetworkingPeer.js +178 -0
  150. package/dist/runtime/networking/OperationPending.d.ts +3 -3
  151. package/dist/runtime/networking/OperationPending.js +53 -0
  152. package/dist/runtime/networking/PeerBase.d.ts +3 -3
  153. package/dist/runtime/networking/PeerBase.js +161 -0
  154. package/dist/runtime/networking/handler/IServerEventHandler.d.ts +1 -1
  155. package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
  156. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +1 -1
  157. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
  158. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +1 -1
  159. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
  160. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +1 -1
  161. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
  162. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +1 -1
  163. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
  164. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +1 -1
  165. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
  166. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +3 -1
  167. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +43 -0
  168. package/dist/runtime/networking/http/HttpPeer.js +122 -0
  169. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
  170. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +164 -0
  171. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +1 -1
  172. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +130 -0
  173. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +10 -12
  174. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +165 -0
  175. package/dist/runtime/networking/socket/SocketPeer.d.ts +2 -2
  176. package/dist/runtime/networking/socket/SocketPeer.js +115 -0
  177. package/dist/runtime/typescript/ServiceUpdate.js +12 -0
  178. package/package.json +1 -1
  179. package/dist/gn.js.client.js +0 -47235
  180. package/dist/gn.js.client.min.js +0 -2
  181. package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
  182. package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +0 -599
@@ -7,6 +7,7 @@
7
7
  "useSsl": false,
8
8
  "useSocket": true,
9
9
  "useHttp": true,
10
+ "defaultTimeoutInSeconds": 20,
10
11
  "messageType": 2,
11
12
  "sendRate": 20,
12
13
  "reconnectDelay": 5000,
package/dist/index.d.ts CHANGED
@@ -44,11 +44,9 @@ export { StoreReceiveType };
44
44
  export { ExecuteResponseStatus };
45
45
  import { AuthenticateStatus } from "./runtime/networking/AuthenticateStatus";
46
46
  export { AuthenticateStatus };
47
- import { GNErrorCode } from "./runtime/constant/errorCode/GNErrorCode";
48
- export { GNErrorCode };
49
- import { GNParameterCode } from "./runtime/constant/parameterCode/GNParameterCode";
47
+ import { ErrorCode } from "./runtime/constant/errorCode/ErrorCode";
48
+ export { ErrorCode };
50
49
  import { ParameterCode } from "./runtime/constant/parameterCode/ParameterCode";
51
- export { GNParameterCode };
52
50
  export { ParameterCode };
53
51
  import { Commands } from "./runtime/constant/Commands";
54
52
  import { EventCode } from "./runtime/constant/EventCode";