Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
ECompilationResult Namespace Reference

Enumerations

enum  Type : int {
  Succeeded = 0x0 , Canceled = 0x1 , UpToDate = 0x2 , CrashOrAssert = 0x3 ,
  FailedDueToHeaderChange = 0x4 , FailedDueToEngineChange = 0x5 , OtherCompilationError = 0x6 , LiveCodingLimitError = 0x7 ,
  Unsupported = 0x8 , Unknown = 0x9 , Succeeded = 0x0 , Canceled = 0x1 ,
  UpToDate = 0x2 , CrashOrAssert = 0x3 , FailedDueToHeaderChange = 0x4 , FailedDueToEngineChange = 0x5 ,
  OtherCompilationError = 0x6 , LiveCodingLimitError = 0x7 , Unsupported = 0x8 , Unknown = 0x9
}
 
enum  Type {
  Succeeded = 0x0 , Canceled = 0x1 , UpToDate = 0x2 , CrashOrAssert = 0x3 ,
  FailedDueToHeaderChange = 0x4 , FailedDueToEngineChange = 0x5 , OtherCompilationError = 0x6 , LiveCodingLimitError = 0x7 ,
  Unsupported = 0x8 , Unknown = 0x9 , Succeeded = 0x0 , Canceled = 0x1 ,
  UpToDate = 0x2 , CrashOrAssert = 0x3 , FailedDueToHeaderChange = 0x4 , FailedDueToEngineChange = 0x5 ,
  OtherCompilationError = 0x6 , LiveCodingLimitError = 0x7 , Unsupported = 0x8 , Unknown = 0x9
}
 

Functions

static FORCEINLINE const TCHARToString (ECompilationResult::Type Result)
 
static FORCEINLINE bool Failed (ECompilationResult::Type Result)
 

Detailed Description

Enumerates possible results of a compilation operation.

This enum has to be compatible with the one defined in the Engine\Source\Programs\UnrealBuildTool\System\ExternalExecution.cs file to keep communication between UHT, UBT and Editor compiling processes valid.

Enumeration Type Documentation

◆ Type [1/2]

Enumerator
Succeeded 

Compilation succeeded

Canceled 

Build was canceled, this is used on the engine side only

UpToDate 

All targets were up to date, used only with -canskiplink

CrashOrAssert 

The process has most likely crashed. This is what UE returns in case of an assert

FailedDueToHeaderChange 

Compilation failed because generated code changed which was not supported

FailedDueToEngineChange 

Compilation failed due to the engine modules needing to be rebuilt

OtherCompilationError 

Compilation failed due to compilation errors

LiveCodingLimitError 

Compilation failed due to live coding limit reached

Unsupported 

Compilation is not supported in the current build

Unknown 

Unknown error

Succeeded 

Compilation succeeded

Canceled 

Build was canceled, this is used on the engine side only

UpToDate 

All targets were up to date, used only with -canskiplink

CrashOrAssert 

The process has most likely crashed. This is what UE returns in case of an assert

FailedDueToHeaderChange 

Compilation failed because generated code changed which was not supported

FailedDueToEngineChange 

Compilation failed due to the engine modules needing to be rebuilt

OtherCompilationError 

Compilation failed due to compilation errors

LiveCodingLimitError 

Compilation failed due to live coding limit reached

Unsupported 

Compilation is not supported in the current build

Unknown 

Unknown error

Definition at line 6006 of file Enums.h.

◆ Type [2/2]

Enumerator
Succeeded 

Compilation succeeded

Canceled 

Build was canceled, this is used on the engine side only

UpToDate 

All targets were up to date, used only with -canskiplink

CrashOrAssert 

The process has most likely crashed. This is what UE returns in case of an assert

FailedDueToHeaderChange 

Compilation failed because generated code changed which was not supported

FailedDueToEngineChange 

Compilation failed due to the engine modules needing to be rebuilt

OtherCompilationError 

Compilation failed due to compilation errors

LiveCodingLimitError 

Compilation failed due to live coding limit reached

Unsupported 

Compilation is not supported in the current build

Unknown 

Unknown error

Succeeded 

Compilation succeeded

Canceled 

Build was canceled, this is used on the engine side only

UpToDate 

All targets were up to date, used only with -canskiplink

CrashOrAssert 

The process has most likely crashed. This is what UE returns in case of an assert

FailedDueToHeaderChange 

Compilation failed because generated code changed which was not supported

FailedDueToEngineChange 

Compilation failed due to the engine modules needing to be rebuilt

OtherCompilationError 

Compilation failed due to compilation errors

LiveCodingLimitError 

Compilation failed due to live coding limit reached

Unsupported 

Compilation is not supported in the current build

Unknown 

Unknown error

Definition at line 16 of file CompilationResult.h.

Function Documentation

◆ Failed()

static FORCEINLINE bool ECompilationResult::Failed ( ECompilationResult::Type Result)
static

Returns false if the provided Result is either UpToDate or Succeeded.

Definition at line 70 of file CompilationResult.h.

◆ ToString()

static FORCEINLINE const TCHAR * ECompilationResult::ToString ( ECompilationResult::Type Result)
static

Converts ECompilationResult enum to string.

Definition at line 43 of file CompilationResult.h.