Navigation
API > API/Plugins > API/Plugins/ProjectLauncher
Base for a command line extension
| Name | FCmdLineParametersExtension |
| Type | class |
| Header File | /Engine/Plugins/Developer/ProjectLauncher/Source/ProjectLauncher/Public/Extension/CmdLineParametersExtension.h |
| Include Path | #include "Extension/CmdLineParametersExtension.h" |
Syntax
class FCmdLineParametersExtension : public TSharedFromThis< FCmdLineParametersExtension >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FCmdLineParametersExtension
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCmdLineParametersExtension
(
const FArgs& InArgs |
Extension/CmdLineParametersExtension.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCmdLineParametersExtension() |
Extension/CmdLineParametersExtension.h |
Structs
| Name | Remarks |
|---|---|
| FArgs |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Extension | TSharedRef< FLaunchExtension > | Extension/CmdLineParametersExtension.h | ||
| ExtensionInstance | TSharedRef< FLaunchExtensionInstance > | Extension/CmdLineParametersExtension.h | ||
| GetCommandLineDelegate | FLaunchProfileTreeNode::FGetString | Extension/CmdLineParametersExtension.h | ||
| Model | TSharedRef< FModel > | Extension/CmdLineParametersExtension.h | ||
| Profile | ILauncherProfileRef | Extension/CmdLineParametersExtension.h | ||
| SetCommandLineDelegate | FLaunchProfileTreeNode::FSetString | Extension/CmdLineParametersExtension.h | ||
| TypeName | FString | Extension/CmdLineParametersExtension.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< FLaunchExtension > GetExtension() |
Get the extension we belong to | Extension/CmdLineParametersExtension.h | |
TSharedRef< FLaunchExtensionInstance > GetExtensionInstance() |
Get the extension instance that instantiated us | Extension/CmdLineParametersExtension.h |
Public Virtual
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetCommandLine() |
Get the current command line | Extension/CmdLineParametersExtension.h | |
TSharedRef< FModel > GetModel() |
Get the model, for general purpose helper functions | Extension/CmdLineParametersExtension.h | |
ILauncherProfileRef GetProfile() |
Get the profile we were instantiated for | Extension/CmdLineParametersExtension.h | |
void SetCommandLine
(
const FString& InCommandLine |
Update the command line | Extension/CmdLineParametersExtension.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CustomizeParametersSubmenu
(
FMenuBuilder& MenuBuilder |
Hook to allow the extension to extend the extension parameters menu | Extension/CmdLineParametersExtension.h | |
virtual void OnProjectChanged() |
Notification callback when the project has been changed in our profile | Extension/CmdLineParametersExtension.h |