You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
34 lines
680 B
C
34 lines
680 B
C
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
//
|
|
// This MUST be kept in sync with EGeneratedBodyVersion in UBT defined in ExternalExecution.cs
|
|
// and with ToGeneratedBodyVersion function below
|
|
//
|
|
enum class EGeneratedCodeVersion : int32
|
|
{
|
|
None,
|
|
V1,
|
|
V2,
|
|
VLatest = V2
|
|
};
|
|
|
|
inline EGeneratedCodeVersion ToGeneratedCodeVersion(const FString& InString)
|
|
{
|
|
if (InString.Compare(TEXT("V1")) == 0)
|
|
{
|
|
return EGeneratedCodeVersion::V1;
|
|
}
|
|
|
|
if (InString.Compare(TEXT("V2")) == 0)
|
|
{
|
|
return EGeneratedCodeVersion::V2;
|
|
}
|
|
|
|
if (InString.Compare(TEXT("VLatest")) == 0)
|
|
{
|
|
return EGeneratedCodeVersion::VLatest;
|
|
}
|
|
|
|
return EGeneratedCodeVersion::None;
|
|
} |