OverrideCookPlatformName
OverrideCookPlatformName
#Overview
name: OverrideCookPlatformName
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/LinuxArm64/DataDrivenPlatformInfo.ini:15, section: [DataDrivenPlatformInfo]
- INI Section:
DataDrivenPlatformInfo
- Raw value:
Linux
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/Misc/DataDrivenPlatformInfoRegistry.cpp:361
Scope (from outer to inner):
file
function static void LoadDDPIIniSettings
Source code excerpt:
DDPIGetBool(IniFile, TEXT("bSupportsTouch"), Info.bSupportsTouch);
DDPIGetName(IniFile, TEXT("OverrideCookPlatformName"), Info.OverrideCookPlatformName);
#if DDPI_HAS_EXTENDED_PLATFORMINFO_DATA
DDPIGetString(IniFile, TEXT("AutoSDKPath"), Info.AutoSDKPath);
DDPIGetString(IniFile, TEXT("TutorialPath"), Info.SDKTutorial);
DDPIGetName(IniFile, TEXT("PlatformGroupName"), Info.PlatformGroupName);
#Loc: <Workspace>/Engine/Source/Runtime/Core/Public/Misc/DataDrivenPlatformInfoRegistry.h:163
Scope: file
Source code excerpt:
/** Platform name to be used for cooking (note: DOES NOT include the configuration name, eg "Server", "Client", only the platform name) */
FName OverrideCookPlatformName;
const FName& GetCookPlatformName() const
{
if (!OverrideCookPlatformName.IsNone() && OverrideCookPlatformName.IsValid())
{
return OverrideCookPlatformName;
}
return IniPlatformName;
}
// NOTE: add more settings here (and read them in in the LoadDDPIIniSettings() function in the .cpp)