EAddCodeToProjectResult

Used as a function return result when adding new code to the project

Windows
MacOS
Linux

References

Module

GameProjectGeneration

Header

/Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h

Include

#include "GameProjectUtils.h"

Syntax

enum EAddCodeToProjectResult
{
    Succeeded,
    InvalidInput,
    FailedToAddCode,
    FailedToHotReload,
}

Values

Name

Description

Succeeded

Function has successfully added the code and hot-reloaded the required module(s)

InvalidInput

There were errors with the input given to the function

FailedToAddCode

There were errors when adding the new source files

FailedToHotReload

There were errors when hot-reloading the new module

Remarks

Used as a function return result when adding new code to the project

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss