Ejemplo n.º 1
0
 public static string GetUBTExe(this EngineInstall EngineInstall)
 {
     if (EngineInstall.GetVersion().MajorVersion >= 5)
     {
         return(Path.Combine(EngineInstall.InstallDirectory, "Engine", "Binaries", "DotNET", "UnrealBuildTool", "UnrealBuildTool.exe"));
     }
     return(Path.Combine(EngineInstall.InstallDirectory, "Engine", "Binaries", "DotNET", "UnrealBuildTool.exe"));
 }
Ejemplo n.º 2
0
 public static string GetBuildVersionPath(this EngineInstall EngineInstall)
 {
     return(Path.Combine(EngineInstall.InstallDirectory, "Engine", "Build", "Build.version"));
 }
Ejemplo n.º 3
0
 public static string GetBuildPath(this EngineInstall EngineInstall)
 {
     return(Path.Combine(EngineInstall.InstallDirectory, "Engine", "Build", "BatchFiles", "Build.bat"));
 }
Ejemplo n.º 4
0
        public static string GetEditorExe(this EngineInstall EngineInstall, OperationParameters operationParameters)
        {
            string mainEditorName = EngineInstall.GetVersion().MajorVersion >= 5 ? "UnrealEditor" : "UE4Editor";

            return(Path.Combine(EngineInstall.InstallDirectory, "Engine", "Binaries", "Win64", operationParameters.Configuration == BuildConfiguration.DebugGame ? mainEditorName + "-Win64-DebugGame.exe" : mainEditorName + ".exe"));
        }
 public EngineInstall GetEngineInstall()
 {
     return(EngineInstall.GetEngineInstall(EngineVersion));
 }