@xmobitea/gn-typescript-client 2.4.1-esnext → 2.4.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.
Files changed (110) hide show
  1. package/dist/gn.js.client.js +48243 -0
  2. package/dist/gn.js.client.min.js +2 -0
  3. package/dist/gn.js.client.min.js.LICENSE.txt +14 -0
  4. package/dist/index.js +35532 -320
  5. package/package.json +1 -1
  6. package/dist/runtime/GNNetwork.js +0 -241
  7. package/dist/runtime/GNNetworkAuthenticateApi.js +0 -167
  8. package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -1271
  9. package/dist/runtime/GNNetworkCloudScriptApi.js +0 -143
  10. package/dist/runtime/GNNetworkContentApi.js +0 -191
  11. package/dist/runtime/GNNetworkDashboardApi.js +0 -223
  12. package/dist/runtime/GNNetworkGamePlayerApi.js +0 -1247
  13. package/dist/runtime/GNNetworkGroupApi.js +0 -983
  14. package/dist/runtime/GNNetworkInventoryApi.js +0 -839
  15. package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -2071
  16. package/dist/runtime/GNNetworkMultiplayerApi.js +0 -263
  17. package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -311
  18. package/dist/runtime/common/Action0.js +0 -1
  19. package/dist/runtime/common/Action1.js +0 -1
  20. package/dist/runtime/common/Action2.js +0 -1
  21. package/dist/runtime/common/Action3.js +0 -1
  22. package/dist/runtime/common/Action4.js +0 -1
  23. package/dist/runtime/common/GNData.js +0 -211
  24. package/dist/runtime/config/GNServerSettings.js +0 -127
  25. package/dist/runtime/constant/Commands.js +0 -19
  26. package/dist/runtime/constant/EventCode.js +0 -8
  27. package/dist/runtime/constant/OperationCode.js +0 -218
  28. package/dist/runtime/constant/ReturnCode.js +0 -14
  29. package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
  30. package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
  31. package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
  32. package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
  33. package/dist/runtime/constant/enumType/ItemType.js +0 -5
  34. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
  35. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
  36. package/dist/runtime/constant/enumType/OwnerType.js +0 -8
  37. package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
  38. package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
  39. package/dist/runtime/constant/enumType/RequestRole.js +0 -6
  40. package/dist/runtime/constant/enumType/RequestType.js +0 -15
  41. package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
  42. package/dist/runtime/constant/errorCode/GNErrorCode.js +0 -50
  43. package/dist/runtime/constant/parameterCode/GNParameterCode.js +0 -565
  44. package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -6
  45. package/dist/runtime/entity/DataMember.js +0 -208
  46. package/dist/runtime/entity/GNMetadata.js +0 -11
  47. package/dist/runtime/entity/InvalidMember.js +0 -1
  48. package/dist/runtime/entity/OperationEvent.js +0 -32
  49. package/dist/runtime/entity/OperationHelper.js +0 -23
  50. package/dist/runtime/entity/OperationRequest.js +0 -50
  51. package/dist/runtime/entity/OperationResponse.js +0 -81
  52. package/dist/runtime/entity/models/AuthenticateModels.js +0 -420
  53. package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -206
  54. package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
  55. package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1377
  56. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1412
  57. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -369
  58. package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
  59. package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -143
  60. package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
  61. package/dist/runtime/entity/models/ContentModels.js +0 -211
  62. package/dist/runtime/entity/models/ContentRequestModels.js +0 -197
  63. package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
  64. package/dist/runtime/entity/models/DashboardModels.js +0 -2759
  65. package/dist/runtime/entity/models/DashboardRequestModels.js +0 -283
  66. package/dist/runtime/entity/models/DashboardResponseModels.js +0 -180
  67. package/dist/runtime/entity/models/GamePlayerModels.js +0 -1543
  68. package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1385
  69. package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -362
  70. package/dist/runtime/entity/models/GenericModels.js +0 -177
  71. package/dist/runtime/entity/models/GroupModels.js +0 -1123
  72. package/dist/runtime/entity/models/GroupRequestModels.js +0 -1088
  73. package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
  74. package/dist/runtime/entity/models/InventoryModels.js +0 -903
  75. package/dist/runtime/entity/models/InventoryRequestModels.js +0 -926
  76. package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
  77. package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2566
  78. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2314
  79. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
  80. package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
  81. package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -278
  82. package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
  83. package/dist/runtime/entity/models/StoreInventoryModels.js +0 -733
  84. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -332
  85. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -89
  86. package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
  87. package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
  88. package/dist/runtime/helper/CodeHelper.js +0 -61
  89. package/dist/runtime/helper/ConverterService.js +0 -275
  90. package/dist/runtime/helper/GNSupport.js +0 -8
  91. package/dist/runtime/logger/GNDebug.js +0 -29
  92. package/dist/runtime/networking/AuthenticateStatus.js +0 -14
  93. package/dist/runtime/networking/IPeer.js +0 -1
  94. package/dist/runtime/networking/NetworkingPeer.js +0 -129
  95. package/dist/runtime/networking/OperationPending.js +0 -53
  96. package/dist/runtime/networking/PeerBase.js +0 -168
  97. package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
  98. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
  99. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
  100. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
  101. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
  102. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
  103. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -35
  104. package/dist/runtime/networking/http/HttpPeer.js +0 -121
  105. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -6
  106. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -146
  107. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -126
  108. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -176
  109. package/dist/runtime/networking/socket/SocketPeer.js +0 -105
  110. package/dist/runtime/typescript/ServiceUpdate.js +0 -12
