Navigation
API > API/Editor > API/Editor/GameProjectGeneration > API/Editor/GameProjectGeneration/GameProjectUtils
Used as a function return result when adding new code to the project
| Name | EAddCodeToProjectResult |
| Type | enum |
| Header File | /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h |
| Include Path | #include "GameProjectUtils.h" |
Syntax
enum EAddCodeToProjectResult
{
Succeeded,
InvalidInput,
FailedToAddCode,
FailedToHotReload,
}
Values
| Name | Remarks |
|---|---|
| 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 |