Navigation
API > API/Plugins > API/Plugins/ProjectLauncher
This class contains a selection of helper functions and the current profile state
| Name | FModel |
| Type | class |
| Header File | /Engine/Plugins/Developer/ProjectLauncher/Source/ProjectLauncher/Public/Model/ProjectLauncherModel.h |
| Include Path | #include "Model/ProjectLauncherModel.h" |
Syntax
class FModel : public TSharedFromThis< FModel >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEntity → FTopologicalEntity → FTopologicalShapeEntity → FModel
- FHaveStates → FEntity → FTopologicalEntity → FTopologicalShapeEntity → FModel
- FSharedFromThisBase → TSharedFromThis → FModel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FModel
(
const TSharedRef< ITargetDeviceProxyManager >& InDeviceProxyManager, |
Constructor/destructor | Model/ProjectLauncherModel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FModel() |
Model/ProjectLauncherModel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllProfiles | TArray< ILauncherProfilePtr > | Model/ProjectLauncherModel.h | ||
| BasicLaunchProfile | ILauncherProfilePtr | Model/ProjectLauncherModel.h | ||
| bHasSetBasicLaunchProfilePlatform | bool | Model/ProjectLauncherModel.h | ||
| CachedMapPaths | TMap< FString, TArray< FString > > | Model/ProjectLauncherModel.h | ||
| CachedProjectSettings | TMap< FString, FProjectSettings > | Model/ProjectLauncherModel.h | ||
| ConfigFileName | FString | Model/ProjectLauncherModel.h | ||
| DefaultBasicLaunchProfile | ILauncherProfilePtr | Model/ProjectLauncherModel.h | ||
| DefaultCustomLaunchProfile | ILauncherProfilePtr | Model/ProjectLauncherModel.h | ||
| DeviceProxyManager | TSharedRef< ITargetDeviceProxyManager > | Model/ProjectLauncherModel.h | ||
| Launcher | TSharedRef< ILauncher > | Model/ProjectLauncherModel.h | ||
| LaunchLogMessages | TArray< TSharedPtr< FLaunchLogMessage > > | Model/ProjectLauncherModel.h | ||
| PlatformChangedDelegate | FOnSelectedPlatformChanged | Model/ProjectLauncherModel.h | ||
| ProfileManager | TSharedRef< ILauncherProfileManager > | Model/ProjectLauncherModel.h | ||
| ProfileSelectedDelegate | FOnSelectedProfileChanged | Model/ProjectLauncherModel.h | ||
| SelectedProfile | ILauncherProfilePtr | Model/ProjectLauncherModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FLaunchLogMessage > AddLogMessage
(
const FString& InMessage, |
Record a new log message from launching | Model/ProjectLauncherModel.h | |
bool AreExtensionsEnabled() |
Returns true if extensions are enabled for project launcher | Model/ProjectLauncherModel.h | |
void ClearLogMessages() |
Clear all log messages | Model/ProjectLauncherModel.h | |
ILauncherProfilePtr CloneCustomProfile
(
const ILauncherProfileRef& Profile |
Clone an existing custom profile | Model/ProjectLauncherModel.h | |
ILauncherProfileRef CreateBasicLaunchProfile() |
Create a new basic launch profile | Model/ProjectLauncherModel.h | |
ILauncherProfileRef CreateCustomProfile
(
const TCHAR* Name |
Create a new custom profile with the given name | Model/ProjectLauncherModel.h | |
EContentScheme DetermineProfileContentScheme
(
const ILauncherProfileRef& Profile |
Determine the content scheme for a profile | Model/ProjectLauncherModel.h | |
const TArray< ILauncherProfilePtr > & GetAllProfiles() |
Get all known launcher profiles | Model/ProjectLauncherModel.h | |
| Model/ProjectLauncherModel.h | |||
| Model/ProjectLauncherModel.h | |||
| Get available maps for a project or engine | Model/ProjectLauncherModel.h | ||
| Model/ProjectLauncherModel.h | |||
ILauncherProfilePtr GetBasicLaunchProfile() |
Get the basic launch profile | Model/ProjectLauncherModel.h | |
FTargetInfo GetBuildTargetInfo
(
FString BuildTargetName, |
Get build target info for a project path or profile | Model/ProjectLauncherModel.h | |
FTargetInfo GetBuildTargetInfo
(
const ILauncherProfileRef& Profile |
Model/ProjectLauncherModel.h | ||
const FString & GetConfigIni() |
Model/ProjectLauncherModel.h | ||
const TCHAR * GetConfigSection() |
Get config section and ini file used for storing project launcher state | Model/ProjectLauncherModel.h | |
const ILauncherProfileRef GetDefaultBasicLaunchProfile() |
Get the default basic launch profile - used for "reset to default" | Model/ProjectLauncherModel.h | |
const ILauncherProfileRef GetDefaultCustomLaunchProfile() |
Get the default custom launch profile - used for "reset to default" | Model/ProjectLauncherModel.h | |
const TSharedRef< ITargetDeviceProxyManager > & GetDeviceProxyManager() |
Get the target device proxy manager | Model/ProjectLauncherModel.h | |
const TSharedRef< ILauncher > & GetLauncher() |
Get the launcher instance | Model/ProjectLauncherModel.h | |
int32 GetNumLogMessages() |
Get number of log messages | Model/ProjectLauncherModel.h | |
const TSharedRef< ILauncherProfileManager > & GetProfileManager() |
Get the launcher profile manager | Model/ProjectLauncherModel.h | |
EProfileType GetProfileType
(
const ILauncherProfileRef& Profile |
Get the type of a profile (basic, custom, advanced) | Model/ProjectLauncherModel.h | |
const FProjectSettings GetProjectSettings
(
const ILauncherProfileRef& Profile |
Model/ProjectLauncherModel.h | ||
const FProjectSettings GetProjectSettings
(
const FString& ProjectPath |
Retrieve project settings from a project path or profile | Model/ProjectLauncherModel.h | |
const ILauncherProfilePtr & GetSelectedProfile() |
Get the currently selected profile | Model/ProjectLauncherModel.h | |
bool IsAdvancedProfile
(
const ILauncherProfileRef& Profile |
Returns true if the given profile is advanced (multiple platforms/cultures, DLC, patches, etc) | Model/ProjectLauncherModel.h | |
bool IsBasicLaunchProfile
(
const ILauncherProfilePtr& Profile |
Returns true if the given profile is the basic launch profile | Model/ProjectLauncherModel.h | |
FOnSelectedProfileChanged & OnProfileSelected() |
Delegate fired when a profile is selected | Model/ProjectLauncherModel.h | |
void SelectProfile
(
const ILauncherProfilePtr& Profile |
Change the selected profile | Model/ProjectLauncherModel.h | |
void SetProfileContentScheme
(
EContentScheme ContentScheme, |
Apply a content scheme to a profile, setting cook/deploy/packaging options etc | Model/ProjectLauncherModel.h | |
void SortProfiles() |
Sort all profiles alphabetically, keeping the basic profile first in the list | Model/ProjectLauncherModel.h | |
void UpdateCookedPlatformsFromBuildTarget
(
const ILauncherProfileRef& Profile |
Update cooked platforms based on build target | Model/ProjectLauncherModel.h | |
void UpdatedCookedPlatformsFromDeployDeviceProxy
(
const ILauncherProfileRef& Profile, |
Update cooked platforms based on selected device proxy | Model/ProjectLauncherModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Model/ProjectLauncherModel.h | |||
static TSharedPtr< ITargetDeviceProxy > GetDeviceProxy
(
const ILauncherProfileRef& Profile |
Get a device proxy for a profile | Model/ProjectLauncherModel.h | |
static const PlatformInfo::FTargetPlatformInfo * GetPlatformInfo
(
FName PlatformName, |
Model/ProjectLauncherModel.h | ||
static const PlatformInfo::FTargetPlatformInfo * GetPlatformInfo
(
const ILauncherProfilePtr& Profile |
Get platform info for a profile or platform name | Model/ProjectLauncherModel.h | |
| Utility functions for resolving platform names | Model/ProjectLauncherModel.h | ||
static bool IsHostPlatform
(
const ILauncherProfilePtr& Profile |
Returns true if profile or platform name refers to host platform | Model/ProjectLauncherModel.h | |
static bool IsHostPlatform
(
FName PlatformName |
Model/ProjectLauncherModel.h |