@xmobitea/gn-typescript-client 2.6.13-tsc → 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.
Files changed (400) hide show
  1. package/AGENTS.md +37 -0
  2. package/README.MD +420 -1
  3. package/dist/gearn.js.client.js +71354 -0
  4. package/dist/gearn.js.client.min.js +2 -0
  5. package/dist/gearn.js.client.min.js.LICENSE.txt +14 -0
  6. package/dist/index.d.ts +30 -0
  7. package/dist/index.js +58386 -339
  8. package/dist/runtime/GNNetwork.d.ts +687 -3
  9. package/dist/runtime/GNNetworkAuthenticateApi.d.ts +327 -0
  10. package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +1026 -0
  11. package/dist/runtime/GNNetworkCloudScriptApi.d.ts +141 -0
  12. package/dist/runtime/GNNetworkContentApi.d.ts +243 -0
  13. package/dist/runtime/GNNetworkDashboardApi.d.ts +221 -0
  14. package/dist/runtime/GNNetworkGamePlayerApi.d.ts +1033 -0
  15. package/dist/runtime/GNNetworkGroupApi.d.ts +783 -0
  16. package/dist/runtime/GNNetworkInventoryApi.d.ts +673 -0
  17. package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +1614 -6
  18. package/dist/runtime/GNNetworkMultiplayerApi.d.ts +234 -0
  19. package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +309 -0
  20. package/dist/runtime/common/Action0.d.ts +30 -0
  21. package/dist/runtime/common/Action1.d.ts +32 -0
  22. package/dist/runtime/common/Action2.d.ts +21 -0
  23. package/dist/runtime/common/Action3.d.ts +16 -0
  24. package/dist/runtime/common/Action4.d.ts +17 -0
  25. package/dist/runtime/common/GNData.d.ts +368 -0
  26. package/dist/runtime/config/GNServerSettings.d.ts +442 -12
  27. package/dist/runtime/constant/Commands.d.ts +80 -0
  28. package/dist/runtime/constant/EventCode.d.ts +48 -0
  29. package/dist/runtime/constant/OperationCode.d.ts +74 -1
  30. package/dist/runtime/constant/ReturnCode.d.ts +72 -0
  31. package/dist/runtime/constant/enumType/ExecuteResponseStatus.d.ts +31 -0
  32. package/dist/runtime/constant/enumType/FriendStatus.d.ts +39 -0
  33. package/dist/runtime/constant/enumType/GoogleLoginType.d.ts +23 -0
  34. package/dist/runtime/constant/enumType/GroupStatus.d.ts +32 -0
  35. package/dist/runtime/constant/enumType/InvalidMemberType.d.ts +75 -0
  36. package/dist/runtime/constant/enumType/ItemType.d.ts +23 -0
  37. package/dist/runtime/constant/enumType/MatchStatus.d.ts +30 -0
  38. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.d.ts +24 -0
  39. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.d.ts +34 -0
  40. package/dist/runtime/constant/enumType/OwnerType.d.ts +40 -0
  41. package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +22 -0
  42. package/dist/runtime/constant/enumType/PushPlatformType.d.ts +18 -0
  43. package/dist/runtime/constant/enumType/RequestRole.d.ts +32 -0
  44. package/dist/runtime/constant/enumType/RequestType.d.ts +70 -0
  45. package/dist/runtime/constant/enumType/StoreItemType.d.ts +21 -0
  46. package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +30 -0
  47. package/dist/runtime/constant/errorCode/ErrorCode.d.ts +190 -8
  48. package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +35 -5
  49. package/dist/runtime/entity/DataMember.d.ts +338 -0
  50. package/dist/runtime/entity/GNMetadata.d.ts +101 -0
  51. package/dist/runtime/entity/InvalidMember.d.ts +28 -0
  52. package/dist/runtime/entity/OperationEvent.d.ts +49 -0
  53. package/dist/runtime/entity/OperationRequest.d.ts +108 -0
  54. package/dist/runtime/entity/OperationResponse.d.ts +110 -0
  55. package/dist/runtime/entity/models/AuthenticateModels.d.ts +115 -0
  56. package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +131 -0
  57. package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +131 -0
  58. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +625 -1
  59. package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +972 -0
  60. package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +332 -0
  61. package/dist/runtime/entity/models/CloudScriptModels.d.ts +109 -0
  62. package/dist/runtime/entity/models/CloudScriptRequestModels.d.ts +107 -0
  63. package/dist/runtime/entity/models/CloudScriptResponseModels.d.ts +46 -0
  64. package/dist/runtime/entity/models/ContentModels.d.ts +124 -0
  65. package/dist/runtime/entity/models/ContentRequestModels.d.ts +152 -0
  66. package/dist/runtime/entity/models/ContentResponseModels.d.ts +58 -0
  67. package/dist/runtime/entity/models/DashboardModels.d.ts +371 -8
  68. package/dist/runtime/entity/models/DashboardRequestModels.d.ts +172 -0
  69. package/dist/runtime/entity/models/DashboardResponseModels.d.ts +170 -0
  70. package/dist/runtime/entity/models/GamePlayerModels.d.ts +644 -1
  71. package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +959 -0
  72. package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +333 -1
  73. package/dist/runtime/entity/models/GenericModels.d.ts +94 -0
  74. package/dist/runtime/entity/models/GroupModels.d.ts +484 -2
  75. package/dist/runtime/entity/models/GroupRequestModels.d.ts +737 -0
  76. package/dist/runtime/entity/models/GroupResponseModels.d.ts +254 -0
  77. package/dist/runtime/entity/models/InventoryModels.d.ts +415 -0
  78. package/dist/runtime/entity/models/InventoryRequestModels.d.ts +629 -0
  79. package/dist/runtime/entity/models/InventoryResponseModels.d.ts +218 -0
  80. package/dist/runtime/entity/models/MasterPlayerModels.d.ts +1065 -3
  81. package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1560 -6
  82. package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +532 -1
  83. package/dist/runtime/entity/models/MultiplayerModels.d.ts +199 -0
  84. package/dist/runtime/entity/models/MultiplayerRequestModels.d.ts +196 -0
  85. package/dist/runtime/entity/models/MultiplayerResponseModels.d.ts +74 -0
  86. package/dist/runtime/entity/models/StoreInventoryModels.d.ts +262 -0
  87. package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +268 -0
  88. package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +98 -0
  89. package/dist/runtime/entity/request/CustomOperationRequest.d.ts +99 -0
  90. package/dist/runtime/entity/response/CustomOperationResponse.d.ts +118 -0
  91. package/dist/runtime/entity/response/GetAuthInfoResponse.d.ts +53 -0
  92. package/dist/runtime/entity/response/HealthCheckResponse.d.ts +56 -0
  93. package/dist/runtime/entity/response/UploadFileResponse.d.ts +19 -0
  94. package/dist/runtime/helper/CodeHelper.d.ts +122 -0
  95. package/dist/runtime/helper/ConverterService.d.ts +74 -0
  96. package/dist/runtime/helper/EnumUtility.d.ts +63 -0
  97. package/dist/runtime/helper/GNSupport.d.ts +64 -4
  98. package/dist/runtime/helper/GNUtils.d.ts +54 -0
  99. package/dist/runtime/helper/MessagePackConverterService.d.ts +48 -0
  100. package/dist/runtime/helper/OperationHelper.d.ts +51 -0
  101. package/dist/runtime/helper/StorageService.d.ts +48 -8
  102. package/dist/runtime/logger/GNDebug.d.ts +117 -0
  103. package/dist/runtime/networking/AuthenticateStatus.d.ts +64 -0
  104. package/dist/runtime/networking/IPeer.d.ts +83 -0
  105. package/dist/runtime/networking/NetworkingPeer.d.ts +256 -1
  106. package/dist/runtime/networking/OperationPending.d.ts +112 -0
  107. package/dist/runtime/networking/PeerBase.d.ts +231 -0
  108. package/dist/runtime/networking/handler/IServerEventHandler.d.ts +84 -0
  109. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +69 -0
  110. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +49 -0
  111. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +50 -0
  112. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +41 -0
  113. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +47 -0
  114. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +46 -0
  115. package/dist/runtime/networking/http/HttpPeer.d.ts +173 -0
  116. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +87 -0
  117. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +113 -0
  118. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +145 -0
  119. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +198 -0
  120. package/dist/runtime/networking/socket/SocketPeer.d.ts +155 -0
  121. package/dist/runtime/typescript/ServiceUpdate.d.ts +46 -0
  122. package/docs/AI_CHEATSHEET.md +211 -0
  123. package/docs/COOKBOOK.md +912 -0
  124. package/docs/RULES.md +307 -0
  125. package/docs/ai-manifest.json +725 -0
  126. package/docs/guides/AUTHENTICATE.md +246 -0
  127. package/docs/guides/CHARACTER_PLAYER.md +439 -0
  128. package/docs/guides/CLOUDSCRIPT.md +335 -0
  129. package/docs/guides/COCOS_CREATOR_INTEGRATION.md +150 -0
  130. package/docs/guides/CONTENT.md +291 -0
  131. package/docs/guides/DASHBOARD.md +262 -0
  132. package/docs/guides/GAME_PLAYER.md +473 -0
  133. package/docs/guides/GROUP.md +412 -0
  134. package/docs/guides/INVENTORY.md +375 -0
  135. package/docs/guides/MASTER_PLAYER.md +458 -0
  136. package/docs/guides/MULTIPLAYER.md +303 -0
  137. package/docs/guides/STORE_INVENTORY.md +313 -0
  138. package/docs/llms-full.txt +43 -0
  139. package/docs/reference/API_AUTHENTICATE.md +75 -0
  140. package/docs/reference/API_CHARACTER_PLAYER.md +226 -0
  141. package/docs/reference/API_CLOUDSCRIPT.md +82 -0
  142. package/docs/reference/API_CONTENT.md +88 -0
  143. package/docs/reference/API_DASHBOARD.md +82 -0
  144. package/docs/reference/API_GAME_PLAYER.md +223 -0
  145. package/docs/reference/API_GROUP.md +187 -0
  146. package/docs/reference/API_INDEX.md +57 -0
  147. package/docs/reference/API_INVENTORY.md +169 -0
  148. package/docs/reference/API_MASTER_PLAYER.md +323 -0
  149. package/docs/reference/API_MULTIPLAYER.md +97 -0
  150. package/docs/reference/API_STORE_INVENTORY.md +109 -0
  151. package/docs/reference/CONFIG.md +107 -0
  152. package/docs/reference/DTO_INDEX.md +2543 -0
  153. package/docs/reference/ENUMS.md +433 -0
  154. package/docs/reference/ERROR_HANDLING.md +159 -0
  155. package/docs/reference/EVENTS.md +188 -0
  156. package/docs/reference/PERMISSION_RULES.md +55 -0
  157. package/docs/reference/dto/AUTHENTICATE.md +619 -0
  158. package/docs/reference/dto/CHARACTER_PLAYER.md +3686 -0
  159. package/docs/reference/dto/CLOUDSCRIPT.md +400 -0
  160. package/docs/reference/dto/CONTENT.md +548 -0
  161. package/docs/reference/dto/DASHBOARD.md +1980 -0
  162. package/docs/reference/dto/GAME_PLAYER.md +3631 -0
  163. package/docs/reference/dto/GENERIC.md +151 -0
  164. package/docs/reference/dto/GROUP.md +2842 -0
  165. package/docs/reference/dto/INVENTORY.md +2385 -0
  166. package/docs/reference/dto/MASTER_PLAYER.md +6024 -0
  167. package/docs/reference/dto/MULTIPLAYER.md +850 -0
  168. package/docs/reference/dto/STORE_INVENTORY.md +1262 -0
  169. package/llms.txt +47 -0
  170. package/package.json +11 -2
  171. package/GNServerSettings.debug.json +0 -21
  172. package/dist/runtime/GNNetwork.js +0 -273
  173. package/dist/runtime/GNNetworkAuthenticateApi.js +0 -122
  174. package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -968
  175. package/dist/runtime/GNNetworkCloudScriptApi.js +0 -104
  176. package/dist/runtime/GNNetworkContentApi.js +0 -140
  177. package/dist/runtime/GNNetworkDashboardApi.js +0 -170
  178. package/dist/runtime/GNNetworkGamePlayerApi.js +0 -950
  179. package/dist/runtime/GNNetworkGroupApi.js +0 -734
  180. package/dist/runtime/GNNetworkInventoryApi.js +0 -626
  181. package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -1550
  182. package/dist/runtime/GNNetworkMultiplayerApi.js +0 -194
  183. package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -266
  184. package/dist/runtime/common/Action0.js +0 -1
  185. package/dist/runtime/common/Action1.js +0 -1
  186. package/dist/runtime/common/Action2.js +0 -1
  187. package/dist/runtime/common/Action3.js +0 -1
  188. package/dist/runtime/common/Action4.js +0 -1
  189. package/dist/runtime/common/GNData.js +0 -209
  190. package/dist/runtime/config/GNServerSettings.js +0 -156
  191. package/dist/runtime/constant/Commands.js +0 -20
  192. package/dist/runtime/constant/EventCode.js +0 -8
  193. package/dist/runtime/constant/OperationCode.js +0 -221
  194. package/dist/runtime/constant/ReturnCode.js +0 -14
  195. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +0 -8
  196. package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
  197. package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
  198. package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
  199. package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
  200. package/dist/runtime/constant/enumType/ItemType.js +0 -5
  201. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
  202. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
  203. package/dist/runtime/constant/enumType/OwnerType.js +0 -9
  204. package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
  205. package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
  206. package/dist/runtime/constant/enumType/RequestRole.js +0 -6
  207. package/dist/runtime/constant/enumType/RequestType.js +0 -15
  208. package/dist/runtime/constant/enumType/StoreItemType.js +0 -5
  209. package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
  210. package/dist/runtime/constant/errorCode/ErrorCode.js +0 -52
  211. package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -617
  212. package/dist/runtime/entity/DataMember.js +0 -208
  213. package/dist/runtime/entity/GNMetadata.js +0 -11
  214. package/dist/runtime/entity/InvalidMember.js +0 -1
  215. package/dist/runtime/entity/OperationEvent.js +0 -24
  216. package/dist/runtime/entity/OperationRequest.js +0 -42
  217. package/dist/runtime/entity/OperationResponse.js +0 -73
  218. package/dist/runtime/entity/models/AuthenticateModels.js +0 -426
  219. package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -188
  220. package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
  221. package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1433
  222. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1386
  223. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -376
  224. package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
  225. package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -138
  226. package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
  227. package/dist/runtime/entity/models/ContentModels.js +0 -203
  228. package/dist/runtime/entity/models/ContentRequestModels.js +0 -190
  229. package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
  230. package/dist/runtime/entity/models/DashboardModels.js +0 -3002
  231. package/dist/runtime/entity/models/DashboardRequestModels.js +0 -268
  232. package/dist/runtime/entity/models/DashboardResponseModels.js +0 -187
  233. package/dist/runtime/entity/models/GamePlayerModels.js +0 -1591
  234. package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1360
  235. package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -369
  236. package/dist/runtime/entity/models/GenericModels.js +0 -177
  237. package/dist/runtime/entity/models/GroupModels.js +0 -1135
  238. package/dist/runtime/entity/models/GroupRequestModels.js +0 -1048
  239. package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
  240. package/dist/runtime/entity/models/InventoryModels.js +0 -915
  241. package/dist/runtime/entity/models/InventoryRequestModels.js +0 -892
  242. package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
  243. package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2573
  244. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2228
  245. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
  246. package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
  247. package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -268
  248. package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
  249. package/dist/runtime/entity/models/StoreInventoryModels.js +0 -797
  250. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -372
  251. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -103
  252. package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
  253. package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
  254. package/dist/runtime/entity/response/GetAuthInfoResponse.js +0 -2
  255. package/dist/runtime/entity/response/HealthCheckResponse.js +0 -2
  256. package/dist/runtime/entity/response/UploadFileResponse.js +0 -2
  257. package/dist/runtime/helper/CodeHelper.js +0 -63
  258. package/dist/runtime/helper/ConverterService.js +0 -275
  259. package/dist/runtime/helper/EnumUtility.js +0 -33
  260. package/dist/runtime/helper/GNSupport.js +0 -47
  261. package/dist/runtime/helper/GNUtils.js +0 -72
  262. package/dist/runtime/helper/MessagePackConverterService.js +0 -9
  263. package/dist/runtime/helper/OperationHelper.js +0 -24
  264. package/dist/runtime/helper/StorageService.js +0 -62
  265. package/dist/runtime/logger/GNDebug.js +0 -29
  266. package/dist/runtime/networking/AuthenticateStatus.js +0 -14
  267. package/dist/runtime/networking/IPeer.js +0 -1
  268. package/dist/runtime/networking/NetworkingPeer.js +0 -210
  269. package/dist/runtime/networking/OperationPending.js +0 -53
  270. package/dist/runtime/networking/PeerBase.js +0 -161
  271. package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
  272. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
  273. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
  274. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
  275. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
  276. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
  277. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -43
  278. package/dist/runtime/networking/http/HttpPeer.js +0 -123
  279. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -9
  280. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -179
  281. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -130
  282. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -165
  283. package/dist/runtime/networking/socket/SocketPeer.js +0 -115
  284. package/dist/runtime/typescript/ServiceUpdate.js +0 -22
  285. package/docs/COCOS_CREATOR_INTEGRATION.md +0 -116
  286. package/examples/cocos-creator/GearNExample.ts.txt +0 -176
  287. package/srcSwift/Package.swift +0 -32
  288. package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +0 -530
  289. package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +0 -178
  290. package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +0 -1162
  291. package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +0 -154
  292. package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +0 -208
  293. package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +0 -240
  294. package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +0 -1369
  295. package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +0 -1100
  296. package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +0 -937
  297. package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +0 -2323
  298. package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +0 -298
  299. package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +0 -397
  300. package/srcSwift/Sources/GearN/runtime/common/Action0.swift +0 -3
  301. package/srcSwift/Sources/GearN/runtime/common/Action1.swift +0 -3
  302. package/srcSwift/Sources/GearN/runtime/common/Action2.swift +0 -3
  303. package/srcSwift/Sources/GearN/runtime/common/Action3.swift +0 -3
  304. package/srcSwift/Sources/GearN/runtime/common/Action4.swift +0 -3
  305. package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +0 -204
  306. package/srcSwift/Sources/GearN/runtime/common/GNData.swift +0 -108
  307. package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +0 -200
  308. package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +0 -95
  309. package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +0 -28
  310. package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +0 -10
  311. package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +0 -252
  312. package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +0 -19
  313. package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +0 -9
  314. package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +0 -8
  315. package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +0 -6
  316. package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +0 -8
  317. package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +0 -19
  318. package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +0 -6
  319. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +0 -7
  320. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +0 -9
  321. package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +0 -10
  322. package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +0 -6
  323. package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +0 -6
  324. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +0 -7
  325. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +0 -16
  326. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +0 -6
  327. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +0 -9
  328. package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +0 -58
  329. package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +0 -672
  330. package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +0 -196
  331. package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +0 -9
  332. package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +0 -11
  333. package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +0 -38
  334. package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +0 -28
  335. package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +0 -62
  336. package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +0 -98
  337. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +0 -351
  338. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +0 -81
  339. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +0 -108
  340. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +0 -1045
  341. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +0 -821
  342. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +0 -588
  343. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +0 -187
  344. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +0 -84
  345. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +0 -59
  346. package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +0 -195
  347. package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +0 -116
  348. package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +0 -81
  349. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +0 -426
  350. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +0 -160
  351. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +0 -82
  352. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +0 -1334
  353. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +0 -643
  354. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +0 -213
  355. package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +0 -171
  356. package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +0 -850
  357. package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +0 -485
  358. package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +0 -165
  359. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +0 -679
  360. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +0 -413
  361. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +0 -141
  362. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +0 -378
  363. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +0 -147
  364. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +0 -318
  365. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +0 -319
  366. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +0 -125
  367. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +0 -45
  368. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +0 -633
  369. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +0 -173
  370. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +0 -61
  371. package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +0 -42
  372. package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +0 -49
  373. package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +0 -43
  374. package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +0 -86
  375. package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +0 -15
  376. package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +0 -107
  377. package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +0 -98
  378. package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +0 -34
  379. package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +0 -41
  380. package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +0 -66
  381. package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +0 -21
  382. package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +0 -29
  383. package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +0 -33
  384. package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +0 -24
  385. package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +0 -8
  386. package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +0 -368
  387. package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +0 -81
  388. package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +0 -228
  389. package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +0 -20
  390. package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +0 -226
  391. package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +0 -24
  392. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +0 -13
  393. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +0 -125
  394. package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +0 -19
  395. package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +0 -13
  396. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +0 -244
  397. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +0 -59
  398. package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +0 -136
  399. package/tsconfig-build.cocos.json +0 -31
  400. package/webpack.config.cocos.mjs +0 -78
