@xmobitea/gn-typescript-client 2.3.2 → 2.3.3-esnext
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/dist/index.d.ts +4 -0
- package/dist/index.js +320 -34955
- package/dist/runtime/GNNetwork.js +238 -0
- package/dist/runtime/GNNetworkAuthenticateApi.js +167 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +1271 -0
- package/dist/runtime/GNNetworkCloudScriptApi.js +143 -0
- package/dist/runtime/GNNetworkContentApi.js +191 -0
- package/dist/runtime/GNNetworkDashboardApi.js +223 -0
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +0 -6
- package/dist/runtime/GNNetworkGamePlayerApi.js +1247 -0
- package/dist/runtime/GNNetworkGroupApi.js +983 -0
- package/dist/runtime/GNNetworkInventoryApi.js +839 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +36 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.js +2071 -0
- package/dist/runtime/GNNetworkMultiplayerApi.js +263 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.js +311 -0
- package/dist/runtime/common/Action0.js +1 -0
- package/dist/runtime/common/Action1.js +1 -0
- package/dist/runtime/common/Action2.js +1 -0
- package/dist/runtime/common/Action3.js +1 -0
- package/dist/runtime/common/Action4.js +1 -0
- package/dist/runtime/common/GNData.js +211 -0
- package/dist/runtime/config/GNServerSettings.js +127 -0
- package/dist/runtime/constant/Commands.js +19 -0
- package/dist/runtime/constant/EventCode.js +8 -0
- package/dist/runtime/constant/OperationCode.d.ts +5 -1
- package/dist/runtime/constant/OperationCode.js +218 -0
- package/dist/runtime/constant/ReturnCode.js +14 -0
- package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
- package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
- package/dist/runtime/constant/enumType/ItemType.js +5 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
- package/dist/runtime/constant/enumType/OwnerType.js +8 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
- package/dist/runtime/constant/enumType/PushPlatformType.d.ts +4 -0
- package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
- package/dist/runtime/constant/enumType/RequestRole.js +6 -0
- package/dist/runtime/constant/enumType/RequestType.js +15 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +7 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +1 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.js +50 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +23 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.js +565 -0
- package/dist/runtime/constant/parameterCode/ParameterCode.js +6 -0
- package/dist/runtime/entity/DataMember.js +208 -0
- package/dist/runtime/entity/GNMetadata.js +11 -0
- package/dist/runtime/entity/InvalidMember.js +1 -0
- package/dist/runtime/entity/OperationEvent.js +32 -0
- package/dist/runtime/entity/OperationHelper.js +23 -0
- package/dist/runtime/entity/OperationRequest.js +50 -0
- package/dist/runtime/entity/OperationResponse.js +81 -0
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +1 -0
- package/dist/runtime/entity/models/AuthenticateModels.js +420 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +206 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.js +1377 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1412 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +143 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
- package/dist/runtime/entity/models/ContentModels.js +211 -0
- package/dist/runtime/entity/models/ContentRequestModels.js +197 -0
- package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +19 -1
- package/dist/runtime/entity/models/DashboardModels.js +2759 -0
- package/dist/runtime/entity/models/DashboardRequestModels.js +283 -0
- package/dist/runtime/entity/models/DashboardResponseModels.js +180 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +0 -11
- package/dist/runtime/entity/models/GamePlayerModels.js +1543 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +0 -15
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +1385 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +0 -3
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +362 -0
- package/dist/runtime/entity/models/GenericModels.js +177 -0
- package/dist/runtime/entity/models/GroupModels.js +1123 -0
- package/dist/runtime/entity/models/GroupRequestModels.js +1088 -0
- package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
- package/dist/runtime/entity/models/InventoryModels.js +903 -0
- package/dist/runtime/entity/models/InventoryRequestModels.js +926 -0
- package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +75 -0
- package/dist/runtime/entity/models/MasterPlayerModels.js +2566 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +90 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2314 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +18 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
- package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +278 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +0 -1
- package/dist/runtime/entity/models/StoreInventoryModels.js +733 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +332 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +89 -0
- package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
- package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
- package/dist/runtime/helper/CodeHelper.js +61 -0
- package/dist/runtime/helper/ConverterService.js +275 -0
- package/dist/runtime/helper/GNSupport.js +8 -0
- package/dist/runtime/logger/GNDebug.js +29 -0
- package/dist/runtime/networking/AuthenticateStatus.js +14 -0
- package/dist/runtime/networking/IPeer.js +1 -0
- package/dist/runtime/networking/NetworkingPeer.js +129 -0
- package/dist/runtime/networking/OperationPending.js +53 -0
- package/dist/runtime/networking/PeerBase.js +168 -0
- package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/http/HttpPeer.js +121 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +146 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +126 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +176 -0
- package/dist/runtime/networking/socket/SocketPeer.js +105 -0
- package/dist/runtime/typescript/ServiceUpdate.js +12 -0
- package/package.json +1 -1
- package/dist/gn.js.client.js +0 -47666
- package/dist/gn.js.client.min.js +0 -2
- package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
|
@@ -1195,4 +1195,94 @@ export declare namespace MasterPlayerRequestModels {
|
|
|
1195
1195
|
protected requestRole: RequestRole;
|
|
1196
1196
|
constructor(requestData: MasterPlayerModels.AdminGetCurrencyLogRequestData, timeout: number);
|
|
1197
1197
|
}
|
|
1198
|
+
class SendSocketOperationEventOperationRequest extends CustomOperationRequestAbstract<MasterPlayerModels.SendSocketOperationEventRequestData> {
|
|
1199
|
+
protected operationCode: number;
|
|
1200
|
+
protected operationEncrypted: boolean;
|
|
1201
|
+
protected requestType: RequestType;
|
|
1202
|
+
protected requestRole: RequestRole;
|
|
1203
|
+
constructor(requestData: MasterPlayerModels.SendSocketOperationEventRequestData, timeout: number);
|
|
1204
|
+
}
|
|
1205
|
+
class ServerSendSocketOperationEventOperationRequest extends SendSocketOperationEventOperationRequest {
|
|
1206
|
+
protected requestRole: RequestRole;
|
|
1207
|
+
constructor(requestData: MasterPlayerModels.ServerSendSocketOperationEventRequestData, timeout: number);
|
|
1208
|
+
}
|
|
1209
|
+
class AdminSendSocketOperationEventOperationRequest extends SendSocketOperationEventOperationRequest {
|
|
1210
|
+
protected requestRole: RequestRole;
|
|
1211
|
+
constructor(requestData: MasterPlayerModels.AdminSendSocketOperationEventRequestData, timeout: number);
|
|
1212
|
+
}
|
|
1213
|
+
class SendEmailOperationRequest extends CustomOperationRequestAbstract<MasterPlayerModels.SendEmailRequestData> {
|
|
1214
|
+
protected operationCode: number;
|
|
1215
|
+
protected operationEncrypted: boolean;
|
|
1216
|
+
protected requestType: RequestType;
|
|
1217
|
+
protected requestRole: RequestRole;
|
|
1218
|
+
constructor(requestData: MasterPlayerModels.SendEmailRequestData, timeout: number);
|
|
1219
|
+
}
|
|
1220
|
+
class ServerSendEmailOperationRequest extends SendEmailOperationRequest {
|
|
1221
|
+
protected requestRole: RequestRole;
|
|
1222
|
+
constructor(requestData: MasterPlayerModels.ServerSendEmailRequestData, timeout: number);
|
|
1223
|
+
}
|
|
1224
|
+
class AdminSendEmailOperationRequest extends SendEmailOperationRequest {
|
|
1225
|
+
protected requestRole: RequestRole;
|
|
1226
|
+
constructor(requestData: MasterPlayerModels.AdminSendEmailRequestData, timeout: number);
|
|
1227
|
+
}
|
|
1228
|
+
class AddPushNotificationOperationRequest extends CustomOperationRequestAbstract<MasterPlayerModels.AddPushNotificationRequestData> {
|
|
1229
|
+
protected operationCode: number;
|
|
1230
|
+
protected operationEncrypted: boolean;
|
|
1231
|
+
protected requestType: RequestType;
|
|
1232
|
+
protected requestRole: RequestRole;
|
|
1233
|
+
constructor(requestData: MasterPlayerModels.AddPushNotificationRequestData, timeout: number);
|
|
1234
|
+
}
|
|
1235
|
+
class ServerAddPushNotificationOperationRequest extends AddPushNotificationOperationRequest {
|
|
1236
|
+
protected requestRole: RequestRole;
|
|
1237
|
+
constructor(requestData: MasterPlayerModels.ServerAddPushNotificationRequestData, timeout: number);
|
|
1238
|
+
}
|
|
1239
|
+
class AdminAddPushNotificationOperationRequest extends AddPushNotificationOperationRequest {
|
|
1240
|
+
protected requestRole: RequestRole;
|
|
1241
|
+
constructor(requestData: MasterPlayerModels.AdminAddPushNotificationRequestData, timeout: number);
|
|
1242
|
+
}
|
|
1243
|
+
class RemovePushNotificationOperationRequest extends CustomOperationRequestAbstract<MasterPlayerModels.RemovePushNotificationRequestData> {
|
|
1244
|
+
protected operationCode: number;
|
|
1245
|
+
protected operationEncrypted: boolean;
|
|
1246
|
+
protected requestType: RequestType;
|
|
1247
|
+
protected requestRole: RequestRole;
|
|
1248
|
+
constructor(requestData: MasterPlayerModels.RemovePushNotificationRequestData, timeout: number);
|
|
1249
|
+
}
|
|
1250
|
+
class ServerRemovePushNotificationOperationRequest extends RemovePushNotificationOperationRequest {
|
|
1251
|
+
protected requestRole: RequestRole;
|
|
1252
|
+
constructor(requestData: MasterPlayerModels.ServerRemovePushNotificationRequestData, timeout: number);
|
|
1253
|
+
}
|
|
1254
|
+
class AdminRemovePushNotificationOperationRequest extends RemovePushNotificationOperationRequest {
|
|
1255
|
+
protected requestRole: RequestRole;
|
|
1256
|
+
constructor(requestData: MasterPlayerModels.AdminRemovePushNotificationRequestData, timeout: number);
|
|
1257
|
+
}
|
|
1258
|
+
class GetPushNotificationOperationRequest extends CustomOperationRequestAbstract<MasterPlayerModels.GetPushNotificationRequestData> {
|
|
1259
|
+
protected operationCode: number;
|
|
1260
|
+
protected operationEncrypted: boolean;
|
|
1261
|
+
protected requestType: RequestType;
|
|
1262
|
+
protected requestRole: RequestRole;
|
|
1263
|
+
constructor(requestData: MasterPlayerModels.GetPushNotificationRequestData, timeout: number);
|
|
1264
|
+
}
|
|
1265
|
+
class ServerGetPushNotificationOperationRequest extends GetPushNotificationOperationRequest {
|
|
1266
|
+
protected requestRole: RequestRole;
|
|
1267
|
+
constructor(requestData: MasterPlayerModels.ServerGetPushNotificationRequestData, timeout: number);
|
|
1268
|
+
}
|
|
1269
|
+
class AdminGetPushNotificationOperationRequest extends GetPushNotificationOperationRequest {
|
|
1270
|
+
protected requestRole: RequestRole;
|
|
1271
|
+
constructor(requestData: MasterPlayerModels.AdminGetPushNotificationRequestData, timeout: number);
|
|
1272
|
+
}
|
|
1273
|
+
class SendPushNotificationOperationRequest extends CustomOperationRequestAbstract<MasterPlayerModels.SendPushNotificationRequestData> {
|
|
1274
|
+
protected operationCode: number;
|
|
1275
|
+
protected operationEncrypted: boolean;
|
|
1276
|
+
protected requestType: RequestType;
|
|
1277
|
+
protected requestRole: RequestRole;
|
|
1278
|
+
constructor(requestData: MasterPlayerModels.SendPushNotificationRequestData, timeout: number);
|
|
1279
|
+
}
|
|
1280
|
+
class ServerSendPushNotificationOperationRequest extends SendPushNotificationOperationRequest {
|
|
1281
|
+
protected requestRole: RequestRole;
|
|
1282
|
+
constructor(requestData: MasterPlayerModels.ServerSendPushNotificationRequestData, timeout: number);
|
|
1283
|
+
}
|
|
1284
|
+
class AdminSendPushNotificationOperationRequest extends SendPushNotificationOperationRequest {
|
|
1285
|
+
protected requestRole: RequestRole;
|
|
1286
|
+
constructor(requestData: MasterPlayerModels.AdminSendPushNotificationRequestData, timeout: number);
|
|
1287
|
+
}
|
|
1198
1288
|
}
|