Navigation
API > API/Plugins > API/Plugins/ProjectLauncher
Base class for a launch extension.
Singleton instance is registered with this plugin during initialization as follows:
TSharedPtr
| Name | FLaunchExtension |
| Type | class |
| Header File | /Engine/Plugins/Developer/ProjectLauncher/Source/ProjectLauncher/Public/Extension/LaunchExtension.h |
| Include Path | #include "Extension/LaunchExtension.h" |
Syntax
class FLaunchExtension : public TSharedFromThis< FLaunchExtension >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FLaunchExtension
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLaunchExtension() |
Extension/LaunchExtension.h |
Structs
| Name | Remarks |
|---|---|
| FExtensionsMenuEntry | Describes how this extension is represented in the extensions menu |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FText GetDisplayName() |
Returns the user-facing name for this extension | Extension/LaunchExtension.h | |
const TCHAR * GetInternalName() |
Returns the debug name for this extension | Extension/LaunchExtension.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBuildCookRunLaunchExtension * AsBuildCookRunLaunchExtension() |
Attempt to cast this launch extension to an BuildCookRun launch extension (this is an extension for a build cook run UAT command) | Extension/LaunchExtension.h | |
virtual IUATCommandExtensionFactory * AsUATCommandFactory() |
Attempt to cast this launch extension instance to a UAT command factory | Extension/LaunchExtension.h | |
virtual bool CanBeCreated
(
ILauncherProfileRef InProfile, |
Whether this extension can be created at this time | Extension/LaunchExtension.h | |
virtual void GetExtensionsMenuEntry
(
FExtensionsMenuEntry& MenuEntry |
Extension/LaunchExtension.h | ||
virtual FSlateIcon GetIcon() |
Returns the icon to use for this extension in menus etc | Extension/LaunchExtension.h | |
virtual bool IsAlwaysCreated
(
ILauncherProfileRef InProfile, |
Whether this extension is always created. the user cannot remove it | Extension/LaunchExtension.h | |
virtual bool IsCreatedByDefault
(
ILauncherProfileRef InProfile, |
Whether this extension will be created by default. the user can still remove it | Extension/LaunchExtension.h | |
virtual bool IsUATCommandManager() |
Whether this extension manages a UAT command | Extension/LaunchExtension.h | |
virtual void MakeCustomExtensionSubmenu
(
FMenuBuilder& MenuBuilder, |
Extension/LaunchExtension.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FLaunchExtensionInstance > CreateExtensionInstance
(
TSharedRef< FLaunchExtension > InExtension, |
Extension/LaunchExtension.h | ||
static TArray< TSharedPtr< FLaunchExtensionInstance > > CreateExtensionInstancesForProfile
(
ILauncherProfileRef InProfile, |
Instantiate all compatible extensions | Extension/LaunchExtension.h | |
static void DestroyExtensionInstance
(
TSharedRef< FLaunchExtensionInstance > InExtensionInstance, |
Extension/LaunchExtension.h | ||
static void DestroyExtensionInstancesForProfile
(
ILauncherProfilePtr InProfile |
Destroy all extension instances for the given profile | Extension/LaunchExtension.h | |
static TSharedPtr< FLaunchExtensionInstance > GetExtensionInstance
(
TSharedRef< FLaunchExtension > InExtension, |
Extension/LaunchExtension.h | ||
static TArray< TSharedRef< FLaunchExtensionInstance > > GetExtensionInstances
(
TSharedRef< FLaunchExtension > InExtension, |
Extension/LaunchExtension.h | ||
static TArray< TSharedRef< FLaunchExtension > > GetExtensions() |
Extension/LaunchExtension.h |