Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/DataDrivenPlatformInfoRegistry.h |
| Include | #include "Misc/DataDrivenPlatformInfoRegistry.h" |
Syntax
struct FDataDrivenPlatformInfoRegistry
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearDeviceStatus
(
FName PlatformName |
Wipes out cached device status for all devices in a platform (or all platforms if PlatformName is empty) | |
| FDataDrivenPlatformInfo & | DeviceIdToInfo
(
FString DeviceId, |
||
| const TMap< FName, FDataDrivenPlatformInfo > & | Get the global set of data driven platform information | ||
| const TArray< struct FPreviewPlatformMenuItem > & | Retrieve the full list of all known preview platforms from all DDPIs | ||
| const TArray< FName > & | Gets a list of all known confidential platforms (note these are just the platforms you have access to, so, for example PS4 won't be returned if you are not a PS4 licensee) | ||
| int32 | Returns the number of discovered ini files that can be loaded with LoadDataDrivenIniFile | ||
| const TArray< FString > & | GetPlatformDirectoryNames
(
bool bCheckValid |
Gets a set of platform names based on GetAllPlatformInfos, their AdditionalRestrictedFolders This is not necessarily the same as IniParents, although there is overlap - IniParents come from chaining DDPIs, so those will be in GetAllPlatformInfos already to be checked | |
| const FDataDrivenPlatformInfo & | GetPlatformInfo
(
const char* PlatformName |
||
| const FDataDrivenPlatformInfo & | GetPlatformInfo
(
FName PlatformName |
||
| const FDataDrivenPlatformInfo & | GetPlatformInfo
(
const FString& PlatformName |
Get the data driven platform info for a given platform. | |
| const TArray< const FDataDrivenPlatformInfo * > & | GetSortedPlatformInfos
(
EPlatformInfoType PlatformType |
||
| const TArray< const FDataDrivenPlatformInfo * > & | |||
| const TArray< FName > | GetSortedPlatformNames
(
EPlatformInfoType PlatformType |
Get sorted platorm infos or names. | |
| const TArray< FName > | |||
| const TArray< FString > & | Gets a set of platform names based on GetAllPlatformInfos, their AdditionalRestrictedFolders, and possibly filtered based on what editor has support compiled for This is not necessarily the same as IniParents, although there is overlap - IniParents come from chaining DDPIs, so those will be in GetAllPlatformInfos already to be checked | ||
| bool | HasCompiledSupportForPlatform
(
FName PlatformName, |
||
| bool | IsPlatformHiddenFromUI
(
FName PlatformName |
Option to hide a platform from the user interface at runtime | |
| bool | LoadDataDrivenIniFile
(
int32 Index, |
Load the given ini file, and | |
| void | SetPlatformHiddenFromUI
(
FName PlatformName |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EPlatformNameType | Checks for the existence of compiled modules for a given (usually another, target, platform) Since there are different types of platform names, it is necessary pass in the type of name |