10 #include "Commandlets/Commandlet.h" 11 #include "Runtime/Engine/Classes/Engine/ObjectLibrary.h" 13 #if WITH_EDITORONLY_DATA 14 #include "AssetRegistry/Public/AssetRegistryModule.h" 15 #include "Developer/AssetTools/Public/AssetToolsModule.h" 16 #endif // WITH_EDITORONLY_DATA 17 #include "MoveAssetsCommandlet.generated.h" 24 GENERATED_USTRUCT_BODY()
28 TArray<FString> MapNames;
40 #if WITH_EDITORONLY_DATA 45 FMovePackageParams ParseParams(
const FString &InParams)
const;
48 void MoveAssetsFromMapForSemanticSegmentation(
const FString &PackageName,
const FString &MapName);
51 void MoveAssets(
const FMovePackageParams &PackageParams);
57 virtual int32 Main(
const FString &Params)
override;
59 #endif // WITH_EDITORONLY_DATA 68 TArray<FAssetData> AssetDatas;
72 TArray<FAssetData> MapContents;
77 UObjectLibrary *AssetsObjectLibrary;
Struct containing Package Params, used for storing the parsed arguments when invoking this commandlet...