com.beanbag.huaweiads 0.0.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.
- package/Documentation.md +9 -0
- package/Documentation.md.meta +7 -0
- package/Editor/Editor/Extensions/ActionExtensions.cs +32 -0
- package/Editor/Editor/Extensions/ActionExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions/CollectionExtensions.cs +36 -0
- package/Editor/Editor/Extensions/CollectionExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions/StringExtensions.cs +119 -0
- package/Editor/Editor/Extensions/StringExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions/WindowExtensions.cs +59 -0
- package/Editor/Editor/Extensions/WindowExtensions.cs.meta +11 -0
- package/Editor/Editor/Extensions.meta +8 -0
- package/Editor/Editor/General/UI/Button/Button.cs +143 -0
- package/Editor/Editor/General/UI/Button/Button.cs.meta +11 -0
- package/Editor/Editor/General/UI/Button/Clickable.cs +30 -0
- package/Editor/Editor/General/UI/Button/Clickable.cs.meta +11 -0
- package/Editor/Editor/General/UI/Button.meta +8 -0
- package/Editor/Editor/General/UI/Collections/IReadOnlyList.cs +10 -0
- package/Editor/Editor/General/UI/Collections/IReadOnlyList.cs.meta +11 -0
- package/Editor/Editor/General/UI/Collections.meta +8 -0
- package/Editor/Editor/General/UI/ConditionalDrawer.cs +25 -0
- package/Editor/Editor/General/UI/ConditionalDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/CustomEditorDrawer.cs +12 -0
- package/Editor/Editor/General/UI/CustomEditorDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Depth.cs +27 -0
- package/Editor/Editor/General/UI/Depth.cs.meta +11 -0
- package/Editor/Editor/General/UI/DisabledDrawer.cs +53 -0
- package/Editor/Editor/General/UI/DisabledDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/EnumDropdown.cs +35 -0
- package/Editor/Editor/General/UI/Dropdown/EnumDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/EnumFlagsDropdown.cs +24 -0
- package/Editor/Editor/General/UI/Dropdown/EnumFlagsDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/IDropdown.cs +9 -0
- package/Editor/Editor/General/UI/Dropdown/IDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown/StringDropdown.cs +46 -0
- package/Editor/Editor/General/UI/Dropdown/StringDropdown.cs.meta +11 -0
- package/Editor/Editor/General/UI/Dropdown.meta +8 -0
- package/Editor/Editor/General/UI/Focusable.cs +53 -0
- package/Editor/Editor/General/UI/Focusable.cs.meta +11 -0
- package/Editor/Editor/General/UI/Foldout.cs +61 -0
- package/Editor/Editor/General/UI/Foldout.cs.meta +11 -0
- package/Editor/Editor/General/UI/HelpBox/HelpBox.cs +42 -0
- package/Editor/Editor/General/UI/HelpBox/HelpBox.cs.meta +11 -0
- package/Editor/Editor/General/UI/HelpBox/RichHelpBox.cs +35 -0
- package/Editor/Editor/General/UI/HelpBox/RichHelpBox.cs.meta +11 -0
- package/Editor/Editor/General/UI/HelpBox.meta +8 -0
- package/Editor/Editor/General/UI/HorizontalLine.cs +13 -0
- package/Editor/Editor/General/UI/HorizontalLine.cs.meta +11 -0
- package/Editor/Editor/General/UI/IDrawer.cs +7 -0
- package/Editor/Editor/General/UI/IDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Image/Image.cs +49 -0
- package/Editor/Editor/General/UI/Image/Image.cs.meta +11 -0
- package/Editor/Editor/General/UI/Image.meta +8 -0
- package/Editor/Editor/General/UI/InlineGroup.cs +41 -0
- package/Editor/Editor/General/UI/InlineGroup.cs.meta +11 -0
- package/Editor/Editor/General/UI/Label/DelegatedLabel.cs +31 -0
- package/Editor/Editor/General/UI/Label/DelegatedLabel.cs.meta +11 -0
- package/Editor/Editor/General/UI/Label/Label.cs +133 -0
- package/Editor/Editor/General/UI/Label/Label.cs.meta +11 -0
- package/Editor/Editor/General/UI/Label.meta +8 -0
- package/Editor/Editor/General/UI/List/AlteratingListDrawer.cs +93 -0
- package/Editor/Editor/General/UI/List/AlteratingListDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/List/ListDrawer.cs +77 -0
- package/Editor/Editor/General/UI/List/ListDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/List.meta +8 -0
- package/Editor/Editor/General/UI/LongProcess.cs +24 -0
- package/Editor/Editor/General/UI/LongProcess.cs.meta +11 -0
- package/Editor/Editor/General/UI/Menu/EditableMenu.cs +46 -0
- package/Editor/Editor/General/UI/Menu/EditableMenu.cs.meta +11 -0
- package/Editor/Editor/General/UI/Menu/Menu.cs +55 -0
- package/Editor/Editor/General/UI/Menu/Menu.cs.meta +11 -0
- package/Editor/Editor/General/UI/Menu.meta +8 -0
- package/Editor/Editor/General/UI/PersistentFoldout.cs +72 -0
- package/Editor/Editor/General/UI/PersistentFoldout.cs.meta +11 -0
- package/Editor/Editor/General/UI/ScrollView/ScrollView.cs +16 -0
- package/Editor/Editor/General/UI/ScrollView/ScrollView.cs.meta +11 -0
- package/Editor/Editor/General/UI/ScrollView.meta +8 -0
- package/Editor/Editor/General/UI/Sequence/EmptySequenceDrawer.cs +33 -0
- package/Editor/Editor/General/UI/Sequence/EmptySequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence/HorizontalSequenceDrawer.cs +18 -0
- package/Editor/Editor/General/UI/Sequence/HorizontalSequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence/SequenceDrawer.cs +74 -0
- package/Editor/Editor/General/UI/Sequence/SequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence/VerticalSequenceDrawer.cs +28 -0
- package/Editor/Editor/General/UI/Sequence/VerticalSequenceDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Sequence.meta +8 -0
- package/Editor/Editor/General/UI/Space.cs +19 -0
- package/Editor/Editor/General/UI/Space.cs.meta +11 -0
- package/Editor/Editor/General/UI/Spacer.cs +13 -0
- package/Editor/Editor/General/UI/Spacer.cs.meta +11 -0
- package/Editor/Editor/General/UI/TabBar/TabBar.cs +42 -0
- package/Editor/Editor/General/UI/TabBar/TabBar.cs.meta +11 -0
- package/Editor/Editor/General/UI/TabBar/TabView.cs +13 -0
- package/Editor/Editor/General/UI/TabBar/TabView.cs.meta +11 -0
- package/Editor/Editor/General/UI/TabBar.meta +8 -0
- package/Editor/Editor/General/UI/TextArea/TextArea.cs +74 -0
- package/Editor/Editor/General/UI/TextArea/TextArea.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextArea.meta +8 -0
- package/Editor/Editor/General/UI/TextField/ReturnChecker.cs +40 -0
- package/Editor/Editor/General/UI/TextField/ReturnChecker.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextField/TextField.cs +169 -0
- package/Editor/Editor/General/UI/TextField/TextField.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextField/TextFieldWithAccept.cs +65 -0
- package/Editor/Editor/General/UI/TextField/TextFieldWithAccept.cs.meta +11 -0
- package/Editor/Editor/General/UI/TextField.meta +8 -0
- package/Editor/Editor/General/UI/TimedDrawer.cs +35 -0
- package/Editor/Editor/General/UI/TimedDrawer.cs.meta +11 -0
- package/Editor/Editor/General/UI/Toggle/Toggle.cs +67 -0
- package/Editor/Editor/General/UI/Toggle/Toggle.cs.meta +11 -0
- package/Editor/Editor/General/UI/Toggle/ToggledTextFieldWithButton.cs +41 -0
- package/Editor/Editor/General/UI/Toggle/ToggledTextFieldWithButton.cs.meta +11 -0
- package/Editor/Editor/General/UI/Toggle.meta +8 -0
- package/Editor/Editor/General/UI/Window/DisplayDialog.cs +55 -0
- package/Editor/Editor/General/UI/Window/DisplayDialog.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window/HMSEditorWindow.cs +60 -0
- package/Editor/Editor/General/UI/Window/HMSEditorWindow.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window/ModalDialog.cs +93 -0
- package/Editor/Editor/General/UI/Window/ModalDialog.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window/ModalWindow.cs +88 -0
- package/Editor/Editor/General/UI/Window/ModalWindow.cs.meta +11 -0
- package/Editor/Editor/General/UI/Window.meta +8 -0
- package/Editor/Editor/General/UI.meta +8 -0
- package/Editor/Editor/General.meta +8 -0
- package/Editor/Editor/HuaweiAdsFileCopier.cs +62 -0
- package/Editor/Editor/HuaweiAdsFileCopier.cs.meta +11 -0
- package/Editor/Editor/HuaweiMobileServices.Editor.asmdef +17 -0
- package/Editor/Editor/HuaweiMobileServices.Editor.asmdef.meta +7 -0
- package/Editor/Editor/Utils/HMSEditorUtils.cs +490 -0
- package/Editor/Editor/Utils/HMSEditorUtils.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSExcelHelper.cs +50 -0
- package/Editor/Editor/Utils/HMSExcelHelper.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSGradleFixer.cs +178 -0
- package/Editor/Editor/Utils/HMSGradleFixer.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSGradleWorker.cs +316 -0
- package/Editor/Editor/Utils/HMSGradleWorker.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSPackageChecker.cs +26 -0
- package/Editor/Editor/Utils/HMSPackageChecker.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSPluginUpdater.cs +208 -0
- package/Editor/Editor/Utils/HMSPluginUpdater.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSPluginUpdaterInit.cs +20 -0
- package/Editor/Editor/Utils/HMSPluginUpdaterInit.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSWebRequestHelper.cs +388 -0
- package/Editor/Editor/Utils/HMSWebRequestHelper.cs.meta +11 -0
- package/Editor/Editor/Utils/HMSWebUtils.cs +113 -0
- package/Editor/Editor/Utils/HMSWebUtils.cs.meta +11 -0
- package/Editor/Editor/Utils.meta +8 -0
- package/Editor/Editor/View/AdsTab/HMSAdsSettingsDrawer.cs +427 -0
- package/Editor/Editor/View/AdsTab/HMSAdsSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/AdsTab/HMSAdsTabFactory.cs +14 -0
- package/Editor/Editor/View/AdsTab/HMSAdsTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/AdsTab.meta +8 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBSettingsDrawer.cs +208 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBTabFactory.cs +13 -0
- package/Editor/Editor/View/CloudDBTab/HMSCloudDBTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/CloudDBTab.meta +8 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPITabFactory.cs +30 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPITabFactory.cs.meta +11 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPIWindow.cs +22 -0
- package/Editor/Editor/View/ConnectAPI/HMSConnectAPIWindow.cs.meta +11 -0
- package/Editor/Editor/View/ConnectAPI/TokenObtainerEditor.cs +43 -0
- package/Editor/Editor/View/ConnectAPI/TokenObtainerEditor.cs.meta +11 -0
- package/Editor/Editor/View/ConnectAPI.meta +8 -0
- package/Editor/Editor/View/GameServiceTab/AchievementsManipulator.cs +92 -0
- package/Editor/Editor/View/GameServiceTab/AchievementsManipulator.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSAchievementsAdderDrawer.cs +35 -0
- package/Editor/Editor/View/GameServiceTab/HMSAchievementsAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceSettingsDrawer.cs +138 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceTabFactory.cs +13 -0
- package/Editor/Editor/View/GameServiceTab/HMSGameServiceTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/HMSLeaderboardAdderDrawer.cs +34 -0
- package/Editor/Editor/View/GameServiceTab/HMSLeaderboardAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab/LeaderboardManipulator.cs +92 -0
- package/Editor/Editor/View/GameServiceTab/LeaderboardManipulator.cs.meta +11 -0
- package/Editor/Editor/View/GameServiceTab.meta +8 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPProductAdderDrawer.cs +36 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPProductAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPSettingsDrawer.cs +195 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPTabFactory.cs +14 -0
- package/Editor/Editor/View/InAppPurchaseTab/HMSIAPTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab/IAPProductManipulator.cs +111 -0
- package/Editor/Editor/View/InAppPurchaseTab/IAPProductManipulator.cs.meta +11 -0
- package/Editor/Editor/View/InAppPurchaseTab.meta +8 -0
- package/Editor/Editor/View/KeyToolTab/HMSKeyToolWindow.cs +240 -0
- package/Editor/Editor/View/KeyToolTab/HMSKeyToolWindow.cs.meta +11 -0
- package/Editor/Editor/View/KeyToolTab.meta +8 -0
- package/Editor/Editor/View/KitSettingsTab/APMToggleEditor.cs +59 -0
- package/Editor/Editor/View/KitSettingsTab/APMToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AccountToggleEditor.cs +78 -0
- package/Editor/Editor/View/KitSettingsTab/AccountToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AdsToggleEditor.cs +76 -0
- package/Editor/Editor/View/KitSettingsTab/AdsToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AnalyticsToggleEditor.cs +92 -0
- package/Editor/Editor/View/KitSettingsTab/AnalyticsToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AppLinkingToggleEditor.cs +67 -0
- package/Editor/Editor/View/KitSettingsTab/AppLinkingToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AppMessagingToggleEditor.cs +57 -0
- package/Editor/Editor/View/KitSettingsTab/AppMessagingToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/AuthToggleEditor.cs +71 -0
- package/Editor/Editor/View/KitSettingsTab/AuthToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/CloudDBToggleEditor.cs +80 -0
- package/Editor/Editor/View/KitSettingsTab/CloudDBToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/CloudStorageToggleEditor.cs +64 -0
- package/Editor/Editor/View/KitSettingsTab/CloudStorageToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/CrashToggleEditor.cs +63 -0
- package/Editor/Editor/View/KitSettingsTab/CrashToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/DriveKitToggleEditor.cs +74 -0
- package/Editor/Editor/View/KitSettingsTab/DriveKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/GameServiceToggleEditor.cs +81 -0
- package/Editor/Editor/View/KitSettingsTab/GameServiceToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/HelpboxAGConnectFile.cs +24 -0
- package/Editor/Editor/View/KitSettingsTab/HelpboxAGConnectFile.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/IAPToggleEditor.cs +76 -0
- package/Editor/Editor/View/KitSettingsTab/IAPToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/LocationToogleEditor.cs +66 -0
- package/Editor/Editor/View/KitSettingsTab/LocationToogleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/MLKitToggleEditor.cs +87 -0
- package/Editor/Editor/View/KitSettingsTab/MLKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/Modeling3dKitToggleEditor.cs +75 -0
- package/Editor/Editor/View/KitSettingsTab/Modeling3dKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/NearbyServiceToggleEditor.cs +56 -0
- package/Editor/Editor/View/KitSettingsTab/NearbyServiceToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/PluginToggleEditor.cs +58 -0
- package/Editor/Editor/View/KitSettingsTab/PluginToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/PushToggleEditor.cs +71 -0
- package/Editor/Editor/View/KitSettingsTab/PushToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/RemoteConfigToggleEditor.cs +80 -0
- package/Editor/Editor/View/KitSettingsTab/RemoteConfigToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/ScanKitToggleEditor.cs +59 -0
- package/Editor/Editor/View/KitSettingsTab/ScanKitToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab/ToggleEditor.cs +12 -0
- package/Editor/Editor/View/KitSettingsTab/ToggleEditor.cs.meta +11 -0
- package/Editor/Editor/View/KitSettingsTab.meta +8 -0
- package/Editor/Editor/View/LibrariesTab/HMSLibrariesDrawer.cs +65 -0
- package/Editor/Editor/View/LibrariesTab/HMSLibrariesDrawer.cs.meta +11 -0
- package/Editor/Editor/View/LibrariesTab.meta +8 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitSettingsDrawer.cs +145 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitTabFactory.cs +15 -0
- package/Editor/Editor/View/MLKitTab/HMSMLKitTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/MLKitTab.meta +8 -0
- package/Editor/Editor/View/MainWindow/HMSMainKitsTabFactory.cs +136 -0
- package/Editor/Editor/View/MainWindow/HMSMainKitsTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/MainWindow/HMSMainWindow.cs +60 -0
- package/Editor/Editor/View/MainWindow/HMSMainWindow.cs.meta +11 -0
- package/Editor/Editor/View/MainWindow.meta +8 -0
- package/Editor/Editor/View/ModelingTab/ModelingSettingsDrawer.cs +43 -0
- package/Editor/Editor/View/ModelingTab/ModelingSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/ModelingTab/ModelingTabFactory.cs +12 -0
- package/Editor/Editor/View/ModelingTab/ModelingTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/ModelingTab.meta +8 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/AllIAPProductsEditor.cs +192 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/AllIAPProductsEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/HMSAllIAPProductsWindow.cs +34 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/HMSAllIAPProductsWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/IAPQueryListEditor.cs +41 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/IAPQueryListEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/HMSUpdateIAPProductWindow.cs +24 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/HMSUpdateIAPProductWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/UpdateIAPProductEditor.cs +269 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow/UpdateIAPProductEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow/UpdateIAPProductWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/AllIAPProductsWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/CreateProductEditor.cs +452 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/CreateProductEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/HMSCreateAProductWindow.cs +34 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/HMSCreateAProductWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/LanguagesFoldoutEditor.cs +96 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow/LanguagesFoldoutEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateAProductWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/CreateProductsEditor.cs +322 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/CreateProductsEditor.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCSVReader.cs +53 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCSVReader.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCreateProductsWindow.cs +34 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow/HMSCreateProductsWindow.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow/CreateProductsWindow.meta +8 -0
- package/Editor/Editor/View/PMSWindow/HMSPMSAPITabFactory.cs +40 -0
- package/Editor/Editor/View/PMSWindow/HMSPMSAPITabFactory.cs.meta +11 -0
- package/Editor/Editor/View/PMSWindow.meta +8 -0
- package/Editor/Editor/View/PublishingAPI/HMSPublishingAPITabFactory.cs +15 -0
- package/Editor/Editor/View/PublishingAPI/HMSPublishingAPITabFactory.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/HelpBoxEnablingAppSigning.cs +22 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/HelpBoxEnablingAppSigning.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoEditor.cs +546 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoEditor.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoWindow.cs +32 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation/QueryingAppInfoWindow.cs.meta +11 -0
- package/Editor/Editor/View/PublishingAPI/QueryingAppInformation.meta +8 -0
- package/Editor/Editor/View/PublishingAPI.meta +8 -0
- package/Editor/Editor/View/RemoteConfigTab/DefaultValueManipulator.cs +115 -0
- package/Editor/Editor/View/RemoteConfigTab/DefaultValueManipulator.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigAdderDrawer.cs +33 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigAdderDrawer.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigSettingsDrawer.cs +103 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigSettingsDrawer.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigTabFactory.cs +14 -0
- package/Editor/Editor/View/RemoteConfigTab/HMSRemoteConfigTabFactory.cs.meta +11 -0
- package/Editor/Editor/View/RemoteConfigTab.meta +8 -0
- package/Editor/Editor/View/Utils/CompilationWindow.cs +46 -0
- package/Editor/Editor/View/Utils/CompilationWindow.cs.meta +11 -0
- package/Editor/Editor/View/Utils/ICollectionManipulator.cs +9 -0
- package/Editor/Editor/View/Utils/ICollectionManipulator.cs.meta +11 -0
- package/Editor/Editor/View/Utils/WindowEditRedirect.cs +18 -0
- package/Editor/Editor/View/Utils/WindowEditRedirect.cs.meta +11 -0
- package/Editor/Editor/View/Utils.meta +8 -0
- package/Editor/Editor/View.meta +8 -0
- package/Editor/Editor.meta +8 -0
- package/Editor.meta +8 -0
- package/LICENSE.md +9 -0
- package/LICENSE.md.meta +7 -0
- package/ReadMe.md +2 -0
- package/ReadMe.md.meta +7 -0
- package/Runtime/Demos/APM/APMDemo.unity +2375 -0
- package/Runtime/Demos/APM/APMDemo.unity.meta +7 -0
- package/Runtime/Demos/APM/APMDemoManager.cs +105 -0
- package/Runtime/Demos/APM/APMDemoManager.cs.meta +11 -0
- package/Runtime/Demos/APM/APMDemoUIView.cs +76 -0
- package/Runtime/Demos/APM/APMDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/APM.meta +8 -0
- package/Runtime/Demos/Account/AccountDemo.unity +1255 -0
- package/Runtime/Demos/Account/AccountDemo.unity.meta +7 -0
- package/Runtime/Demos/Account/AccountDemoManager.cs +79 -0
- package/Runtime/Demos/Account/AccountDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Account/AccountUIView.cs +72 -0
- package/Runtime/Demos/Account/AccountUIView.cs.meta +11 -0
- package/Runtime/Demos/Account.meta +8 -0
- package/Runtime/Demos/Ads/AdsDemo.unity +2332 -0
- package/Runtime/Demos/Ads/AdsDemo.unity.meta +7 -0
- package/Runtime/Demos/Ads/AdsDemoManager.cs +257 -0
- package/Runtime/Demos/Ads/AdsDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Ads/AdsUIView.cs +87 -0
- package/Runtime/Demos/Ads/AdsUIView.cs.meta +11 -0
- package/Runtime/Demos/Ads/InstallReferrer/Demo.unity +344 -0
- package/Runtime/Demos/Ads/InstallReferrer/Demo.unity.meta +7 -0
- package/Runtime/Demos/Ads/InstallReferrer/InstallReferrerDemo.cs +55 -0
- package/Runtime/Demos/Ads/InstallReferrer/InstallReferrerDemo.cs.meta +11 -0
- package/Runtime/Demos/Ads/InstallReferrer.meta +8 -0
- package/Runtime/Demos/Ads.meta +8 -0
- package/Runtime/Demos/Analytics/AnalyticsDemo.unity +1918 -0
- package/Runtime/Demos/Analytics/AnalyticsDemo.unity.meta +11 -0
- package/Runtime/Demos/Analytics/AnalyticsDemoManager.cs +46 -0
- package/Runtime/Demos/Analytics/AnalyticsDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Analytics/AnalyticsUIView.cs +49 -0
- package/Runtime/Demos/Analytics/AnalyticsUIView.cs.meta +11 -0
- package/Runtime/Demos/Analytics.meta +8 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.cs +144 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.cs.meta +11 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.unity +1709 -0
- package/Runtime/Demos/AppLinking/AppLinkingDemo.unity.meta +7 -0
- package/Runtime/Demos/AppLinking/AppLinkingUIView.cs +108 -0
- package/Runtime/Demos/AppLinking/AppLinkingUIView.cs.meta +11 -0
- package/Runtime/Demos/AppLinking.meta +8 -0
- package/Runtime/Demos/AppMessaging/AppMessaging.unity +541 -0
- package/Runtime/Demos/AppMessaging/AppMessaging.unity.meta +7 -0
- package/Runtime/Demos/AppMessaging/AppMessagingDemoManager.cs +28 -0
- package/Runtime/Demos/AppMessaging/AppMessagingDemoManager.cs.meta +11 -0
- package/Runtime/Demos/AppMessaging.meta +8 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.cs +204 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.cs.meta +11 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.unity +5006 -0
- package/Runtime/Demos/AuthService/AuthServiceDemo.unity.meta +7 -0
- package/Runtime/Demos/AuthService.meta +8 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.cs +348 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.cs.meta +11 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.unity +3420 -0
- package/Runtime/Demos/CloudDB/CloudDBDemo.unity.meta +7 -0
- package/Runtime/Demos/CloudDB/CloudDBDemoUIView.cs +180 -0
- package/Runtime/Demos/CloudDB/CloudDBDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/CloudDB.meta +8 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.cs +201 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.cs.meta +11 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.unity +2074 -0
- package/Runtime/Demos/CloudStorage/CloudStorageDemo.unity.meta +7 -0
- package/Runtime/Demos/CloudStorage.meta +8 -0
- package/Runtime/Demos/CrashKit/CrashDemo.unity +1455 -0
- package/Runtime/Demos/CrashKit/CrashDemo.unity.meta +7 -0
- package/Runtime/Demos/CrashKit/CrashDemoManager.cs +50 -0
- package/Runtime/Demos/CrashKit/CrashDemoManager.cs.meta +11 -0
- package/Runtime/Demos/CrashKit/CrashDemoView.cs +64 -0
- package/Runtime/Demos/CrashKit/CrashDemoView.cs.meta +11 -0
- package/Runtime/Demos/CrashKit.meta +8 -0
- package/Runtime/Demos/DriveKit/DriveDemoManager.cs +135 -0
- package/Runtime/Demos/DriveKit/DriveDemoManager.cs.meta +11 -0
- package/Runtime/Demos/DriveKit/DriveDemoView.cs +90 -0
- package/Runtime/Demos/DriveKit/DriveDemoView.cs.meta +11 -0
- package/Runtime/Demos/DriveKit/DriveKitDemo.unity +1791 -0
- package/Runtime/Demos/DriveKit/DriveKitDemo.unity.meta +7 -0
- package/Runtime/Demos/DriveKit.meta +8 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemo.unity +813 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemo.unity.meta +7 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemoManager.cs +127 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo/GameAddictionPreventionDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Game/GameAddictionPreventionDemo.meta +8 -0
- package/Runtime/Demos/Game/GameDemo.unity +3107 -0
- package/Runtime/Demos/Game/GameDemo.unity.meta +7 -0
- package/Runtime/Demos/Game/GameDemoManager.cs +347 -0
- package/Runtime/Demos/Game/GameDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Game/GameDemoUIView.cs +92 -0
- package/Runtime/Demos/Game/GameDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/Game.meta +8 -0
- package/Runtime/Demos/IAP/IAPDemoUIView.cs +114 -0
- package/Runtime/Demos/IAP/IAPDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/IAP/IapDemo.unity +4418 -0
- package/Runtime/Demos/IAP/IapDemo.unity.meta +7 -0
- package/Runtime/Demos/IAP/IapDemoManager.cs +157 -0
- package/Runtime/Demos/IAP/IapDemoManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/MainMenuManager.cs +200 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/MainMenuManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene0_MainMenu.unity +2109 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene0_MainMenu.unity.meta +7 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene1_Store.unity +6210 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/Scene1_Store.unity.meta +7 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/StoreManager.cs +145 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store/StoreManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/Second Demo-Menu_Store.meta +8 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIAPDemoUIView.cs +96 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIAPDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemo.unity +3930 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemo.unity.meta +7 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemoManager.cs +151 -0
- package/Runtime/Demos/IAP/UnityDemo/UnityIapDemoManager.cs.meta +11 -0
- package/Runtime/Demos/IAP/UnityDemo.meta +8 -0
- package/Runtime/Demos/IAP.meta +8 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.cs +71 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.cs.meta +11 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.unity +759 -0
- package/Runtime/Demos/InAppComment/InAppCommentDemo.unity.meta +7 -0
- package/Runtime/Demos/InAppComment.meta +8 -0
- package/Runtime/Demos/Location/ActivityIdentificationDemo.cs +209 -0
- package/Runtime/Demos/Location/ActivityIdentificationDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/FusedLocationDemo.cs +154 -0
- package/Runtime/Demos/Location/FusedLocationDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/GeocodingDemo.cs +94 -0
- package/Runtime/Demos/Location/GeocodingDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/GeofenceDemo.cs +180 -0
- package/Runtime/Demos/Location/GeofenceDemo.cs.meta +11 -0
- package/Runtime/Demos/Location/LocationDemo.unity +5912 -0
- package/Runtime/Demos/Location/LocationDemo.unity.meta +7 -0
- package/Runtime/Demos/Location/LocationDemoManager.cs +49 -0
- package/Runtime/Demos/Location/LocationDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Location.meta +8 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionDemoManager.cs +199 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionManager.unity +2097 -0
- package/Runtime/Demos/ML/LanguageDetection/LanguageDetectionManager.unity.meta +7 -0
- package/Runtime/Demos/ML/LanguageDetection.meta +8 -0
- package/Runtime/Demos/ML/MLKitDemo.unity +20214 -0
- package/Runtime/Demos/ML/MLKitDemo.unity.meta +7 -0
- package/Runtime/Demos/ML/MlKitDemoManager.cs +89 -0
- package/Runtime/Demos/ML/MlKitDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognition.unity +3948 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognition.unity.meta +7 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognitionDemoManager.cs +200 -0
- package/Runtime/Demos/ML/TextRecognition/TextRecognitionDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/TextRecognition.meta +8 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemo.unity +7398 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemo.unity.meta +7 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemoManager.cs +209 -0
- package/Runtime/Demos/ML/TextToSpeechDemo/TextToSpeechDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/TextToSpeechDemo.meta +8 -0
- package/Runtime/Demos/ML/Translate/TranslateDemo.unity +5231 -0
- package/Runtime/Demos/ML/Translate/TranslateDemo.unity.meta +7 -0
- package/Runtime/Demos/ML/Translate/TranslateDemoManager.cs +275 -0
- package/Runtime/Demos/ML/Translate/TranslateDemoManager.cs.meta +11 -0
- package/Runtime/Demos/ML/Translate.meta +8 -0
- package/Runtime/Demos/ML.meta +8 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemo.unity +4130 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemo.unity.meta +7 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemoManager.cs +382 -0
- package/Runtime/Demos/Modeling3D/Modeling3dDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemo.unity +1788 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemo.unity.meta +7 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemoManager.cs +157 -0
- package/Runtime/Demos/Modeling3D/Modeling3dMeterialDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D/ProgressBar.cs +36 -0
- package/Runtime/Demos/Modeling3D/ProgressBar.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D/TaskListDisplay.cs +101 -0
- package/Runtime/Demos/Modeling3D/TaskListDisplay.cs.meta +11 -0
- package/Runtime/Demos/Modeling3D.meta +8 -0
- package/Runtime/Demos/NearbyService/Nearby.unity +1563 -0
- package/Runtime/Demos/NearbyService/Nearby.unity.meta +7 -0
- package/Runtime/Demos/NearbyService/NearbyDemoManager.cs +192 -0
- package/Runtime/Demos/NearbyService/NearbyDemoManager.cs.meta +11 -0
- package/Runtime/Demos/NearbyService/NearbyDemoUIView.cs +73 -0
- package/Runtime/Demos/NearbyService/NearbyDemoUIView.cs.meta +11 -0
- package/Runtime/Demos/NearbyService.meta +8 -0
- package/Runtime/Demos/Push/PushDemo.unity +720 -0
- package/Runtime/Demos/Push/PushDemo.unity.meta +7 -0
- package/Runtime/Demos/Push/PushDemoManager.cs +123 -0
- package/Runtime/Demos/Push/PushDemoManager.cs.meta +11 -0
- package/Runtime/Demos/Push.meta +8 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.cs +120 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.cs.meta +11 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.unity +2259 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigDemo.unity.meta +7 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigUIView.cs +109 -0
- package/Runtime/Demos/RemoteConfig/RemoteConfigUIView.cs.meta +11 -0
- package/Runtime/Demos/RemoteConfig.meta +8 -0
- package/Runtime/Demos/Scan/ScanKitDemo.cs +69 -0
- package/Runtime/Demos/Scan/ScanKitDemo.cs.meta +11 -0
- package/Runtime/Demos/Scan/ScanKitDemo.unity +803 -0
- package/Runtime/Demos/Scan/ScanKitDemo.unity.meta +7 -0
- package/Runtime/Demos/Scan/ScanKitUIView.cs +38 -0
- package/Runtime/Demos/Scan/ScanKitUIView.cs.meta +11 -0
- package/Runtime/Demos/Scan.meta +8 -0
- package/Runtime/Demos.meta +8 -0
- package/Runtime/Dlls/EPPlus.dll +0 -0
- package/Runtime/Dlls/EPPlus.dll.meta +69 -0
- package/Runtime/Dlls/HuaweiMobileServices.dll +0 -0
- package/Runtime/Dlls/HuaweiMobileServices.dll.meta +38 -0
- package/Runtime/Dlls/HuaweiMobileServices.pdb +0 -0
- package/Runtime/Dlls/HuaweiMobileServices.pdb.meta +7 -0
- package/Runtime/Dlls/link.xml +5 -0
- package/Runtime/Dlls/link.xml.meta +7 -0
- package/Runtime/Dlls.meta +8 -0
- package/Runtime/HuaweiMobileServices.Core.asmdef +16 -0
- package/Runtime/HuaweiMobileServices.Core.asmdef.meta +7 -0
- package/Runtime/Plugins/Android/BookInfo.java +100 -0
- package/Runtime/Plugins/Android/BookInfo.java.meta +32 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin/AndroidManifest.xml +13 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin/build.gradle +31 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin/project.properties +2 -0
- package/Runtime/Plugins/Android/HMSUnityPushKit.plugin.meta +80 -0
- package/Runtime/Plugins/Android/ObjectTypeInfoHelper.java +33 -0
- package/Runtime/Plugins/Android/ObjectTypeInfoHelper.java.meta +32 -0
- package/Runtime/Plugins/Android/app-debug.aar +0 -0
- package/Runtime/Plugins/Android/app-debug.aar.meta +32 -0
- package/Runtime/Plugins/Android/hmsLauncherTemplate.gradle +32 -0
- package/Runtime/Plugins/Android/hmsLauncherTemplate.gradle.meta +7 -0
- package/Runtime/Plugins/Android/hmsMainTemplate.gradle +13 -0
- package/Runtime/Plugins/Android/hmsMainTemplate.gradle.meta +7 -0
- package/Runtime/Plugins/Android.meta +8 -0
- package/Runtime/Plugins.meta +8 -0
- package/Runtime/Prefabs/HuaweiIDButton.prefab +355 -0
- package/Runtime/Prefabs/HuaweiIDButton.prefab.meta +7 -0
- package/Runtime/Prefabs/HuaweiIDCircleButton.prefab +274 -0
- package/Runtime/Prefabs/HuaweiIDCircleButton.prefab.meta +7 -0
- package/Runtime/Prefabs/Modeling3DTaskListItem.prefab +1881 -0
- package/Runtime/Prefabs/Modeling3DTaskListItem.prefab.meta +7 -0
- package/Runtime/Prefabs/SplashAdPreview.prefab +591 -0
- package/Runtime/Prefabs/SplashAdPreview.prefab.meta +7 -0
- package/Runtime/Prefabs/native_large_image.prefab +1172 -0
- package/Runtime/Prefabs/native_large_image.prefab.meta +7 -0
- package/Runtime/Prefabs.meta +8 -0
- package/Runtime/Resources/Huawei/CircleCorner.png +0 -0
- package/Runtime/Resources/Huawei/CircleCorner.png.meta +135 -0
- package/Runtime/Resources/Huawei/Huawei-White.png +0 -0
- package/Runtime/Resources/Huawei/Huawei-White.png.meta +135 -0
- package/Runtime/Resources/Huawei/RoundedCorner.png +0 -0
- package/Runtime/Resources/Huawei/RoundedCorner.png.meta +135 -0
- package/Runtime/Resources/Huawei.meta +8 -0
- package/Runtime/Resources/close.png +0 -0
- package/Runtime/Resources/close.png.meta +116 -0
- package/Runtime/Resources/coins100.png +0 -0
- package/Runtime/Resources/coins100.png.meta +121 -0
- package/Runtime/Resources/coins1000.png +0 -0
- package/Runtime/Resources/coins1000.png.meta +121 -0
- package/Runtime/Resources/info.png +0 -0
- package/Runtime/Resources/info.png.meta +116 -0
- package/Runtime/Resources/no_ads.png +0 -0
- package/Runtime/Resources/no_ads.png.meta +135 -0
- package/Runtime/Resources/premium.png +0 -0
- package/Runtime/Resources/premium.png.meta +135 -0
- package/Runtime/Resources/xml/remoteConfig.xml +5 -0
- package/Runtime/Resources/xml/remoteConfig.xml.meta +7 -0
- package/Runtime/Resources/xml.meta +8 -0
- package/Runtime/Resources.meta +8 -0
- package/Runtime/Scripts/APM/HMSAPMManager.cs +31 -0
- package/Runtime/Scripts/APM/HMSAPMManager.cs.meta +11 -0
- package/Runtime/Scripts/APM.meta +8 -0
- package/Runtime/Scripts/Account/HMSAccountKitManager.cs +194 -0
- package/Runtime/Scripts/Account/HMSAccountKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Account.meta +8 -0
- package/Runtime/Scripts/Ads/HMSAdsKitManager.cs +977 -0
- package/Runtime/Scripts/Ads/HMSAdsKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Ads/LargeImageNative.cs +166 -0
- package/Runtime/Scripts/Ads/LargeImageNative.cs.meta +11 -0
- package/Runtime/Scripts/Ads.meta +8 -0
- package/Runtime/Scripts/Analytics/HMSAnalyticsKitManager.cs +98 -0
- package/Runtime/Scripts/Analytics/HMSAnalyticsKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Analytics.meta +8 -0
- package/Runtime/Scripts/AppMessaging/HMSAppMessagingManager.cs +60 -0
- package/Runtime/Scripts/AppMessaging/HMSAppMessagingManager.cs.meta +11 -0
- package/Runtime/Scripts/AppMessaging.meta +8 -0
- package/Runtime/Scripts/AuthService/HMSAuthServiceManager.cs +142 -0
- package/Runtime/Scripts/AuthService/HMSAuthServiceManager.cs.meta +11 -0
- package/Runtime/Scripts/AuthService.meta +8 -0
- package/Runtime/Scripts/CloudDB/BookInfo.cs +58 -0
- package/Runtime/Scripts/CloudDB/BookInfo.cs.meta +11 -0
- package/Runtime/Scripts/CloudDB/HMSCloudDBManager.cs +343 -0
- package/Runtime/Scripts/CloudDB/HMSCloudDBManager.cs.meta +11 -0
- package/Runtime/Scripts/CloudDB.meta +8 -0
- package/Runtime/Scripts/CloudStorage/HMSCloudStorageManager.cs +349 -0
- package/Runtime/Scripts/CloudStorage/HMSCloudStorageManager.cs.meta +11 -0
- package/Runtime/Scripts/CloudStorage.meta +8 -0
- package/Runtime/Scripts/Crash/HMSCrashManager.cs +61 -0
- package/Runtime/Scripts/Crash/HMSCrashManager.cs.meta +11 -0
- package/Runtime/Scripts/Crash.meta +8 -0
- package/Runtime/Scripts/Drive/CredentialManager.cs +55 -0
- package/Runtime/Scripts/Drive/CredentialManager.cs.meta +11 -0
- package/Runtime/Scripts/Drive/HMSDriveKitManager.cs +248 -0
- package/Runtime/Scripts/Drive/HMSDriveKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Drive.meta +8 -0
- package/Runtime/Scripts/Game/HMSAchievementsEntry.cs +14 -0
- package/Runtime/Scripts/Game/HMSAchievementsEntry.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSAchievementsManager.cs +147 -0
- package/Runtime/Scripts/Game/HMSAchievementsManager.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSGameServiceManager.cs +314 -0
- package/Runtime/Scripts/Game/HMSGameServiceManager.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSLeaderboardEntry.cs +14 -0
- package/Runtime/Scripts/Game/HMSLeaderboardEntry.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSLeaderboardManager.cs +272 -0
- package/Runtime/Scripts/Game/HMSLeaderboardManager.cs.meta +11 -0
- package/Runtime/Scripts/Game/HMSSaveGameManager.cs +236 -0
- package/Runtime/Scripts/Game/HMSSaveGameManager.cs.meta +11 -0
- package/Runtime/Scripts/Game.meta +8 -0
- package/Runtime/Scripts/IAP/HMSIAPManager.cs +715 -0
- package/Runtime/Scripts/IAP/HMSIAPManager.cs.meta +11 -0
- package/Runtime/Scripts/IAP/HMSIAPProductType.cs +21 -0
- package/Runtime/Scripts/IAP/HMSIAPProductType.cs.meta +11 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiPurchasingModule.cs +28 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiPurchasingModule.cs.meta +11 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiStore.cs +305 -0
- package/Runtime/Scripts/IAP/UnityPurchase/HuaweiStore.cs.meta +11 -0
- package/Runtime/Scripts/IAP/UnityPurchase.meta +8 -0
- package/Runtime/Scripts/IAP.meta +8 -0
- package/Runtime/Scripts/Location/GeofenceReceiver.cs +29 -0
- package/Runtime/Scripts/Location/GeofenceReceiver.cs.meta +11 -0
- package/Runtime/Scripts/Location/HMSLocationManager.cs +96 -0
- package/Runtime/Scripts/Location/HMSLocationManager.cs.meta +11 -0
- package/Runtime/Scripts/Location/LocationReceiver.cs +40 -0
- package/Runtime/Scripts/Location/LocationReceiver.cs.meta +11 -0
- package/Runtime/Scripts/Location.meta +8 -0
- package/Runtime/Scripts/ML/LangDetector/HMSMLLanguageDetectionManager.cs +180 -0
- package/Runtime/Scripts/ML/LangDetector/HMSMLLanguageDetectionManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/LangDetector.meta +8 -0
- package/Runtime/Scripts/ML/MLDownloadListenerManager.cs +17 -0
- package/Runtime/Scripts/ML/MLDownloadListenerManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextRecognition/HMSMLTextRecognitionKitManager.cs +163 -0
- package/Runtime/Scripts/ML/TextRecognition/HMSMLTextRecognitionKitManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextRecognition.meta +8 -0
- package/Runtime/Scripts/ML/TextToSpeech/HMSMLTextToSpeechKitManager.cs +276 -0
- package/Runtime/Scripts/ML/TextToSpeech/HMSMLTextToSpeechKitManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextToSpeech/MLTextToSpeechListenerManager.cs +94 -0
- package/Runtime/Scripts/ML/TextToSpeech/MLTextToSpeechListenerManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/TextToSpeech.meta +8 -0
- package/Runtime/Scripts/ML/Translate/HMSMLTranslateKitManager.cs +203 -0
- package/Runtime/Scripts/ML/Translate/HMSMLTranslateKitManager.cs.meta +11 -0
- package/Runtime/Scripts/ML/Translate.meta +8 -0
- package/Runtime/Scripts/ML.meta +8 -0
- package/Runtime/Scripts/Modeling3D/HMSModeling3dKitManager.cs +557 -0
- package/Runtime/Scripts/Modeling3D/HMSModeling3dKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dDTO.cs +38 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dDTO.cs.meta +11 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dListenerManager.cs +172 -0
- package/Runtime/Scripts/Modeling3D/Modeling3dListenerManager.cs.meta +11 -0
- package/Runtime/Scripts/Modeling3D.meta +8 -0
- package/Runtime/Scripts/NearbyService/HMSNearbyServiceManager.cs +80 -0
- package/Runtime/Scripts/NearbyService/HMSNearbyServiceManager.cs.meta +11 -0
- package/Runtime/Scripts/NearbyService.meta +8 -0
- package/Runtime/Scripts/Push/HMSPushKitManager.cs +134 -0
- package/Runtime/Scripts/Push/HMSPushKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Push.meta +8 -0
- package/Runtime/Scripts/RemoteConfig/HMSRemoteConfigManager.cs +157 -0
- package/Runtime/Scripts/RemoteConfig/HMSRemoteConfigManager.cs.meta +11 -0
- package/Runtime/Scripts/RemoteConfig.meta +8 -0
- package/Runtime/Scripts/Scan/HMSScanKitManager.cs +60 -0
- package/Runtime/Scripts/Scan/HMSScanKitManager.cs.meta +11 -0
- package/Runtime/Scripts/Scan.meta +8 -0
- package/Runtime/Scripts/Settings/HMSAchievementsSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSAchievementsSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSAdsKitSettings.cs +56 -0
- package/Runtime/Scripts/Settings/HMSAdsKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSConnectAPISettings.cs +44 -0
- package/Runtime/Scripts/Settings/HMSConnectAPISettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSGameServiceSettings.cs +40 -0
- package/Runtime/Scripts/Settings/HMSGameServiceSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSIAPKitSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSIAPKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSIAPProductListSettings.cs +74 -0
- package/Runtime/Scripts/Settings/HMSIAPProductListSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSLeaderboardSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSLeaderboardSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSMLKitSettings.cs +42 -0
- package/Runtime/Scripts/Settings/HMSMLKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSMainEditorSettings.cs +38 -0
- package/Runtime/Scripts/Settings/HMSMainEditorSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSModelingKitSettings.cs +38 -0
- package/Runtime/Scripts/Settings/HMSModelingKitSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSPluginSettings.cs +37 -0
- package/Runtime/Scripts/Settings/HMSPluginSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSRemoteConfigSettings.cs +40 -0
- package/Runtime/Scripts/Settings/HMSRemoteConfigSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/HMSRemoteDefaultValueSettings.cs +53 -0
- package/Runtime/Scripts/Settings/HMSRemoteDefaultValueSettings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/Settings.cs +75 -0
- package/Runtime/Scripts/Settings/Settings.cs.meta +11 -0
- package/Runtime/Scripts/Settings/SettingsScriptableObject.cs +14 -0
- package/Runtime/Scripts/Settings/SettingsScriptableObject.cs.meta +11 -0
- package/Runtime/Scripts/Settings.meta +8 -0
- package/Runtime/Scripts/Utils/HMSExceptionHandler.cs +120 -0
- package/Runtime/Scripts/Utils/HMSExceptionHandler.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSManagerStart.cs +36 -0
- package/Runtime/Scripts/Utils/HMSManagerStart.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSSafeArea.cs +63 -0
- package/Runtime/Scripts/Utils/HMSSafeArea.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSSingleton.cs +56 -0
- package/Runtime/Scripts/Utils/HMSSingleton.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HMSSplashAdPreview.cs +37 -0
- package/Runtime/Scripts/Utils/HMSSplashAdPreview.cs.meta +11 -0
- package/Runtime/Scripts/Utils/HuaweiConstants.cs +204 -0
- package/Runtime/Scripts/Utils/HuaweiConstants.cs.meta +11 -0
- package/Runtime/Scripts/Utils/JsonHelper.cs +23 -0
- package/Runtime/Scripts/Utils/JsonHelper.cs.meta +11 -0
- package/Runtime/Scripts/Utils/PlayerPrefsJsonDatabase.cs +130 -0
- package/Runtime/Scripts/Utils/PlayerPrefsJsonDatabase.cs.meta +11 -0
- package/Runtime/Scripts/Utils/ScriptableHelper.cs +58 -0
- package/Runtime/Scripts/Utils/ScriptableHelper.cs.meta +11 -0
- package/Runtime/Scripts/Utils/SerializableDictionary.cs +129 -0
- package/Runtime/Scripts/Utils/SerializableDictionary.cs.meta +11 -0
- package/Runtime/Scripts/Utils.meta +8 -0
- package/Runtime/Scripts.meta +8 -0
- package/Runtime/Settings/Resources.meta +8 -0
- package/Runtime/Settings.meta +8 -0
- package/Runtime/VERSION +1 -0
- package/Runtime/VERSION.meta +7 -0
- package/Runtime.meta +8 -0
- package/package.json +13 -0
- package/package.json.meta +7 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
using System.IO;
|
|
2
|
+
using UnityEditor;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
|
|
5
|
+
public static class HuaweiAdsFileCopier
|
|
6
|
+
{
|
|
7
|
+
// Package source path
|
|
8
|
+
private const string PackageSourcePath =
|
|
9
|
+
"Packages/com.beanbag.huaweiads/Runtime/Settings/Resources";
|
|
10
|
+
|
|
11
|
+
// Project destination path
|
|
12
|
+
private const string DestinationPath =
|
|
13
|
+
"Assets/Huawei/Settings/Resources";
|
|
14
|
+
|
|
15
|
+
[MenuItem("Huawei/Copy Resources Files")]
|
|
16
|
+
public static void CopyFiles()
|
|
17
|
+
{
|
|
18
|
+
if (!Directory.Exists(PackageSourcePath))
|
|
19
|
+
{
|
|
20
|
+
Debug.LogError($"Source folder not found:\n{PackageSourcePath}");
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Create destination folder if it doesn't exist
|
|
25
|
+
if (!Directory.Exists(DestinationPath))
|
|
26
|
+
{
|
|
27
|
+
Directory.CreateDirectory(DestinationPath);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
CopyDirectory(PackageSourcePath, DestinationPath);
|
|
31
|
+
|
|
32
|
+
AssetDatabase.Refresh();
|
|
33
|
+
|
|
34
|
+
Debug.Log("Huawei Ads resources copied successfully!");
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
private static void CopyDirectory(string sourceDir, string destinationDir)
|
|
38
|
+
{
|
|
39
|
+
// Create all directories
|
|
40
|
+
foreach (string dirPath in Directory.GetDirectories(sourceDir, "*", SearchOption.AllDirectories))
|
|
41
|
+
{
|
|
42
|
+
string newDir = dirPath.Replace(sourceDir, destinationDir);
|
|
43
|
+
|
|
44
|
+
if (!Directory.Exists(newDir))
|
|
45
|
+
{
|
|
46
|
+
Directory.CreateDirectory(newDir);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Copy all files
|
|
51
|
+
foreach (string filePath in Directory.GetFiles(sourceDir, "*.*", SearchOption.AllDirectories))
|
|
52
|
+
{
|
|
53
|
+
// Skip .meta files if you want Unity to regenerate them
|
|
54
|
+
if (filePath.EndsWith(".meta"))
|
|
55
|
+
continue;
|
|
56
|
+
|
|
57
|
+
string newFilePath = filePath.Replace(sourceDir, destinationDir);
|
|
58
|
+
|
|
59
|
+
File.Copy(filePath, newFilePath, true);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "HuaweiMobileServices.Editor",
|
|
3
|
+
"references": [
|
|
4
|
+
"HuaweiMobileServices.Core"
|
|
5
|
+
],
|
|
6
|
+
"includePlatforms": [
|
|
7
|
+
"Editor"
|
|
8
|
+
],
|
|
9
|
+
"excludePlatforms": [],
|
|
10
|
+
"allowUnsafeCode": false,
|
|
11
|
+
"overrideReferences": false,
|
|
12
|
+
"precompiledReferences": [],
|
|
13
|
+
"autoReferenced": true,
|
|
14
|
+
"defineConstraints": [],
|
|
15
|
+
"versionDefines": [],
|
|
16
|
+
"noEngineReferences": false
|
|
17
|
+
}
|
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using System.IO;
|
|
4
|
+
using UnityEditor;
|
|
5
|
+
using UnityEngine;
|
|
6
|
+
|
|
7
|
+
namespace HmsPlugin
|
|
8
|
+
{
|
|
9
|
+
public static class HMSEditorUtils
|
|
10
|
+
{
|
|
11
|
+
public static void UpdateAssemblyDefinitions(bool enable, bool refreshAssets = true)
|
|
12
|
+
{
|
|
13
|
+
var path = Path.GetFullPath("Packages/com.beanbag.huaweiads/Runtime/HuaweiMobileServices.Core.asmdef");
|
|
14
|
+
|
|
15
|
+
string coreAssemblyPath = path;// Path.Combine(Application.dataPath, "Huawei", "HuaweiMobileServices.Core.asmdef");
|
|
16
|
+
string jsonContent = File.ReadAllText(coreAssemblyPath);
|
|
17
|
+
var coreAssemblyDefinition = JsonUtility.FromJson<AssemblyDefinitionInfo>(jsonContent);
|
|
18
|
+
if (coreAssemblyDefinition != null)
|
|
19
|
+
{
|
|
20
|
+
coreAssemblyDefinition.includePlatforms = enable ? new List<string> { "Editor", "Android" } : new List<string> { "Editor" };
|
|
21
|
+
string updatedJsonContent = JsonUtility.ToJson(coreAssemblyDefinition, true);
|
|
22
|
+
File.WriteAllText(coreAssemblyPath, updatedJsonContent);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (refreshAssets) AssetDatabase.Refresh();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public static void SetHMSPlugin(bool status, bool enableToggle, bool refreshAssets = true)
|
|
29
|
+
{
|
|
30
|
+
HMSPluginSettings.Instance.Settings.SetBool(PluginToggleEditor.PluginEnabled, status);
|
|
31
|
+
var enabledEditors = HMSMainKitsTabFactory.GetEnabledEditors();
|
|
32
|
+
if (status)
|
|
33
|
+
{
|
|
34
|
+
if (enableToggle)
|
|
35
|
+
{
|
|
36
|
+
if (enabledEditors != null && enabledEditors.Count > 0)
|
|
37
|
+
{
|
|
38
|
+
enabledEditors.ForEach(f => f.EnableToggle());
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
else
|
|
42
|
+
{
|
|
43
|
+
if (enabledEditors != null && enabledEditors.Count > 0)
|
|
44
|
+
enabledEditors.ForEach(f => f.RemoveToggleTabView(false));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
else
|
|
48
|
+
{
|
|
49
|
+
if (enabledEditors != null && enabledEditors.Count > 0)
|
|
50
|
+
{
|
|
51
|
+
enabledEditors.ForEach(f => f.RemoveToggleTabView(true));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
HMSMainKitsTabFactory.RefreshPluginStatus();
|
|
55
|
+
if (refreshAssets)
|
|
56
|
+
AssetDatabase.Refresh();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[Serializable]
|
|
60
|
+
public class AssemblyDefinitionInfo
|
|
61
|
+
{
|
|
62
|
+
public string name;
|
|
63
|
+
public List<string> references;
|
|
64
|
+
public List<string> includePlatforms;
|
|
65
|
+
public List<string> excludePlatforms;
|
|
66
|
+
public bool allowUnsafeCode;
|
|
67
|
+
public bool overrideReferences;
|
|
68
|
+
public List<string> precompiledReferences;
|
|
69
|
+
public bool autoReferenced;
|
|
70
|
+
public List<string> defineConstraints;
|
|
71
|
+
public List<VersionDefine> versionDefines;
|
|
72
|
+
public bool noEngineReferences;
|
|
73
|
+
}
|
|
74
|
+
[Serializable]
|
|
75
|
+
|
|
76
|
+
public class VersionDefine
|
|
77
|
+
{
|
|
78
|
+
public string name;
|
|
79
|
+
public string expression;
|
|
80
|
+
public string define;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
[UnityEditor.Callbacks.DidReloadScripts]
|
|
86
|
+
public static void CheckOldFiles()
|
|
87
|
+
{
|
|
88
|
+
EditorApplication.delayCall += CheckOldFilesNow;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
private static void CheckOldFilesNow()
|
|
92
|
+
{
|
|
93
|
+
string[] fileNames = { "/Plugins/Android/app-debug.aar", "/Plugins/Android/BookInfo.java", "/Plugins/Android/ObjectTypeInfoHelper.java", "/Resources/coins100.png", "/Resources/coins1000.png", "/Resources/no_ads.png", "/Resources/premium.png", "/Resources/xml/remoteConfig.xml", "/Plugins/Android/hmsMainTemplate.gradle", "/Plugins/Android/hmsLauncherTemplate.gradle", "/Plugins/Android/hmsBaseProjectTemplate.gradle" };
|
|
94
|
+
|
|
95
|
+
List<string> foundFiles = new List<string>();
|
|
96
|
+
|
|
97
|
+
for (int i = 0; i < fileNames.Length; i++)
|
|
98
|
+
{
|
|
99
|
+
string path = fileNames[i];
|
|
100
|
+
if (File.Exists(Application.dataPath + path))
|
|
101
|
+
{
|
|
102
|
+
foundFiles.Add(path);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (foundFiles.Count > 0)
|
|
106
|
+
{
|
|
107
|
+
string allPaths = "";
|
|
108
|
+
foundFiles.ForEach(c => allPaths += c + "\n");
|
|
109
|
+
if (EditorUtility.DisplayDialog("HMS Unity Plugin", "We've found some files that needs to be moved. Do you want to move these files?\n" + allPaths, "Move", "Cancel"))
|
|
110
|
+
{
|
|
111
|
+
foreach (var path in foundFiles)
|
|
112
|
+
{
|
|
113
|
+
if (File.Exists(Application.dataPath + path))
|
|
114
|
+
{
|
|
115
|
+
string destPath = Application.dataPath + "/Huawei" + path;
|
|
116
|
+
if (!File.Exists(destPath))
|
|
117
|
+
new FileInfo(destPath).Directory.Create();
|
|
118
|
+
File.Move(Application.dataPath + path, destPath);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
AssetDatabase.Refresh();
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
public static Dictionary<string, string> SupportedLanguages()
|
|
127
|
+
{
|
|
128
|
+
return new Dictionary<string, string>
|
|
129
|
+
{
|
|
130
|
+
{"Amharic","am_ET"},
|
|
131
|
+
{"Arabic","ar"},
|
|
132
|
+
{"Assamese","as_IN"},
|
|
133
|
+
{"Azerbaijani","az_AZ"},
|
|
134
|
+
{"Belarusian","be"},
|
|
135
|
+
{"Bulgarian","bg"},
|
|
136
|
+
{"Bengali","bn_BD"},
|
|
137
|
+
{"Tibetan","bo"},
|
|
138
|
+
{"Bosnian","bs"},
|
|
139
|
+
{"Catalan","ca"},
|
|
140
|
+
{"Czech","cs_CZ"},
|
|
141
|
+
{"Danish","da_DK"},
|
|
142
|
+
{"German","de_DE"},
|
|
143
|
+
{"Greek","el_GR"},
|
|
144
|
+
{"English (UK)","en_GB"},
|
|
145
|
+
{"English (US)","en_US"},
|
|
146
|
+
{"Spanish (Latin America)","es_419"},
|
|
147
|
+
{"Spanish (Europe)","es_ES"},
|
|
148
|
+
{"Estonian","et"},
|
|
149
|
+
{"Basque","eu_ES"},
|
|
150
|
+
{"Persian","fa"},
|
|
151
|
+
{"Finnish","fi_FI"},
|
|
152
|
+
{"Tagalog","fil"},
|
|
153
|
+
{"French","fr_FR"},
|
|
154
|
+
{"Galician","gl_ES"},
|
|
155
|
+
{"Gujarati","gu_IN"},
|
|
156
|
+
{"Hebrew","he_IL"},
|
|
157
|
+
{"Hindi","hi_IN"},
|
|
158
|
+
{"Croatian","hr"},
|
|
159
|
+
{"Hungarian","hu_HU"},
|
|
160
|
+
{"Indonesian","id"},
|
|
161
|
+
{"Italian","it_IT"},
|
|
162
|
+
{"Japanese","ja_JP"},
|
|
163
|
+
{"Javanese","jv"},
|
|
164
|
+
{"Georgian","ka_GE"},
|
|
165
|
+
{"Kazakh","kk"},
|
|
166
|
+
{"Khmer","km_KH"},
|
|
167
|
+
{"Kannada","kn_IN"},
|
|
168
|
+
{"Korean","ko_KR"},
|
|
169
|
+
{"Lao","lo_LA"},
|
|
170
|
+
{"Lithuanian","lt"},
|
|
171
|
+
{"Latvian","lv"},
|
|
172
|
+
{"Maithili","mai_Deva_IN"},
|
|
173
|
+
{"Maori","mi_NZ"},
|
|
174
|
+
{"Macedonian","mk_MK"},
|
|
175
|
+
{"Malayalam","ml_IN"},
|
|
176
|
+
{"Mongolian (Cyrillic)","mn_MN"},
|
|
177
|
+
{"Marathi","mr_IN"},
|
|
178
|
+
{"Malay","ms"},
|
|
179
|
+
{"Burmese","my_MM"},
|
|
180
|
+
{"Nepali","ne_NP"},
|
|
181
|
+
{"Dutch","nl_NL"},
|
|
182
|
+
{"Norwegian","no_NO"},
|
|
183
|
+
{"Odia","or_IN"},
|
|
184
|
+
{"Punjabi, Panjabi","pa_Guru_IN"},
|
|
185
|
+
{"Polish","pl_PL"},
|
|
186
|
+
{"Portuguese (Brazil)","pt_BR"},
|
|
187
|
+
{"Portuguese (Europe)","pt_PT"},
|
|
188
|
+
{"Romanian, Moldavian, Moldovan","ro"},
|
|
189
|
+
{"Russian","ru_RU"},
|
|
190
|
+
{"Sinhala","si_LK"},
|
|
191
|
+
{"Slovak","sk"},
|
|
192
|
+
{"Slovenian","sl"},
|
|
193
|
+
{"Serbian","sr"},
|
|
194
|
+
{"Swedish","sv_SE"},
|
|
195
|
+
{"Swahili","sw_TZ"},
|
|
196
|
+
{"Tamil","ta_IN"},
|
|
197
|
+
{"Telugu","te_IN"},
|
|
198
|
+
{"Thai","th"},
|
|
199
|
+
{"Turkish","tr_TR"},
|
|
200
|
+
{"Uighur, Uyghur","ug_CN"},
|
|
201
|
+
{"Ukrainian","uk"},
|
|
202
|
+
{"Urdu","ur"},
|
|
203
|
+
{"Uzbek","uz"},
|
|
204
|
+
{"Vietnamese","vi"},
|
|
205
|
+
{"Simplified Chinese","zh_CN"},
|
|
206
|
+
{"Traditional Chinese (Hong Kong, China)","zh_HK"},
|
|
207
|
+
{"Traditional Chinese (Taiwan, China)","zh_TW"}
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
public static List<CountryInfo> SupportedCountries()
|
|
212
|
+
{
|
|
213
|
+
return new List<CountryInfo>()
|
|
214
|
+
{
|
|
215
|
+
new CountryInfo("CH","CHF","de_DE","Switzerland"),
|
|
216
|
+
new CountryInfo("CN","CNY","zh_CN","China"),
|
|
217
|
+
new CountryInfo("CZ","CZK","cs_CZ","Czech Republic"),
|
|
218
|
+
new CountryInfo("DK","DKK","da_DK","Denmark"),
|
|
219
|
+
new CountryInfo("IE","EUR","en_GB","Ireland"),
|
|
220
|
+
new CountryInfo("EE","EUR","et","Estonia"),
|
|
221
|
+
new CountryInfo("AT","EUR","de_DE","Austria"),
|
|
222
|
+
new CountryInfo("BE","EUR","nl_NL","Belgium"),
|
|
223
|
+
new CountryInfo("DE","EUR","de_DE","Germany"),
|
|
224
|
+
new CountryInfo("FR","EUR","fr_FR","France"),
|
|
225
|
+
new CountryInfo("FI","EUR","fi_FI","Finland"),
|
|
226
|
+
new CountryInfo("NL","EUR","nl_NL","Netherlands"),
|
|
227
|
+
new CountryInfo("LV","EUR","lv","Latvia"),
|
|
228
|
+
new CountryInfo("LT","EUR","lt","Lithuania"),
|
|
229
|
+
new CountryInfo("PT","EUR","pt_PT","Portugal"),
|
|
230
|
+
new CountryInfo("SK","EUR","sk","Slovakia"),
|
|
231
|
+
new CountryInfo("ES","EUR","es_ES","Spain"),
|
|
232
|
+
new CountryInfo("GR","EUR","el_GR","Greece"),
|
|
233
|
+
new CountryInfo("IT","EUR","it_IT","Italy"),
|
|
234
|
+
new CountryInfo("GB","GBP","en_GB","United Kingdom"),
|
|
235
|
+
new CountryInfo("HU","HUF","hu_HU","Hungary"),
|
|
236
|
+
new CountryInfo("NO","NOK","no_NO","Norway"),
|
|
237
|
+
new CountryInfo("PL","PLN","pl_PL","Poland"),
|
|
238
|
+
new CountryInfo("RO","RON","ro","Romania"),
|
|
239
|
+
new CountryInfo("SE","SEK","sv_SE","Sweden"),
|
|
240
|
+
new CountryInfo("AE","AED","ar","United Arab Emirates"),
|
|
241
|
+
new CountryInfo("SG","SGD","en_GB","Singapore"),
|
|
242
|
+
new CountryInfo("RS","RSD","sr","Serbia"),
|
|
243
|
+
new CountryInfo("TR","TRY","tr_TR","Turkey"),
|
|
244
|
+
new CountryInfo("UA","UAH","uk","Ukraine"),
|
|
245
|
+
new CountryInfo("SI","EUR","sl","Slovenia"),
|
|
246
|
+
new CountryInfo("UZ","UZS","uz","Uzbekistan"),
|
|
247
|
+
new CountryInfo("MY","MYR","ms","Malaysia"),
|
|
248
|
+
new CountryInfo("PH","PHP","en_US","Philippines"),
|
|
249
|
+
new CountryInfo("HK","HKD","zh_HK","Hong Kong (China)"),
|
|
250
|
+
new CountryInfo("LK","LKR","si_LK","Sri Lanka"),
|
|
251
|
+
new CountryInfo("NP","NPR","ne_NP","Nepal"),
|
|
252
|
+
new CountryInfo("BD","BDT","bn_BD","Bangladesh"),
|
|
253
|
+
new CountryInfo("TH","THB","th","Thailand"),
|
|
254
|
+
new CountryInfo("JO","JOD","ar","Jordan"),
|
|
255
|
+
new CountryInfo("BH","BHD","ar","Bahrain"),
|
|
256
|
+
new CountryInfo("ZA","ZAR","en_GB","South Africa"),
|
|
257
|
+
new CountryInfo("NG","USD","en_GB","Nigeria"),
|
|
258
|
+
new CountryInfo("TZ","TZS","en_GB","Tanzania"),
|
|
259
|
+
new CountryInfo("CO","COP","es_419","Colombia"),
|
|
260
|
+
new CountryInfo("PE","PEN","es_419","Peru"),
|
|
261
|
+
new CountryInfo("MX","MXN","es_419","Mexico"),
|
|
262
|
+
new CountryInfo("AR","ARS","es_419","Argentina"),
|
|
263
|
+
new CountryInfo("QA","QAR","ar","Qatar"),
|
|
264
|
+
new CountryInfo("VN","VND","vi","Vietnam"),
|
|
265
|
+
new CountryInfo("ID","IDR","id","Indonesia"),
|
|
266
|
+
new CountryInfo("KZ","KZT","kk","Kazakhstan"),
|
|
267
|
+
new CountryInfo("BY","USD","be","Belarus"),
|
|
268
|
+
new CountryInfo("BG","BGN","bg","Bulgaria"),
|
|
269
|
+
new CountryInfo("HR","HRK","hr","Croatia"),
|
|
270
|
+
new CountryInfo("MK","MKD","mk_MK","North Macedonia"),
|
|
271
|
+
new CountryInfo("BA","BAM","sr","Bosnia and Herzegovina"),
|
|
272
|
+
new CountryInfo("GE","GEL","ka_GE","Georgia"),
|
|
273
|
+
new CountryInfo("BO","BOB","bo","Bolivia"),
|
|
274
|
+
new CountryInfo("EC","USD","es_419","Ecuador"),
|
|
275
|
+
new CountryInfo("UY","UYU","es_419","Uruguay"),
|
|
276
|
+
new CountryInfo("BW","BWP","en_US","Botswana"),
|
|
277
|
+
new CountryInfo("ZM","ZMW","en_US","Zambia"),
|
|
278
|
+
new CountryInfo("MU","MUR","en_US","Mauritius"),
|
|
279
|
+
new CountryInfo("KH","KHR","km_KH","Cambodia"),
|
|
280
|
+
new CountryInfo("PG","PGK","en_GB","Papua New Guinea"),
|
|
281
|
+
new CountryInfo("LA","USD","lo_LA","Laos"),
|
|
282
|
+
new CountryInfo("LB","USD","ar","Lebanon"),
|
|
283
|
+
new CountryInfo("YE","YER","ar","Yemen"),
|
|
284
|
+
new CountryInfo("CD","CDF","fr_FR","Congo-Kinshasa"),
|
|
285
|
+
new CountryInfo("EG","EGP","ar","Egypt"),
|
|
286
|
+
new CountryInfo("UG","USD","en_US","Uganda"),
|
|
287
|
+
new CountryInfo("GH","GHS","en_GB","Ghana"),
|
|
288
|
+
new CountryInfo("PY","PYG","es_419","Paraguay"),
|
|
289
|
+
new CountryInfo("CR","CRC","es_419","Costa Rica"),
|
|
290
|
+
new CountryInfo("DZ","DZD","ar","Algeria"),
|
|
291
|
+
new CountryInfo("SA","SAR","ar","Saudi Arabia"),
|
|
292
|
+
new CountryInfo("MT","EUR","en_US","Malta"),
|
|
293
|
+
new CountryInfo("LI","CHF","de_DE","Liechtenstein"),
|
|
294
|
+
new CountryInfo("NZ","NZD","en_GB","New Zealand"),
|
|
295
|
+
new CountryInfo("JP","JPY","ja_JP","Japan"),
|
|
296
|
+
new CountryInfo("MO","MOP","zh_HK","Macao (China)"),
|
|
297
|
+
new CountryInfo("BN","BND","ms","Brunei"),
|
|
298
|
+
new CountryInfo("FJ","FJD","en_GB","Fiji"),
|
|
299
|
+
new CountryInfo("PF","XPF","fr_FR","French Polynesia"),
|
|
300
|
+
new CountryInfo("ZW","USD","en_GB","Zimbabwe"),
|
|
301
|
+
new CountryInfo("NA","NAD","en_GB","Namibia"),
|
|
302
|
+
new CountryInfo("MZ","MZN","pt_PT","Mozambique"),
|
|
303
|
+
new CountryInfo("MG","EUR","fr_FR","Madagascar"),
|
|
304
|
+
new CountryInfo("JM","JMD","en_GB","Jamaica"),
|
|
305
|
+
new CountryInfo("TT","TTD","en_US","Trinidad and Tobago"),
|
|
306
|
+
new CountryInfo("RU","RUB","ru_RU","Russia"),
|
|
307
|
+
new CountryInfo("PK","PKR","ur","Pakistan"),
|
|
308
|
+
new CountryInfo("PS","USD","ar","Palestine"),
|
|
309
|
+
new CountryInfo("CM","XAF","en_GB","Cameroon"),
|
|
310
|
+
new CountryInfo("SN","XOF","fr_FR","Senegal"),
|
|
311
|
+
new CountryInfo("CG","XAF","fr_FR","Republic of the Congo"),
|
|
312
|
+
new CountryInfo("GN","XAF","fr_FR","Guinea"),
|
|
313
|
+
new CountryInfo("GA","XAF","fr_FR","Gabon"),
|
|
314
|
+
new CountryInfo("IL","ILS","iw_IL","Israel"),
|
|
315
|
+
new CountryInfo("CY","EUR","el_GR","Cyprus"),
|
|
316
|
+
new CountryInfo("AM","RUB","ru_RU","Armenia"),
|
|
317
|
+
new CountryInfo("LU","EUR","de_DE","Luxembourg"),
|
|
318
|
+
new CountryInfo("IS","ISK","en_GB","Iceland"),
|
|
319
|
+
new CountryInfo("MW","MWK","en_GB","Malawi"),
|
|
320
|
+
new CountryInfo("CL","CLP","es_ES","Chile"),
|
|
321
|
+
new CountryInfo("GT","GTQ","es_ES","Guatemala"),
|
|
322
|
+
new CountryInfo("HN","HNL","es_ES","Honduras"),
|
|
323
|
+
new CountryInfo("NI","NIO","es_ES","Nicaragua"),
|
|
324
|
+
new CountryInfo("DO","DOP","es_ES","Dominican Republic"),
|
|
325
|
+
new CountryInfo("AW","AWG","nl_NL","Aruba"),
|
|
326
|
+
new CountryInfo("MV","MVR","en_US","Maldave"),
|
|
327
|
+
new CountryInfo("IQ","IQD","ar","Iraq"),
|
|
328
|
+
new CountryInfo("KE","KES","en_GB","Kenya"),
|
|
329
|
+
new CountryInfo("VG","USD","en_GB","British Virgin Islands"),
|
|
330
|
+
new CountryInfo("LC","XCD","en_GB","Saint Lucia"),
|
|
331
|
+
new CountryInfo("GF","GYD","fr_FR","French Guiana"),
|
|
332
|
+
new CountryInfo("KY","KYD","en_GB","Cayman Islands"),
|
|
333
|
+
new CountryInfo("MR","MRO","ar","Mauritania"),
|
|
334
|
+
new CountryInfo("NE","XOF","fr_FR","Niger"),
|
|
335
|
+
new CountryInfo("TD","XAF","ar","Chad"),
|
|
336
|
+
new CountryInfo("GQ","XAF","es_ES","Equatorial Guinea"),
|
|
337
|
+
new CountryInfo("MD","EUR","ro","Moldova, Republic of"),
|
|
338
|
+
new CountryInfo("ME","EUR","en_GB","Montenegro"),
|
|
339
|
+
new CountryInfo("AZ","AZN","az_AZ","Azerbaijan"),
|
|
340
|
+
new CountryInfo("KG","RUB","ru_RU","Kyrgyzstan"),
|
|
341
|
+
new CountryInfo("MN","MNT","mn_MN","Mongolia"),
|
|
342
|
+
new CountryInfo("MC","EUR","fr_FR","Monaco"),
|
|
343
|
+
new CountryInfo("AD","EUR","ca","Andorra"),
|
|
344
|
+
new CountryInfo("SM","EUR","it_IT","San Marino"),
|
|
345
|
+
new CountryInfo("VA","EUR","it_IT","Holy See (Vatican City State)"),
|
|
346
|
+
new CountryInfo("TW","TWD","zh_TW","Taiwan (China)"),
|
|
347
|
+
new CountryInfo("MM","MMK","my_MM","Myanmar"),
|
|
348
|
+
new CountryInfo("CI","XOF","fr_FR","Cote d'Ivoire"),
|
|
349
|
+
new CountryInfo("BF","XOF","fr_FR","Burkina Faso"),
|
|
350
|
+
new CountryInfo("ML","XOF","fr_FR","Mali"),
|
|
351
|
+
new CountryInfo("LY","LYD","ar","Libya"),
|
|
352
|
+
new CountryInfo("AO","EUR","pt_PT","Angola"),
|
|
353
|
+
new CountryInfo("RE","EUR","fr_FR","Reunion Island"),
|
|
354
|
+
new CountryInfo("PA","PAB","es_ES","Panama"),
|
|
355
|
+
new CountryInfo("VE","USD","es_ES","Venezuela"),
|
|
356
|
+
new CountryInfo("SV","USD","es_ES","El Salvador"),
|
|
357
|
+
new CountryInfo("BR","BRL","pt_PT","Brazil"),
|
|
358
|
+
new CountryInfo("GP","EUR","fr_FR","Guadeloupe"),
|
|
359
|
+
new CountryInfo("AU","AUD","en_GB","Australia"),
|
|
360
|
+
new CountryInfo("TM","RUB","ru_RU","Turkmenistan"),
|
|
361
|
+
new CountryInfo("TJ","USD","ru_RU","Tajikistan"),
|
|
362
|
+
new CountryInfo("SB","USD","en_GB","Solomon Islands"),
|
|
363
|
+
new CountryInfo("TO","USD","en_GB","Tonga"),
|
|
364
|
+
new CountryInfo("BJ","XOF","fr_FR","Benin"),
|
|
365
|
+
new CountryInfo("TG","XOF","fr_FR","Togo"),
|
|
366
|
+
new CountryInfo("CV","USD","pt_PT","Cape Verde"),
|
|
367
|
+
new CountryInfo("CF","XAF","fr_FR","Central African Republic"),
|
|
368
|
+
new CountryInfo("GM","USD","en_GB","Gambia"),
|
|
369
|
+
new CountryInfo("GW","XOF","pt_PT","Guinea-Bissau"),
|
|
370
|
+
new CountryInfo("KM","USD","fr_FR","Comoros"),
|
|
371
|
+
new CountryInfo("LR","USD","en_US","Liberia"),
|
|
372
|
+
new CountryInfo("ST","USD","pt_PT","Sao Tome and Principe"),
|
|
373
|
+
new CountryInfo("YT","EUR","fr_FR","Mayotte"),
|
|
374
|
+
new CountryInfo("PR","USD","pt_PT","Puerto Rico"),
|
|
375
|
+
new CountryInfo("GD","XCD","en_GB","Grenada"),
|
|
376
|
+
new CountryInfo("KW","KWD","ar","Kuwait"),
|
|
377
|
+
new CountryInfo("TN","TND","ar","Tunisia"),
|
|
378
|
+
new CountryInfo("ET","ETB","am_ET","Ethiopia"),
|
|
379
|
+
new CountryInfo("DJ","DJF","ar","Djibouti"),
|
|
380
|
+
new CountryInfo("ER","ERN","en_US","Eritrea"),
|
|
381
|
+
new CountryInfo("CK","NZD","en_GB","Cook Islands"),
|
|
382
|
+
new CountryInfo("NR","AUD","en_GB","Nauru"),
|
|
383
|
+
new CountryInfo("SZ","SZL","en_GB","Eswatini"),
|
|
384
|
+
new CountryInfo("LS","LSL","en_GB","Lesotho"),
|
|
385
|
+
new CountryInfo("SL","SLL","en_GB","Sierra Leone"),
|
|
386
|
+
new CountryInfo("AI","XCD","en_GB","Anguilla"),
|
|
387
|
+
new CountryInfo("GY","GYD","en_US","Guyana"),
|
|
388
|
+
new CountryInfo("OM","OMR","ar","Oman"),
|
|
389
|
+
new CountryInfo("MA","MAD","ar","Morocco"),
|
|
390
|
+
new CountryInfo("CA","CAD","en_US","Canada"),
|
|
391
|
+
new CountryInfo("BS","BSD","en_US","Bahamas"),
|
|
392
|
+
new CountryInfo("IN","INR","hi_IN","India")
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
public static HMSAGConnectConfig GetAGConnectConfig()
|
|
397
|
+
{
|
|
398
|
+
var obj = JsonUtility.FromJson<HMSAGConnectConfig>(File.ReadAllText(Application.streamingAssetsPath + "/agconnect-services.json"));
|
|
399
|
+
return obj;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
[Serializable]
|
|
403
|
+
public class CountryInfo
|
|
404
|
+
{
|
|
405
|
+
public CountryInfo(string region, string currency, string locale, string country)
|
|
406
|
+
{
|
|
407
|
+
Region = region;
|
|
408
|
+
Currency = currency;
|
|
409
|
+
Locale = locale;
|
|
410
|
+
Country = country;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
public string Region;
|
|
414
|
+
public string Currency;
|
|
415
|
+
public string Locale;
|
|
416
|
+
public string Country;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
#region AGConnect Config Classes
|
|
420
|
+
|
|
421
|
+
[Serializable]
|
|
422
|
+
public class Agcgw
|
|
423
|
+
{
|
|
424
|
+
public string backurl;
|
|
425
|
+
public string url;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
[Serializable]
|
|
429
|
+
public class Client
|
|
430
|
+
{
|
|
431
|
+
public string appType;
|
|
432
|
+
public string cp_id;
|
|
433
|
+
public string product_id;
|
|
434
|
+
public string client_id;
|
|
435
|
+
public string client_secret;
|
|
436
|
+
public string project_id;
|
|
437
|
+
public string app_id;
|
|
438
|
+
public string api_key;
|
|
439
|
+
public string package_name;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
[Serializable]
|
|
443
|
+
public class Analytics
|
|
444
|
+
{
|
|
445
|
+
public string collector_url;
|
|
446
|
+
public string resource_id;
|
|
447
|
+
public string channel_id;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
[Serializable]
|
|
451
|
+
public class Search
|
|
452
|
+
{
|
|
453
|
+
public string url;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
[Serializable]
|
|
457
|
+
public class Cloudstorage
|
|
458
|
+
{
|
|
459
|
+
public string storage_url;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
[Serializable]
|
|
463
|
+
public class Ml
|
|
464
|
+
{
|
|
465
|
+
public string mlservice_url;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
[Serializable]
|
|
469
|
+
public class Service
|
|
470
|
+
{
|
|
471
|
+
public Analytics analytics;
|
|
472
|
+
public Search search;
|
|
473
|
+
public Cloudstorage cloudstorage;
|
|
474
|
+
public Ml ml;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
[Serializable]
|
|
478
|
+
public class HMSAGConnectConfig
|
|
479
|
+
{
|
|
480
|
+
public Agcgw agcgw;
|
|
481
|
+
public Client client;
|
|
482
|
+
public Service service;
|
|
483
|
+
public string region;
|
|
484
|
+
public string configuration_version;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
#endregion
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
using OfficeOpenXml;
|
|
2
|
+
using System;
|
|
3
|
+
using System.IO;
|
|
4
|
+
|
|
5
|
+
namespace HmsPlugin
|
|
6
|
+
{
|
|
7
|
+
public static class HMSExcelHelper
|
|
8
|
+
{
|
|
9
|
+
public static string[,] ReadExcel(string path)
|
|
10
|
+
{
|
|
11
|
+
string[,] result = null;
|
|
12
|
+
|
|
13
|
+
using (ExcelPackage package = new ExcelPackage(new FileInfo(path)))
|
|
14
|
+
{
|
|
15
|
+
ExcelWorksheet sheet = package.Workbook.Worksheets[1];
|
|
16
|
+
result = ToStringArray(sheet.Cells.Value);
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
return result;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
private static string[,] ToStringArray(object arg)
|
|
23
|
+
{
|
|
24
|
+
string[,] result = null;
|
|
25
|
+
|
|
26
|
+
if (arg is Array)
|
|
27
|
+
{
|
|
28
|
+
int rank = ((Array)arg).Rank;
|
|
29
|
+
if (rank == 2)
|
|
30
|
+
{
|
|
31
|
+
int columnCount = ((Array)arg).GetLength(1) - 1;
|
|
32
|
+
int rowCount = ((Array)arg).GetLength(0);
|
|
33
|
+
result = new string[rowCount, columnCount];
|
|
34
|
+
|
|
35
|
+
for (int i = 0; i < rowCount; i++)
|
|
36
|
+
{
|
|
37
|
+
for (int j = 0; j < columnCount; j++)
|
|
38
|
+
{
|
|
39
|
+
var value = ((Array)arg).GetValue(i, j);
|
|
40
|
+
if (value != null)
|
|
41
|
+
result[i, j] = value.ToString();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|