Navigation
API > API/Developer > API/Developer/TargetPlatform
| Name | TNonDesktopTargetPlatformBase |
| Type | class |
| Header File | /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h |
| Include Path | #include "Common/TargetPlatformBase.h" |
Syntax
template<typename TPlatformProperties>
class TNonDesktopTargetPlatformBase : public TTargetPlatformBase< TPlatformProperties >
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TNonDesktopTargetPlatformBase
(
bool bInIsClientOnly, |
A simplified version for TPs that never will have Editor or ServerOnly versions, potentially multiple CookFlavors, as well as IN VERY RARE CASES, a different runtime IniPlatformName than what is passed in here (an example being TVOS and IOS, where passing in TVOS properties is very complicated) Note that if we delayed the Info creation, we could just use this->IniPlatformName() and override that in, say TVOS, but we can't call a virtual here, so we pass it up into the ctor | Common/TargetPlatformBase.h |
Functions
Public
Overridden from ITargetPlatformSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString IniPlatformName () |
Gets the platform's INI name (so an offline tool can load the INI for the given target platform). | Common/TargetPlatformBase.h |
Overridden from ITargetPlatformControls
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString CookingDeviceProfileName() |
Gets the name of the device profile to use when cooking this TargetPlatform | Common/TargetPlatformBase.h | |
virtual bool HasEditorOnlyData() |
Checks whether this platform has only editor data (typically desktop platforms). | Common/TargetPlatformBase.h | |
virtual bool IsClientOnly() |
Checks whether this platform is only a client (and must connect to a server to run). | Common/TargetPlatformBase.h | |
virtual bool IsRunningPlatform () |
Checks whether this platform is the platform that's currently running. | Common/TargetPlatformBase.h | |
virtual bool IsServerOnly() |
Checks whether this platform is only a server. | Common/TargetPlatformBase.h | |
virtual FString PlatformName () |
Returns the name of this platform | Common/TargetPlatformBase.h |