You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Rename EBuildTargets::Type to EBuildTargetType, and add missing entries for server and program targets. Also replace usages of PlatformInfo::EPlatformType with EBuildTargetType.
#rb none #rnx [CL 7937405 by Ben Marsh in Dev-Build branch]
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
check(VanillaPlatform.PlatformInfo->IsVanilla());
|
||||
|
||||
// Only care about game targets
|
||||
if (VanillaPlatform.PlatformInfo->PlatformType != PlatformInfo::EPlatformType::Game || !VanillaPlatform.PlatformInfo->bEnabledForUse || !FInstalledPlatformInfo::Get().CanDisplayPlatform(VanillaPlatform.PlatformInfo->BinaryFolderName, ProjectType))
|
||||
if (VanillaPlatform.PlatformInfo->PlatformType != EBuildTargetType::Game || !VanillaPlatform.PlatformInfo->bEnabledForUse || !FInstalledPlatformInfo::Get().CanDisplayPlatform(VanillaPlatform.PlatformInfo->BinaryFolderName, ProjectType))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
check(VanillaPlatform.PlatformInfo->IsVanilla());
|
||||
|
||||
// Only care about game targets
|
||||
if (VanillaPlatform.PlatformInfo->PlatformType != PlatformInfo::EPlatformType::Game || !VanillaPlatform.PlatformInfo->bEnabledForUse || !FInstalledPlatformInfo::Get().CanDisplayPlatform(VanillaPlatform.PlatformInfo->BinaryFolderName, ProjectType))
|
||||
if (VanillaPlatform.PlatformInfo->PlatformType != EBuildTargetType::Game || !VanillaPlatform.PlatformInfo->bEnabledForUse || !FInstalledPlatformInfo::Get().CanDisplayPlatform(VanillaPlatform.PlatformInfo->BinaryFolderName, ProjectType))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -153,7 +153,7 @@ protected:
|
||||
{
|
||||
for (const PlatformInfo::FPlatformInfo* SubPlatformInfo : SubPlatformInfos)
|
||||
{
|
||||
if (SubPlatformInfo->PlatformType != PlatformInfo::EPlatformType::Game)
|
||||
if (SubPlatformInfo->PlatformType != EBuildTargetType::Game)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -190,7 +190,7 @@ protected:
|
||||
|
||||
// Add the Client configurations if there is a {ProjectName}Client.Target.cs file.
|
||||
TArray<FString> ClientTargetFileNames;
|
||||
if (FInstalledPlatformInfo::Get().IsValidPlatformType(PlatformInfo::EPlatformType::Client))
|
||||
if (FInstalledPlatformInfo::Get().IsValidTargetType(EBuildTargetType::Client))
|
||||
{
|
||||
IFileManager::Get().FindFiles(ClientTargetFileNames, *(FPaths::GameSourceDir() / TEXT("*client.target.cs")), true, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user