You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
31 lines
894 B
C++
31 lines
894 B
C++
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AdvancedCopyCustomization.h"
|
|
#include "Containers/UnrealString.h"
|
|
|
|
|
|
#define LOCTEXT_NAMESPACE "AdvancedCopyCustomization"
|
|
|
|
|
|
UAdvancedCopyCustomization::UAdvancedCopyCustomization(const class FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
, bShouldGenerateRelativePaths(true)
|
|
{
|
|
FilterForExcludingDependencies.PackagePaths.Add(TEXT("/Engine"));
|
|
FilterForExcludingDependencies.PackagePaths.Add(TEXT("/Script"));
|
|
FilterForExcludingDependencies.bRecursivePaths = true;
|
|
FilterForExcludingDependencies.bRecursiveClasses = true;
|
|
}
|
|
|
|
void UAdvancedCopyCustomization::SetPackageThatInitiatedCopy(const FString& InBasePackage)
|
|
{
|
|
FString TempPackage = InBasePackage;
|
|
if (!TempPackage.EndsWith(TEXT("/")))
|
|
{
|
|
TempPackage += TEXT("/");
|
|
}
|
|
PackageThatInitiatedCopy = TempPackage;
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE
|