@xmobitea/gn-typescript-client 2.1.7 → 2.3.0-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/GNServerSettingsConfig.debug.json +3 -3
- package/dist/index.js +314 -33908
- 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.d.ts +14 -0
- package/dist/runtime/GNNetworkDashboardApi.js +223 -0
- package/dist/runtime/GNNetworkGamePlayerApi.js +1271 -0
- package/dist/runtime/GNNetworkGroupApi.js +983 -0
- package/dist/runtime/GNNetworkInventoryApi.js +839 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.js +1927 -0
- package/dist/runtime/GNNetworkMultiplayerApi.js +263 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +12 -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 +10 -0
- package/dist/runtime/constant/OperationCode.js +214 -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.d.ts +2 -1
- package/dist/runtime/constant/enumType/OwnerType.js +8 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.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/errorCode/GNErrorCode.d.ts +1 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.js +49 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +53 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.js +537 -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.js +416 -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.d.ts +5 -1
- 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.d.ts +0 -1
- 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 +121 -0
- package/dist/runtime/entity/models/DashboardModels.js +2674 -0
- package/dist/runtime/entity/models/DashboardRequestModels.d.ts +49 -0
- package/dist/runtime/entity/models/DashboardRequestModels.js +283 -0
- package/dist/runtime/entity/models/DashboardResponseModels.d.ts +21 -0
- package/dist/runtime/entity/models/DashboardResponseModels.js +180 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +5 -1
- package/dist/runtime/entity/models/GamePlayerModels.js +1569 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +1412 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/GenericModels.js +177 -0
- package/dist/runtime/entity/models/GroupModels.d.ts +5 -1
- 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.d.ts +5 -1
- 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 +5 -1
- package/dist/runtime/entity/models/MasterPlayerModels.js +2371 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2152 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +565 -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 +60 -3
- package/dist/runtime/entity/models/StoreInventoryModels.js +737 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +30 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +332 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +6 -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 -46619
- package/dist/gn.js.client.min.js +0 -2
- package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
|
@@ -26,6 +26,7 @@ export declare namespace DashboardModels {
|
|
|
26
26
|
class TagSettingsParam {
|
|
27
27
|
key: string;
|
|
28
28
|
displayName?: string;
|
|
29
|
+
index: boolean;
|
|
29
30
|
}
|
|
30
31
|
class DataSettingsParam {
|
|
31
32
|
key: string;
|
|
@@ -36,11 +37,15 @@ export declare namespace DashboardModels {
|
|
|
36
37
|
statisticsAggregationMethod: number;
|
|
37
38
|
maximumValue?: number;
|
|
38
39
|
minimumValue?: number;
|
|
40
|
+
initialValue: number;
|
|
41
|
+
displayName: string;
|
|
42
|
+
index: boolean;
|
|
39
43
|
}
|
|
40
44
|
class CurrencySettingsParam {
|
|
41
45
|
key: string;
|
|
42
46
|
initialValue: number;
|
|
43
47
|
displayName: string;
|
|
48
|
+
index: boolean;
|
|
44
49
|
}
|
|
45
50
|
class CharacterCatalogSettingsParam {
|
|
46
51
|
catalogId: string;
|
|
@@ -333,6 +338,13 @@ export declare namespace DashboardModels {
|
|
|
333
338
|
getSecretInfoList?: PermissionRulesParam;
|
|
334
339
|
grantSecretInfo?: PermissionRulesParam;
|
|
335
340
|
setSecretInfoInformation?: PermissionRulesParam;
|
|
341
|
+
getUsernameAdminAccount?: PermissionRulesParam;
|
|
342
|
+
getAnalytics?: PermissionRulesParam;
|
|
343
|
+
getEventCallbackCloudScript?: PermissionRulesParam;
|
|
344
|
+
setEventCallbackCloudScript?: PermissionRulesParam;
|
|
345
|
+
resetStatisticsLeaderboard?: PermissionRulesParam;
|
|
346
|
+
getBackupStatisticsLeaderboardVersion?: PermissionRulesParam;
|
|
347
|
+
getServerGameData?: PermissionRulesParam;
|
|
336
348
|
}
|
|
337
349
|
class MultiplayerPermissionRulesParam {
|
|
338
350
|
cancelAllMatchmakingTicket?: PermissionRulesParam;
|
|
@@ -512,6 +524,8 @@ export declare namespace DashboardModels {
|
|
|
512
524
|
validateGooglePlayStoreReceipt?: PermissionRulesParam;
|
|
513
525
|
validateFacebookStoreReceipt?: PermissionRulesParam;
|
|
514
526
|
getCreateLeaderboard?: PermissionRulesParam;
|
|
527
|
+
presentStoreItem?: PermissionRulesParam;
|
|
528
|
+
getStoreLog?: PermissionRulesParam;
|
|
515
529
|
}
|
|
516
530
|
class CloudScriptPermissionRulesParam {
|
|
517
531
|
executeFunction?: PermissionRulesParam;
|
|
@@ -567,6 +581,7 @@ export declare namespace DashboardModels {
|
|
|
567
581
|
secretKey?: string;
|
|
568
582
|
gameId?: string;
|
|
569
583
|
role: number;
|
|
584
|
+
permissionParam?: PermissionParam;
|
|
570
585
|
}
|
|
571
586
|
class LoginByAdminAccountRequestData {
|
|
572
587
|
username: string;
|
|
@@ -601,6 +616,43 @@ export declare namespace DashboardModels {
|
|
|
601
616
|
userId: string;
|
|
602
617
|
secretKey: string;
|
|
603
618
|
}
|
|
619
|
+
class GetAnalyticsRequestData {
|
|
620
|
+
timestamp?: number;
|
|
621
|
+
analyticsItem?: boolean;
|
|
622
|
+
country?: boolean;
|
|
623
|
+
}
|
|
624
|
+
class GetUsernameAdminAccountRequestData {
|
|
625
|
+
userId: string;
|
|
626
|
+
}
|
|
627
|
+
class GetEventCallbackCloudScriptRequestData {
|
|
628
|
+
}
|
|
629
|
+
class SetEventCallbackCloudScriptRequestData {
|
|
630
|
+
eventName: string;
|
|
631
|
+
script: string;
|
|
632
|
+
}
|
|
633
|
+
class ResetStatisticsLeaderboardRequestData {
|
|
634
|
+
type: number;
|
|
635
|
+
key: string;
|
|
636
|
+
version: string;
|
|
637
|
+
gameId: string;
|
|
638
|
+
log?: string;
|
|
639
|
+
}
|
|
640
|
+
class GetBackupStatisticsLeaderboardVersionRequestData {
|
|
641
|
+
gameId: string;
|
|
642
|
+
type: number;
|
|
643
|
+
key: string;
|
|
644
|
+
}
|
|
645
|
+
class GetServerGameDataRequestData {
|
|
646
|
+
gameId: string;
|
|
647
|
+
masterPlayerCount?: boolean;
|
|
648
|
+
gamePlayerCount?: boolean;
|
|
649
|
+
characterPlayerCount?: boolean;
|
|
650
|
+
inventoryCount?: boolean;
|
|
651
|
+
storeInventoryCount?: boolean;
|
|
652
|
+
groupCount?: boolean;
|
|
653
|
+
country?: boolean;
|
|
654
|
+
version?: boolean;
|
|
655
|
+
}
|
|
604
656
|
class AdminAccountResponseData {
|
|
605
657
|
userId: string;
|
|
606
658
|
username: string;
|
|
@@ -657,6 +709,75 @@ export declare namespace DashboardModels {
|
|
|
657
709
|
class GetServerLogResponseData {
|
|
658
710
|
results: Array<string>;
|
|
659
711
|
}
|
|
712
|
+
class CountryRegionResponseData {
|
|
713
|
+
regionCode: string;
|
|
714
|
+
regionName: string;
|
|
715
|
+
ccu: number;
|
|
716
|
+
latitude: number;
|
|
717
|
+
longitude: number;
|
|
718
|
+
}
|
|
719
|
+
class CountryResponseData {
|
|
720
|
+
countryCode: string;
|
|
721
|
+
regions: Array<CountryRegionResponseData>;
|
|
722
|
+
}
|
|
723
|
+
class AnalyticsItemResponseData {
|
|
724
|
+
ccu: number;
|
|
725
|
+
dau: number;
|
|
726
|
+
dauSince0h: number;
|
|
727
|
+
dnu: number;
|
|
728
|
+
dnuSince0h: number;
|
|
729
|
+
drt: number;
|
|
730
|
+
drtSince0h: number;
|
|
731
|
+
mau: number;
|
|
732
|
+
mauSince0h1: number;
|
|
733
|
+
mnu: number;
|
|
734
|
+
mnuSince0h1: number;
|
|
735
|
+
mrt: number;
|
|
736
|
+
mrtSince0h1: number;
|
|
737
|
+
analyticsPrice: number;
|
|
738
|
+
}
|
|
739
|
+
class GetAnalyticsResponseData {
|
|
740
|
+
analyticsItem?: AnalyticsItemResponseData;
|
|
741
|
+
country?: Array<CountryResponseData>;
|
|
742
|
+
}
|
|
743
|
+
class GetUsernameAdminAccountResponseData {
|
|
744
|
+
username: string;
|
|
745
|
+
}
|
|
746
|
+
class ChildScriptResponseData {
|
|
747
|
+
eventName: string;
|
|
748
|
+
script: string;
|
|
749
|
+
hasEdit: boolean;
|
|
750
|
+
}
|
|
751
|
+
class EventCallbackCloudScriptResponseData {
|
|
752
|
+
type: string;
|
|
753
|
+
tsCreate: number;
|
|
754
|
+
version: string;
|
|
755
|
+
childScripts: Array<ChildScriptResponseData>;
|
|
756
|
+
}
|
|
757
|
+
class GetEventCallbackCloudScriptResponseData {
|
|
758
|
+
results: Array<EventCallbackCloudScriptResponseData>;
|
|
759
|
+
}
|
|
760
|
+
class SetEventCallbackCloudScriptResponseData {
|
|
761
|
+
errorMessage: string;
|
|
762
|
+
}
|
|
763
|
+
class BackupStatisticsLeaderboardVersionResponseData {
|
|
764
|
+
version: string;
|
|
765
|
+
log: string;
|
|
766
|
+
tsCreate: number;
|
|
767
|
+
}
|
|
768
|
+
class GetBackupStatisticsLeaderboardVersionResponseData {
|
|
769
|
+
results: Array<BackupStatisticsLeaderboardVersionResponseData>;
|
|
770
|
+
}
|
|
771
|
+
class GetServerGameDataResponseData {
|
|
772
|
+
masterPlayerCount?: number;
|
|
773
|
+
gamePlayerCount?: number;
|
|
774
|
+
characterPlayerCount?: number;
|
|
775
|
+
inventoryCount?: number;
|
|
776
|
+
storeInventoryCount?: number;
|
|
777
|
+
groupCount?: number;
|
|
778
|
+
country?: Array<CountryResponseData>;
|
|
779
|
+
version?: string;
|
|
780
|
+
}
|
|
660
781
|
class EmptyResponseData {
|
|
661
782
|
}
|
|
662
783
|
}
|