@@ -1,243 +0,0 @@
1
- import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
2
- import { InventoryModels } from "./InventoryModels";
3
- export var InventoryResponseModels;
4
- (function (InventoryResponseModels) {
5
- class AddSegmentOperationResponse extends CustomOperationResponseAbstract {
6
- constructor() {
7
- super();
8
- this.responseDataCls = InventoryModels.EmptyResponseData;
9
- }
10
- }
11
- InventoryResponseModels.AddSegmentOperationResponse = AddSegmentOperationResponse;
12
- class GetAmountOperationResponse extends CustomOperationResponseAbstract {
13
- constructor() {
14
- super();
15
- this.responseDataCls = InventoryModels.InventoryResponseData;
16
- }
17
- }
18
- InventoryResponseModels.GetAmountOperationResponse = GetAmountOperationResponse;
19
- class GetAvatarOperationResponse extends CustomOperationResponseAbstract {
20
- constructor() {
21
- super();
22
- this.responseDataCls = InventoryModels.InventoryResponseData;
23
- }
24
- }
25
- InventoryResponseModels.GetAvatarOperationResponse = GetAvatarOperationResponse;
26
- class GetCatalogIdOperationResponse extends CustomOperationResponseAbstract {
27
- constructor() {
28
- super();
29
- this.responseDataCls = InventoryModels.InventoryResponseData;
30
- }
31
- }
32
- InventoryResponseModels.GetCatalogIdOperationResponse = GetCatalogIdOperationResponse;
33
- class GetClassIdOperationResponse extends CustomOperationResponseAbstract {
34
- constructor() {
35
- super();
36
- this.responseDataCls = InventoryModels.InventoryResponseData;
37
- }
38
- }
39
- InventoryResponseModels.GetClassIdOperationResponse = GetClassIdOperationResponse;
40
- class GetCustomDataOperationResponse extends CustomOperationResponseAbstract {
41
- constructor() {
42
- super();
43
- this.responseDataCls = InventoryModels.InventoryResponseData;
44
- }
45
- }
46
- InventoryResponseModels.GetCustomDataOperationResponse = GetCustomDataOperationResponse;
47
- class GetDisplayNameOperationResponse extends CustomOperationResponseAbstract {
48
- constructor() {
49
- super();
50
- this.responseDataCls = InventoryModels.InventoryResponseData;
51
- }
52
- }
53
- InventoryResponseModels.GetDisplayNameOperationResponse = GetDisplayNameOperationResponse;
54
- class GetItemDataOperationResponse extends CustomOperationResponseAbstract {
55
- constructor() {
56
- super();
57
- this.responseDataCls = InventoryModels.InventoryResponseData;
58
- }
59
- }
60
- InventoryResponseModels.GetItemDataOperationResponse = GetItemDataOperationResponse;
61
- class GetItemInformationOperationResponse extends CustomOperationResponseAbstract {
62
- constructor() {
63
- super();
64
- this.responseDataCls = InventoryModels.InventoryResponseData;
65
- }
66
- }
67
- InventoryResponseModels.GetItemInformationOperationResponse = GetItemInformationOperationResponse;
68
- class GetItemStatisticsOperationResponse extends CustomOperationResponseAbstract {
69
- constructor() {
70
- super();
71
- this.responseDataCls = InventoryModels.InventoryResponseData;
72
- }
73
- }
74
- InventoryResponseModels.GetItemStatisticsOperationResponse = GetItemStatisticsOperationResponse;
75
- class GetItemsWithDisplayNameOperationResponse extends CustomOperationResponseAbstract {
76
- constructor() {
77
- super();
78
- this.responseDataCls = InventoryModels.InventoriesWithItemIdResponseData;
79
- }
80
- }
81
- InventoryResponseModels.GetItemsWithDisplayNameOperationResponse = GetItemsWithDisplayNameOperationResponse;
82
- class GetItemsWithSegmentOperationResponse extends CustomOperationResponseAbstract {
83
- constructor() {
84
- super();
85
- this.responseDataCls = InventoryModels.InventoriesWithItemIdResponseData;
86
- }
87
- }
88
- InventoryResponseModels.GetItemsWithSegmentOperationResponse = GetItemsWithSegmentOperationResponse;
89
- class GetItemsWithTagOperationResponse extends CustomOperationResponseAbstract {
90
- constructor() {
91
- super();
92
- this.responseDataCls = InventoryModels.InventoriesWithItemIdResponseData;
93
- }
94
- }
95
- InventoryResponseModels.GetItemsWithTagOperationResponse = GetItemsWithTagOperationResponse;
96
- class GetItemTypeOperationResponse extends CustomOperationResponseAbstract {
97
- constructor() {
98
- super();
99
- this.responseDataCls = InventoryModels.InventoryResponseData;
100
- }
101
- }
102
- InventoryResponseModels.GetItemTypeOperationResponse = GetItemTypeOperationResponse;
103
- class GetOwnerOperationResponse extends CustomOperationResponseAbstract {
104
- constructor() {
105
- super();
106
- this.responseDataCls = InventoryModels.InventoryResponseData;
107
- }
108
- }
109
- InventoryResponseModels.GetOwnerOperationResponse = GetOwnerOperationResponse;
110
- class GetRemoveStatusOperationResponse extends CustomOperationResponseAbstract {
111
- constructor() {
112
- super();
113
- this.responseDataCls = InventoryModels.InventoryResponseData;
114
- }
115
- }
116
- InventoryResponseModels.GetRemoveStatusOperationResponse = GetRemoveStatusOperationResponse;
117
- class GetSegmentOperationResponse extends CustomOperationResponseAbstract {
118
- constructor() {
119
- super();
120
- this.responseDataCls = InventoryModels.InventoryResponseData;
121
- }
122
- }
123
- InventoryResponseModels.GetSegmentOperationResponse = GetSegmentOperationResponse;
124
- class GetStatisticsLeaderboardAroundItemOperationResponse extends CustomOperationResponseAbstract {
125
- constructor() {
126
- super();
127
- this.responseDataCls = InventoryModels.GetStatisticsLeaderboardResponseData;
128
- }
129
- }
130
- InventoryResponseModels.GetStatisticsLeaderboardAroundItemOperationResponse = GetStatisticsLeaderboardAroundItemOperationResponse;
131
- class GetStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract {
132
- constructor() {
133
- super();
134
- this.responseDataCls = InventoryModels.GetStatisticsLeaderboardResponseData;
135
- }
136
- }
137
- InventoryResponseModels.GetStatisticsLeaderboardOperationResponse = GetStatisticsLeaderboardOperationResponse;
138
- class GetTagOperationResponse extends CustomOperationResponseAbstract {
139
- constructor() {
140
- super();
141
- this.responseDataCls = InventoryModels.InventoryResponseData;
142
- }
143
- }
144
- InventoryResponseModels.GetTagOperationResponse = GetTagOperationResponse;
145
- class GetTsCreateOperationResponse extends CustomOperationResponseAbstract {
146
- constructor() {
147
- super();
148
- this.responseDataCls = InventoryModels.InventoryResponseData;
149
- }
150
- }
151
- InventoryResponseModels.GetTsCreateOperationResponse = GetTsCreateOperationResponse;
152
- class RemoveSegmentOperationResponse extends CustomOperationResponseAbstract {
153
- constructor() {
154
- super();
155
- this.responseDataCls = InventoryModels.EmptyResponseData;
156
- }
157
- }
158
- InventoryResponseModels.RemoveSegmentOperationResponse = RemoveSegmentOperationResponse;
159
- class RemoveTagOperationResponse extends CustomOperationResponseAbstract {
160
- constructor() {
161
- super();
162
- this.responseDataCls = InventoryModels.EmptyResponseData;
163
- }
164
- }
165
- InventoryResponseModels.RemoveTagOperationResponse = RemoveTagOperationResponse;
166
- class SetAmountOperationResponse extends CustomOperationResponseAbstract {
167
- constructor() {
168
- super();
169
- this.responseDataCls = InventoryModels.InventoryResponseData;
170
- }
171
- }
172
- InventoryResponseModels.SetAmountOperationResponse = SetAmountOperationResponse;
173
- class SetAvatarOperationResponse extends CustomOperationResponseAbstract {
174
- constructor() {
175
- super();
176
- this.responseDataCls = InventoryModels.EmptyResponseData;
177
- }
178
- }
179
- InventoryResponseModels.SetAvatarOperationResponse = SetAvatarOperationResponse;
180
- class SetCustomDataOperationResponse extends CustomOperationResponseAbstract {
181
- constructor() {
182
- super();
183
- this.responseDataCls = InventoryModels.InventoryResponseData;
184
- }
185
- }
186
- InventoryResponseModels.SetCustomDataOperationResponse = SetCustomDataOperationResponse;
187
- class SetDisplayNameOperationResponse extends CustomOperationResponseAbstract {
188
- constructor() {
189
- super();
190
- this.responseDataCls = InventoryModels.EmptyResponseData;
191
- }
192
- }
193
- InventoryResponseModels.SetDisplayNameOperationResponse = SetDisplayNameOperationResponse;
194
- class SetItemDataOperationResponse extends CustomOperationResponseAbstract {
195
- constructor() {
196
- super();
197
- this.responseDataCls = InventoryModels.InventoryResponseData;
198
- }
199
- }
200
- InventoryResponseModels.SetItemDataOperationResponse = SetItemDataOperationResponse;
201
- class SetItemStatisticsOperationResponse extends CustomOperationResponseAbstract {
202
- constructor() {
203
- super();
204
- this.responseDataCls = InventoryModels.InventoryResponseData;
205
- }
206
- }
207
- InventoryResponseModels.SetItemStatisticsOperationResponse = SetItemStatisticsOperationResponse;
208
- class SetOwnerOperationResponse extends CustomOperationResponseAbstract {
209
- constructor() {
210
- super();
211
- this.responseDataCls = InventoryModels.EmptyResponseData;
212
- }
213
- }
214
- InventoryResponseModels.SetOwnerOperationResponse = SetOwnerOperationResponse;
215
- class SetRemoveStatusOperationResponse extends CustomOperationResponseAbstract {
216
- constructor() {
217
- super();
218
- this.responseDataCls = InventoryModels.EmptyResponseData;
219
- }
220
- }
221
- InventoryResponseModels.SetRemoveStatusOperationResponse = SetRemoveStatusOperationResponse;
222
- class SetTagOperationResponse extends CustomOperationResponseAbstract {
223
- constructor() {
224
- super();
225
- this.responseDataCls = InventoryModels.EmptyResponseData;
226
- }
227
- }
228
- InventoryResponseModels.SetTagOperationResponse = SetTagOperationResponse;
229
- class GetCreateLeaderboardOperationResponse extends CustomOperationResponseAbstract {
230
- constructor() {
231
- super();
232
- this.responseDataCls = InventoryModels.GetCreateLeaderboardResponseData;
233
- }
234
- }
235
- InventoryResponseModels.GetCreateLeaderboardOperationResponse = GetCreateLeaderboardOperationResponse;
236
- class GetStatisticsLogOperationResponse extends CustomOperationResponseAbstract {
237
- constructor() {
238
- super();
239
- this.responseDataCls = InventoryModels.GetStatisticsLogResponseData;
240
- }
241
- }
242
- InventoryResponseModels.GetStatisticsLogOperationResponse = GetStatisticsLogOperationResponse;
243
- })(InventoryResponseModels || (InventoryResponseModels = {}));