@@ -1,209 +0,0 @@
1
- export class GNData {
2
- get(k, def) {
3
- return def;
4
- }
5
- getBoolean(k, def) {
6
- return this.get(k, def);
7
- }
8
- getObject(k, def) {
9
- return this.get(k, def);
10
- }
11
- getString(k, def) {
12
- return this.get(k, def);
13
- }
14
- getNumber(k, def) {
15
- return this.get(k, def);
16
- }
17
- getGNHashtable(k, def) {
18
- return this.get(k, def);
19
- }
20
- getGNArray(k, def) {
21
- return this.get(k, def);
22
- }
23
- static createGNHashtableFromObject(value) {
24
- let answer = new GNHashtable();
25
- let valueKeys = Object.keys(value);
26
- for (let i = 0; i < valueKeys.length; i++) {
27
- let key = valueKeys[i];
28
- answer.add(key, value[key]);
29
- }
30
- return answer;
31
- }
32
- static createGNArrayFromArray(value) {
33
- let answer = new GNArray();
34
- let valueArr = value;
35
- for (let i = 0; i < valueArr.length; i++) {
36
- answer.add(valueArr[i]);
37
- }
38
- return answer;
39
- }
40
- static createUseDataFromOriginData(value) {
41
- if (value == null)
42
- return null;
43
- let typeOfValue = typeof value;
44
- if (typeOfValue === "string")
45
- return value;
46
- if (typeOfValue === "number")
47
- return value;
48
- if (typeOfValue === "boolean")
49
- return value;
50
- if (value instanceof GNArray)
51
- return value;
52
- if (value instanceof GNHashtable)
53
- return value;
54
- if (typeOfValue === "object") {
55
- if (Array.isArray(value))
56
- return this.createGNArrayFromArray(value);
57
- else
58
- return this.createGNHashtableFromObject(value);
59
- }
60
- return null;
61
- }
62
- static createDataFromUseData(value) {
63
- if (value == null)
64
- return null;
65
- if (value instanceof GNArray) {
66
- return value.toData();
67
- }
68
- if (value instanceof GNHashtable) {
69
- return value.toData();
70
- }
71
- return value;
72
- }
73
- }
74
- export class GNHashtableBuilder {
75
- add(k, value) {
76
- this.dict[k] = value;
77
- return this;
78
- }
79
- addAll(dict) {
80
- let keys = Object.keys(dict);
81
- keys.forEach(keyStr => {
82
- this.add(keyStr, dict[keyStr]);
83
- });
84
- return this;
85
- }
86
- constructor() {
87
- this.dict = {};
88
- this.dict = {};
89
- }
90
- build() {
91
- let answer = new GNHashtable();
92
- let keys = Object.keys(this.dict);
93
- keys.forEach(keyStr => {
94
- answer.add(keyStr, this.dict[keyStr]);
95
- });
96
- return answer;
97
- }
98
- }
99
- export class GNHashtable extends GNData {
100
- constructor() {
101
- super(...arguments);
102
- this.dict = {};
103
- }
104
- clear() {
105
- this.dict = {};
106
- }
107
- remove(k) {
108
- if (this.containsKey(k)) {
109
- delete this.dict[k];
110
- return true;
111
- }
112
- return false;
113
- }
114
- count() {
115
- return Object.keys(this.dict).length;
116
- }
117
- containsKey(k) {
118
- return this.dict.hasOwnProperty(k);
119
- }
120
- get(k, def) {
121
- let value = this.dict[k];
122
- if (value == null)
123
- return def;
124
- return value;
125
- }
126
- add(k, value) {
127
- this.dict[k] = GNData.createUseDataFromOriginData(value);
128
- }
129
- toData() {
130
- let anwser = {};
131
- let keys = Object.keys(this.dict);
132
- for (let i = 0; i < keys.length; i++) {
133
- let key = keys[i];
134
- anwser[key] = GNData.createDataFromUseData(this.dict[key]);
135
- }
136
- return anwser;
137
- }
138
- static builder() {
139
- return new GNHashtableBuilder();
140
- }
141
- toString() {
142
- return JSON.stringify(this.dict);
143
- }
144
- }
145
- export class GNArrayBuilder {
146
- add(value) {
147
- this.array.push(value);
148
- return this;
149
- }
150
- addAll(array) {
151
- array.forEach(o => {
152
- this.add(o);
153
- });
154
- return this;
155
- }
156
- build() {
157
- let answer = new GNArray();
158
- this.array.forEach(o => {
159
- answer.add(o);
160
- });
161
- return answer;
162
- }
163
- constructor() {
164
- this.array = [];
165
- this.array = [];
166
- }
167
- }
168
- export class GNArray extends GNData {
169
- constructor() {
170
- super(...arguments);
171
- this.array = [];
172
- }
173
- clear() {
174
- this.array = [];
175
- }
176
- remove(k) {
177
- if (k < 0 || k >= this.array.length)
178
- return false;
179
- this.array.splice(k, 1);
180
- return true;
181
- }
182
- count() {
183
- return this.array.length;
184
- }
185
- get(k, def) {
186
- if (k < 0 || k >= this.array.length)
187
- return null;
188
- let value = this.array[k];
189
- if (value == null)
190
- return def;
191
- return value;
192
- }
193
- add(value) {
194
- this.array.push(GNData.createUseDataFromOriginData(value));
195
- }
196
- toData() {
197
- let anwser = [];
198
- for (let i = 0; i < this.array.length; i++) {
199
- anwser.push(GNData.createDataFromUseData(this.array[i]));
200
- }
201
- return anwser;
202
- }
203
- static builder() {
204
- return new GNArrayBuilder();
205
- }
206
- toString() {
207
- return JSON.stringify(this.array);
208
- }
209
- }
@@ -1,156 +0,0 @@
1
- import { LogType } from "./../logger/GNDebug";
2
- export var MessageType;
3
- (function (MessageType) {
4
- MessageType[MessageType["Json"] = 1] = "Json";
5
- MessageType[MessageType["MsgPack"] = 2] = "MsgPack";
6
- })(MessageType || (MessageType = {}));
7
- export class GNServerSettings {
8
- constructor() {
9
- this.serverAddress = "127.0.0.1";
10
- this.serverPort = 2202;
11
- this.serverSocketPort = 2901;
12
- this.useSsl = false;
13
- this.useSocket = true;
14
- this.useHttp = true;
15
- this.defaultTimeoutInSeconds = 20;
16
- this.messageType = MessageType.MsgPack;
17
- this.sendRate = 20;
18
- this.reconnectDelay = 5000;
19
- this.pingInterval = 20000;
20
- this.pingTimeout = 20000;
21
- this.logType = LogType.All;
22
- this.useReverseProxy = false;
23
- }
24
- config(options) {
25
- this.serverAddress = options.serverAddress;
26
- this.serverPort = options.serverPort;
27
- this.serverSocketPort = options.serverSocketPort;
28
- this.useSsl = options.useSsl;
29
- this.useSocket = options.useSocket;
30
- this.useHttp = options.useHttp;
31
- this.defaultTimeoutInSeconds = options.defaultTimeoutInSeconds;
32
- this.messageType = options.messageType;
33
- this.sendRate = options.sendRate;
34
- this.reconnectDelay = options.reconnectDelay;
35
- this.pingInterval = options.pingInterval;
36
- this.pingTimeout = options.pingTimeout;
37
- this.adminSecretKey = options.adminSecretKey;
38
- this.serverSecretKey = options.serverSecretKey;
39
- this.clientSecretKey = options.clientSecretKey;
40
- this.logType = options.logType;
41
- }
42
- getServerAddress() {
43
- return this.serverAddress;
44
- }
45
- setServerAddress(serverAddress) {
46
- this.serverAddress = serverAddress;
47
- }
48
- getServerPort() {
49
- return this.serverPort;
50
- }
51
- setServerPort(serverPort) {
52
- this.serverPort = serverPort;
53
- }
54
- getServerSocketPort() {
55
- return this.serverSocketPort;
56
- }
57
- setServerSocketPort(serverSocketPort) {
58
- this.serverSocketPort = serverSocketPort;
59
- }
60
- isUseSsl() {
61
- return this.useSsl;
62
- }
63
- setUseSsl(useSsl) {
64
- this.useSsl = useSsl;
65
- }
66
- isUseSocket() {
67
- return this.useSocket;
68
- }
69
- setUseSocket(useSocket) {
70
- this.useSocket = useSocket;
71
- }
72
- isUseHttp() {
73
- return this.useHttp;
74
- }
75
- setUseHttp(useHttp) {
76
- this.useHttp = useHttp;
77
- }
78
- getDefaultTimeoutInSeconds() {
79
- return this.defaultTimeoutInSeconds;
80
- }
81
- setDefaultTimeoutInSeconds(defaultTimeoutInSeconds) {
82
- this.defaultTimeoutInSeconds = defaultTimeoutInSeconds;
83
- }
84
- getMessageType() {
85
- return this.messageType;
86
- }
87
- setMessageType(messageType) {
88
- this.messageType = messageType;
89
- }
90
- getSendRate() {
91
- return this.sendRate;
92
- }
93
- setSendRate(sendRate) {
94
- this.sendRate = sendRate;
95
- }
96
- getReconnectDelay() {
97
- return this.reconnectDelay;
98
- }
99
- setReconnectDelay(reconnectDelay) {
100
- this.reconnectDelay = reconnectDelay;
101
- }
102
- getPingInterval() {
103
- return this.pingInterval;
104
- }
105
- setPingInterval(pingInterval) {
106
- this.pingInterval = pingInterval;
107
- }
108
- getPingTimeout() {
109
- return this.pingTimeout;
110
- }
111
- setPingTimeout(pingTimeout) {
112
- this.pingTimeout = pingTimeout;
113
- }
114
- getAdminSecretKey() {
115
- return this.adminSecretKey;
116
- }
117
- setAdminSecretKey(adminSecretKey) {
118
- this.adminSecretKey = adminSecretKey;
119
- }
120
- getServerSecretKey() {
121
- return this.serverSecretKey;
122
- }
123
- setServerSecretKey(serverSecretKey) {
124
- this.serverSecretKey = serverSecretKey;
125
- }
126
- getClientSecretKey() {
127
- return this.clientSecretKey;
128
- }
129
- setClientSecretKey(clientSecretKey) {
130
- this.clientSecretKey = clientSecretKey;
131
- }
132
- getLogType() {
133
- return this.logType;
134
- }
135
- setLogType(logType) {
136
- this.logType = logType;
137
- }
138
- getSocketUrl() {
139
- if (this.serverSocketPort < 0)
140
- return (this.useSsl ? "https" : "http") + "://" + this.serverAddress;
141
- else
142
- return (this.useSsl ? "https" : "http") + "://" + this.serverAddress + ":" + this.serverSocketPort;
143
- }
144
- getHttpUrl() {
145
- if (this.serverPort < 0)
146
- return (this.useSsl ? "https" : "http") + "://" + this.serverAddress;
147
- else
148
- return (this.useSsl ? "https" : "http") + "://" + this.serverAddress + ":" + this.serverPort;
149
- }
150
- setUseReverseProxy(useReverseProxy) {
151
- this.useReverseProxy = useReverseProxy;
152
- }
153
- getUseReverseProxy() {
154
- return this.useReverseProxy;
155
- }
156
- }
@@ -1,20 +0,0 @@
1
- export class Commands {
2
- }
3
- Commands.USER_AGENT = "User-Agent";
4
- Commands.CONTENT_TYPE = "Content-Type";
5
- Commands.ACCEPT = "Accept";
6
- Commands.CONTENT_LENGTH = "Content-Length";
7
- Commands.APPLICATION_JSON = "application/json";
8
- Commands.APPLICATION_MSGPACK = "application/msgpack";
9
- Commands.RequestAuthTokenCmd = "Auth-Token";
10
- Commands.RequestSecretCmd = "Secret-Key";
11
- Commands.RequestGameIdCmd = "Game-Id";
12
- Commands.RequestCmd_MsgPack = "rMsgPack";
13
- Commands.ResponseCmd_MsgPack = "rMsgPack";
14
- Commands.EventCmd_MsgPack = "eMsgPack";
15
- Commands.RequestCmd_Json = "rJson";
16
- Commands.ResponseCmd_Json = "rJson";
17
- Commands.EventCmd_Json = "eJson";
18
- Commands.Data = "data";
19
- Commands.File = "file";
20
- Commands.BaseUrl = "X-BaseUrl";
@@ -1,8 +0,0 @@
1
- export class EventCode {
2
- }
3
- EventCode.OnGamePlayerFriendUpdate = "onGamePlayerFriendUpdate";
4
- EventCode.OnCharacterPlayerFriendUpdate = "onCharacterPlayerFriendUpdate";
5
- EventCode.OnGamePlayerGroupUpdate = "onGamePlayerGroupUpdate";
6
- EventCode.OnGroupMemberUpdate = "onGroupMemberUpdate";
7
- EventCode.OnGroupMessageUpdate = "onGroupMessageUpdate";
8
- EventCode.OnCharacterPlayerGroupUpdate = "onCharacterPlayerGroupUpdate";
@@ -1,221 +0,0 @@
1
- export class OperationCode {
2
- }
3
- OperationCode.LoginByAdminAccount = "loginByAdminAccount";
4
- OperationCode.ChangePasswordAdminAccount = "changePasswordAdminAccount";
5
- OperationCode.GetGameList = "getGameList";
6
- OperationCode.GetMasterGameSettings = "getMasterGameSettings";
7
- OperationCode.SetMasterGameSettings = "setMasterGameSettings";
8
- OperationCode.CreateAdminAccount = "createAdminAccount";
9
- OperationCode.RemoveAdminAccount = "removeAdminAccount";
10
- OperationCode.SetPasswordAdminAccount = "setPasswordAdminAccount";
11
- OperationCode.SetSecretKeyAdminAccount = "setSecretKeyAdminAccount";
12
- OperationCode.GetGameInformation = "getGameInformation";
13
- OperationCode.SetGameInformation = "setGameInformation";
14
- OperationCode.GetAdminAccountList = "getAdminAccountList";
15
- OperationCode.CreateGame = "createGame";
16
- OperationCode.GetServerLog = "getServerLog";
17
- OperationCode.GetSecretInfoInformation = "getSecretInfoInformation";
18
- OperationCode.GetSecretInfoList = "getSecretInfoList";
19
- OperationCode.CreateSecretInfo = "createSecretInfo";
20
- OperationCode.SetSecretInfoInformation = "setSecretInfoInformation";
21
- OperationCode.GetUsernameAdminAccount = "getUsernameAdminAccount";
22
- OperationCode.GetAnalytics = "getAnalytics";
23
- OperationCode.GetEventCallbackCloudScript = "getEventCallbackCloudScript";
24
- OperationCode.SetEventCallbackCloudScript = "setEventCallbackCloudScript";
25
- OperationCode.ResetStatisticsLeaderboard = "resetStatisticsLeaderboard";
26
- OperationCode.GetBackupStatisticsLeaderboardVersion = "getBackupStatisticsLeaderboardVersion";
27
- OperationCode.GetServerGameData = "getServerGameData";
28
- OperationCode.DeleteInDatabase = "deleteInDatabase";
29
- OperationCode.LoginByAccount = "loginByAccount";
30
- OperationCode.LoginByAndroidDeviceId = "loginByAndroidDeviceId";
31
- OperationCode.LoginByApple = "loginByApple";
32
- OperationCode.LoginByCustomDeviceId = "loginByCustomDeviceId";
33
- OperationCode.LoginByCustomId = "loginByCustomId";
34
- OperationCode.LoginByEditorDeviceId = "loginByEditorDeviceId";
35
- OperationCode.LoginByFacebook = "loginByFacebook";
36
- OperationCode.LoginByGenericService = "loginByGenericService";
37
- OperationCode.LoginByGoogle = "loginByGoogle";
38
- OperationCode.LoginByiOSDeviceId = "loginByiOSDeviceId";
39
- OperationCode.LoginByLinuxDeviceId = "loginByLinuxDeviceId";
40
- OperationCode.LoginByMacOSDeviceId = "loginByMacOSDeviceId";
41
- OperationCode.LoginByWindowsDeviceId = "loginByWindowsDeviceId";
42
- OperationCode.LoginByWindowsPhoneDeviceId = "loginByWindowsPhoneDeviceId";
43
- OperationCode.RegisterAccount = "registerAccount";
44
- OperationCode.LinkAccount = "linkAccount";
45
- OperationCode.LinkAndroidDeviceId = "linkAndroidDeviceId";
46
- OperationCode.LinkApple = "linkApple";
47
- OperationCode.LinkCustomDeviceId = "linkCustomDeviceId";
48
- OperationCode.LinkCustomId = "linkCustomId";
49
- OperationCode.LinkEditorDeviceId = "linkEditorDeviceId";
50
- OperationCode.LinkFacebook = "linkFacebook";
51
- OperationCode.LinkGenericService = "linkGenericService";
52
- OperationCode.LinkGoogle = "linkGoogle";
53
- OperationCode.LinkiOSDeviceId = "linkiOSDeviceId";
54
- OperationCode.LinkLinuxDeviceId = "linkLinuxDeviceId";
55
- OperationCode.LinkMacOSDeviceId = "linkMacOSDeviceId";
56
- OperationCode.LinkWindowsDeviceId = "linkWindowsDeviceId";
57
- OperationCode.LinkWindowsPhoneDeviceId = "linkWindowsPhoneDeviceId";
58
- OperationCode.UnlinkAccount = "unlinkAccount";
59
- OperationCode.UnlinkAndroidDeviceId = "unlinkAndroidDeviceId";
60
- OperationCode.UnlinkApple = "unlinkApple";
61
- OperationCode.UnlinkCustomDeviceId = "unlinkCustomDeviceId";
62
- OperationCode.UnlinkCustomId = "unlinkCustomId";
63
- OperationCode.UnlinkEditorDeviceId = "unlinkEditorDeviceId";
64
- OperationCode.UnlinkFacebook = "unlinkFacebook";
65
- OperationCode.UnlinkGenericService = "unlinkGenericService";
66
- OperationCode.UnlinkGoogle = "unlinkGoogle";
67
- OperationCode.UnlinkiOSDeviceId = "unlinkiOSDeviceId";
68
- OperationCode.UnlinkLinuxDeviceId = "unlinkLinuxDeviceId";
69
- OperationCode.UnlinkMacOSDeviceId = "unlinkMacOSDeviceId";
70
- OperationCode.UnlinkWindowsDeviceId = "unlinkWindowsDeviceId";
71
- OperationCode.UnlinkWindowsPhoneDeviceId = "unlinkWindowsPhoneDeviceId";
72
- OperationCode.AddSegment = "addSegment";
73
- OperationCode.RemoveSegment = "removeSegment";
74
- OperationCode.GetSegment = "getSegment";
75
- OperationCode.SetTag = "setTag";
76
- OperationCode.GetTag = "getTag";
77
- OperationCode.SetDisplayName = "setDisplayName";
78
- OperationCode.GetDisplayName = "getDisplayName";
79
- OperationCode.GetTsCreate = "getTsCreate";
80
- OperationCode.GetIpAddressCreate = "getIpAddressCreate";
81
- OperationCode.GetTsLastLogin = "getTsLastLogin";
82
- OperationCode.SetPlayerBan = "setPlayerBan";
83
- OperationCode.GetPlayerBan = "getPlayerBan";
84
- OperationCode.SetCountryCode = "setCountryCode";
85
- OperationCode.GetCountryCode = "getCountryCode";
86
- OperationCode.ChangeAccountPassword = "changeAccountPassword";
87
- OperationCode.ResetAccountPassword = "resetAccountPassword";
88
- OperationCode.SetAvatar = "setAvatar";
89
- OperationCode.GetAvatar = "getAvatar";
90
- OperationCode.ChangePlayerCurrency = "changePlayerCurrency";
91
- OperationCode.GetPlayerCurrency = "getPlayerCurrency";
92
- OperationCode.ChangePlayerStatistics = "changePlayerStatistics";
93
- OperationCode.GetPlayerStatistics = "getPlayerStatistics";
94
- OperationCode.GetStatisticsLeaderboard = "getStatisticsLeaderboard";
95
- OperationCode.GetStatisticsLeaderboardAroundPlayer = "getStatisticsLeaderboardAroundPlayer";
96
- OperationCode.SetCustomData = "setCustomData";
97
- OperationCode.GetCustomData = "getCustomData";
98
- OperationCode.SetPlayerData = "setPlayerData";
99
- OperationCode.GetPlayerData = "getPlayerData";
100
- OperationCode.GetPlayerInformation = "getPlayerInformation";
101
- OperationCode.GetPlayersWithApple = "getPlayersWithApple";
102
- OperationCode.GetPlayersWithFacebook = "getPlayersWithFacebook";
103
- OperationCode.GetPlayersWithGoogle = "getPlayersWithGoogle";
104
- OperationCode.GetPlayersWithGenericService = "getPlayersWithGenericService";
105
- OperationCode.GetPlayersWithSegment = "getPlayersWithSegment";
106
- OperationCode.GetPlayersWithTag = "getPlayersWithTag";
107
- OperationCode.GetExternal = "getExternal";
108
- OperationCode.GetCatalogId = "getCatalogId";
109
- OperationCode.GetOwnerInfo = "getOwnerInfo";
110
- OperationCode.GetOnlineStatus = "getOnlineStatus";
111
- OperationCode.RemovePlayerItem = "removePlayerItem";
112
- OperationCode.RemovePlayerCharacter = "removePlayerCharacter";
113
- OperationCode.AddPlayerFriend = "addPlayerFriend";
114
- OperationCode.RemovePlayerFriend = "removePlayerFriend";
115
- OperationCode.GetPlayerInventory = "getPlayerInventory";
116
- OperationCode.GetPlayerCharacter = "getPlayerCharacter";
117
- OperationCode.GetPlayerFriend = "getPlayerFriend";
118
- OperationCode.GetPlayerGroup = "getPlayerGroup";
119
- OperationCode.CreateGroup = "createGroup";
120
- OperationCode.JoinGroup = "joinGroup";
121
- OperationCode.CreatePlayerItem = "createPlayerItem";
122
- OperationCode.CreatePlayerCharacter = "createPlayerCharacter";
123
- OperationCode.GetOwner = "getOwner";
124
- OperationCode.GetRemoveStatus = "getRemoveStatus";
125
- OperationCode.ChangeGroupStatistics = "changeGroupStatistics";
126
- OperationCode.SetGroupData = "setGroupData";
127
- OperationCode.GetGroupCurrency = "getGroupCurrency";
128
- OperationCode.ChangeGroupCurrency = "changeGroupCurrency";
129
- OperationCode.CreateGroupItem = "createGroupItem";
130
- OperationCode.GetStatisticsLeaderboardAroundGroup = "getStatisticsLeaderboardAroundGroup";
131
- OperationCode.GetGroupsWithTag = "getGroupsWithTag";
132
- OperationCode.GetGroupsWithSegment = "getGroupsWithSegment";
133
- OperationCode.GetGroupStatistics = "getGroupStatistics";
134
- OperationCode.GetGroupInventory = "getGroupInventory";
135
- OperationCode.GetGroupData = "getGroupData";
136
- OperationCode.GetGroupInformation = "getGroupInformation";
137
- OperationCode.GetMembers = "getMembers";
138
- OperationCode.ChangeItemStatistics = "changeItemStatistics";
139
- OperationCode.SetItemData = "setItemData";
140
- OperationCode.GetItemData = "getItemData";
141
- OperationCode.GetStatisticsLeaderboardAroundItem = "getStatisticsLeaderboardAroundItem";
142
- OperationCode.GetItemsWithTag = "getItemsWithTag";
143
- OperationCode.GetItemsWithSegment = "getItemsWithSegment";
144
- OperationCode.GetItemStatistics = "getItemStatistics";
145
- OperationCode.GetItemInformation = "getItemInformation";
146
- OperationCode.GetAmount = "getAmount";
147
- OperationCode.GetItemType = "getItemType";
148
- OperationCode.SetTsLastLogin = "setTsLastLogin";
149
- OperationCode.SetRemoveStatus = "setRemoveStatus";
150
- OperationCode.SetAmount = "setAmount";
151
- OperationCode.RemoveGroup = "removeGroup";
152
- OperationCode.LeaveGroup = "leaveGroup";
153
- OperationCode.AddMember = "addMember";
154
- OperationCode.RemoveMember = "removeMember";
155
- OperationCode.GetContentData = "getContentData";
156
- OperationCode.SetContentData = "setContentData";
157
- OperationCode.GetGroupMessage = "getGroupMessage";
158
- OperationCode.SendGroupMessage = "sendGroupMessage";
159
- OperationCode.GetPlayersWithDisplayName = "getPlayersWithDisplayName";
160
- OperationCode.GetItemsWithDisplayName = "getItemsWithDisplayName";
161
- OperationCode.GetGroupsWithDisplayName = "getGroupsWithDisplayName";
162
- OperationCode.SetOwner = "setOwner";
163
- OperationCode.RemoveGroupItem = "removeGroupItem";
164
- OperationCode.GetClassId = "getClassId";
165
- OperationCode.GetStoreItemInformation = "getStoreItemInformation";
166
- OperationCode.GetStoreItemsWithTag = "getStoreItemsWithTag";
167
- OperationCode.CreateStoreItem = "createStoreItem";
168
- OperationCode.RemoveTag = "removeTag";
169
- OperationCode.BuyStoreItem = "buyStoreItem";
170
- OperationCode.ValidateAppleAppStoreReceipt = "validateAppleAppStoreReceipt";
171
- OperationCode.ValidateGooglePlayStoreReceipt = "validateGooglePlayStoreReceipt";
172
- OperationCode.ValidateFacebookStoreReceipt = "validateFacebookStoreReceipt";
173
- OperationCode.GetFriendStatisticsLeaderboardAroundPlayer = "getFriendStatisticsLeaderboardAroundPlayer";
174
- OperationCode.GetFriendStatisticsLeaderboard = "getFriendStatisticsLeaderboard";
175
- OperationCode.SetEmail = "setEmail";
176
- OperationCode.GetEmail = "getEmail";
177
- OperationCode.CreateNewFileUploadInfo = "createNewFileUploadInfo";
178
- OperationCode.GetFileUploadInfo = "getFileUploadInfo";
179
- OperationCode.RequestDownloadFileUploadInfo = "requestDownloadFileUploadInfo";
180
- OperationCode.RemoveFileUploadInfo = "removeFileUploadInfo";
181
- OperationCode.GetFileUploadInfoList = "getFileUploadInfoList";
182
- OperationCode.SetStoreItemInformation = "setStoreItemInformation";
183
- OperationCode.RefreshAuthToken = "refreshAuthToken";
184
- OperationCode.CancelAllMatchmakingTicket = "cancelAllMatchmakingTicket";
185
- OperationCode.CancelMatchmakingTicket = "cancelMatchmakingTicket";
186
- OperationCode.CreateMatchmakingTicket = "createMatchmakingTicket";
187
- OperationCode.GetMatch = "getMatch";
188
- OperationCode.GetMatchmakingTicket = "getMatchmakingTicket";
189
- OperationCode.GetQueueStatistics = "getQueueStatistics";
190
- OperationCode.JoinMatchmakingTicket = "joinMatchmakingTicket";
191
- OperationCode.ListMatchmakingTicketsForPlayer = "listMatchmakingTicketsForPlayer";
192
- OperationCode.GetCurrencyLeaderboard = "getCurrencyLeaderboard";
193
- OperationCode.ExecuteFunction = "executeFunction";
194
- OperationCode.GetFunctions = "getFunctions";
195
- OperationCode.AddFunction = "addFunction";
196
- OperationCode.EditFunction = "editFunction";
197
- OperationCode.GetFunction = "getFunction";
198
- OperationCode.LoginByGooglePlayGameService = "loginByGooglePlayGameService";
199
- OperationCode.LoginByGameCenter = "loginByGameCenter";
200
- OperationCode.LinkGooglePlayGameService = "linkGooglePlayGameService";
201
- OperationCode.LinkGameCenter = "linkGameCenter";
202
- OperationCode.UnlinkGooglePlayGameService = "unlinkGooglePlayGameService";
203
- OperationCode.UnlinkGameCenter = "unlinkGameCenter";
204
- OperationCode.GetPlayersWithGooglePlayGameService = "getPlayersWithGooglePlayGameService";
205
- OperationCode.GetPlayersWithGameCenter = "getPlayersWithGameCenter";
206
- OperationCode.GetLastLoginLeaderboard = "getLastLoginLeaderboard";
207
- OperationCode.GetCreateLeaderboard = "getCreateLeaderboard";
208
- OperationCode.GetAllMatchmakingTicket = "getAllMatchmakingTicket";
209
- OperationCode.GetAllMatch = "getAllMatch";
210
- OperationCode.SendSocketOperationEvent = "sendSocketOperationEvent";
211
- OperationCode.GetStatisticsLog = "getStatisticsLog";
212
- OperationCode.GetCurrencyLog = "getCurrencyLog";
213
- OperationCode.PresentStoreItem = "presentStoreItem";
214
- OperationCode.GetStoreLog = "getStoreLog";
215
- OperationCode.SendEmail = "sendEmail";
216
- OperationCode.SendPushNotification = "sendPushNotification";
217
- OperationCode.AddPushNotification = "addPushNotification";
218
- OperationCode.RemovePushNotification = "removePushNotification";
219
- OperationCode.GetPushNotification = "getPushNotification";
220
- OperationCode.GetStoreUsed = "getStoreUsed";
221
- OperationCode.RemoveStoreUsed = "removeStoreUsed";
@@ -1,14 +0,0 @@
1
- export class ReturnCode {
2
- }
3
- ReturnCode.SecretInvalid = -10;
4
- ReturnCode.MaxSizeRequestReject = -9;
5
- ReturnCode.MaxRequestReject = -8;
6
- ReturnCode.MaxCCUReject = -7;
7
- ReturnCode.OperationNotAuthorized = -6;
8
- ReturnCode.InvalidRequestParameters = -5;
9
- ReturnCode.OperationInvalid = -4;
10
- ReturnCode.InternalServerError = -3;
11
- ReturnCode.OperationNotAllow = -2;
12
- ReturnCode.OperationTimeout = -1;
13
- ReturnCode.UnknownError = 0;
14
- ReturnCode.Ok = 1;
@@ -1,8 +0,0 @@
1
- export var ExecuteResponseStatus;
2
- (function (ExecuteResponseStatus) {
3
- ExecuteResponseStatus[ExecuteResponseStatus["Ok"] = 1] = "Ok";
4
- ExecuteResponseStatus[ExecuteResponseStatus["Exception"] = 2] = "Exception";
5
- ExecuteResponseStatus[ExecuteResponseStatus["FunctionNameNotFound"] = 3] = "FunctionNameNotFound";
6
- ExecuteResponseStatus[ExecuteResponseStatus["VersionInvalid"] = 4] = "VersionInvalid";
7
- ExecuteResponseStatus[ExecuteResponseStatus["Timeout"] = 5] = "Timeout";
8
- })(ExecuteResponseStatus || (ExecuteResponseStatus = {}));
@@ -1,7 +0,0 @@
1
- export var FriendStatus;
2
- (function (FriendStatus) {
3
- FriendStatus[FriendStatus["Friend"] = 1] = "Friend";
4
- FriendStatus[FriendStatus["WaitingAccept"] = 2] = "WaitingAccept";
5
- FriendStatus[FriendStatus["SentRequestAndWaitingAccept"] = 3] = "SentRequestAndWaitingAccept";
6
- FriendStatus[FriendStatus["NotFriend"] = 4] = "NotFriend";
7
- })(FriendStatus || (FriendStatus = {}));
@@ -1,5 +0,0 @@
1
- export var GoogleLoginType;
2
- (function (GoogleLoginType) {
3
- GoogleLoginType[GoogleLoginType["AccessToken"] = 1] = "AccessToken";
4
- GoogleLoginType[GoogleLoginType["IdToken"] = 2] = "IdToken";
5
- })(GoogleLoginType || (GoogleLoginType = {}));
@@ -1,7 +0,0 @@
1
- export var GroupStatus;
2
- (function (GroupStatus) {
3
- GroupStatus[GroupStatus["Member"] = 1] = "Member";
4
- GroupStatus[GroupStatus["WaitingAccept"] = 2] = "WaitingAccept";
5
- GroupStatus[GroupStatus["SentRequestAndWaitingAccept"] = 3] = "SentRequestAndWaitingAccept";
6
- GroupStatus[GroupStatus["NotMember"] = 4] = "NotMember";
7
- })(GroupStatus || (GroupStatus = {}));