Navigation
API > API/Editor > API/Editor/GameProjectGeneration
Inheritance Hierarchy
- IModuleInterface
- FGameProjectGenerationModule
References
| Module | GameProjectGeneration |
| Header | /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectGenerationModule.h |
| Include | #include "GameProjectGenerationModule.h" |
Syntax
class FGameProjectGenerationModule : public IModuleInterface
Remarks
Game Project Generation module
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Warn the user if the project filename is invalid in case they renamed it outside the editor | ||
| void | Prompts the user to update their project file, if necessary. | ||
| void | Clear the list of supported target platforms | ||
| TSharedRef< class SWidget > | CreateGameProjectDialog
(
bool bAllowProjectOpening, |
Creates the game project dialog | |
| TSharedRef< class SWidget > | CreateNewClassDialog
(
const UClass* InClass |
Creates a new class dialog for creating classes based on the passed-in class. | |
| FString | DetermineModuleIncludePath
(
const FModuleContextInfo& ModuleInfo, |
Returns the path to the module's include header | |
| bool | GenerateBasicSourceCode
(
TArray< FString >& OutCreatedFiles, |
Generate basic project source code | |
| FGameProjectGenerationModule & | Get () |
Singleton-like access to this module's interface. | |
| void | GetAllTemplateCategories
(
TArray< TSharedPtr< FTemplateCategory >>& OutCategories |
||
| TSharedPtr< const FTemplateCategory > | GetCategory
(
FName Type |
Non DLL-exposed access to template categories. | |
| const TArray< FModuleContextInfo > & | Get the information about any modules referenced in the .uproject file of the currently loaded project | ||
| void | GetProjectSourceDirectoryInfo
(
int32& OutNumFiles, |
Gets file and size info about the source directory | |
| bool | IsValidBaseClassForCreation
(
const UClass* InClass, |
Returns true if the specified class is a valid base class for the given module | |
| bool | IsValidBaseClassForCreation
(
const UClass* InClass, |
Returns true if the specified class is a valid base class for any of the given modules | |
| FAddCodeToProjectDialogOpenedEvent & | |||
| void | OpenAddBlueprintToProjectDialog
(
const FAddToProjectConfig& Config |
Opens a dialog to add a new blueprint to the current project. | |
| void | OpenAddCodeToProjectDialog
(
const FAddToProjectConfig& Config |
Opens a dialog to add code files to the current project. | |
| bool | Gets the current projects source file count | ||
| void | TryMakeProjectFileWriteable
(
const FString& ProjectFile |
Tries to make the project file writable. Prompts to check out as necessary. | |
| bool | UpdateCodeProject
(
FText& OutFailReason, |
Updates the current code project | |
| bool | UpdateGameProject
(
const FString& ProjectFile, |
Updates the currently loaded project. | |
| void | UpdateSupportedTargetPlatforms
(
const FName& InPlatformName, |
Update the list of supported target platforms based upon the parameters provided This will take care of checking out and saving the updated .uproject file automatically |
Overridden from IModuleInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Called before the plugin is unloaded, right before the plugin object is destroyed. | ||
| void | Called right after the plugin DLL has been loaded and the plugin object has been created |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FAddCodeToProjectDialogOpenedEvent | Delegate for when the AddCodeToProject dialog is opened |
Typedefs
| Name | Description |
|---|---|
| FTemplateCategoryMap |