// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" struct FAssetData; class IAssetRegistry; class FLocalizationSCC; struct FLocalizedAssetSCCUtil { static bool SaveAssetWithSCC(const TSharedPtr& InSourceControlInfo, UObject* InAsset); static bool SaveAssetWithSCC(const TSharedPtr& InSourceControlInfo, UObject* InAsset, const FString& InFilename); static bool SavePackageWithSCC(const TSharedPtr& InSourceControlInfo, UPackage* InPackage); static bool SavePackageWithSCC(const TSharedPtr& InSourceControlInfo, UPackage* InPackage, const FString& InFilename); static bool DeleteAssetWithSCC(const TSharedPtr& InSourceControlInfo, UObject* InAsset); static bool DeletePackageWithSCC(const TSharedPtr& InSourceControlInfo, UPackage* InPackage); typedef TFunctionRef FSaveFileCallback; static bool SaveFileWithSCC(const TSharedPtr& InSourceControlInfo, const FString& InFilename, const FSaveFileCallback& InSaveFileCallback); }; struct FLocalizedAssetUtil { static bool GetAssetsByPathAndClass(IAssetRegistry& InAssetRegistry, const FName InPackagePath, const FName InClassName, const bool bIncludeLocalizedAssets, TArray& OutAssets); static bool GetAssetsByPathAndClass(IAssetRegistry& InAssetRegistry, const TArray& InPackagePaths, const FName InClassName, const bool bIncludeLocalizedAssets, TArray& OutAssets); };