Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/ConfigContext.h |
| Include | #include "Misc/ConfigContext.h" |
Syntax
class FConfigContext
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAllowGeneratedIniWhenCooked | ||
| bool | bAllowRemoteConfig | ||
| FString | BaseIniName | ||
| bool | bCacheOnNextLoad | ||
| bool | bDefaultEngineRequired | ||
| bool | bDoNotResetConfigFile | ||
| bool | bForceReload | ||
| bool | bIncludeTagNameInBranchName | GameFeaturePlugins have WindowsFooGame.ini, not WindowsGame.ini. | |
| bool | bIsForPlugin | ||
| bool | bIsForPluginModification | ||
| bool | bIsHierarchicalConfig | ||
| FConfigBranch * | Branch | ||
| bool | bUseHierarchyCache | ||
| bool | bWriteDestIni | ||
| FConfigModificationTracker * | ChangeTracker | ||
| TArray< FString > | ChildPluginBaseDirs | ||
| FName | ConfigFileTag | ||
| FConfigCacheIni * | ConfigSystem | ||
| FString | DestIniFilename | ||
| FString | EngineConfigDir | ||
| FString | EngineRootDir | ||
| FConfigFile * | ExistingFile | ||
| FString | GeneratedConfigDir | ||
| const TSet< FString > * | IniCacheSet | If this is non-null, it contains a set of pre-scanned ini files to use to find files, instead of looking on disk | |
| TArray< FConfigLayer > | OverrideLayers | Allow a custom set of layers | |
| TMap< FString, FPerPlatformDirs > | PerPlatformDirs | ||
| FString | Platform | ||
| DynamicLayerPriority | PluginModificationPriority | ||
| FString | PluginRootDir | ||
| FString | ProjectConfigDir | ||
| FString | ProjectLimitedAccessDir | Useful strings that are used alot when walking the hierarchy | |
| FString | ProjectNoRedistDir | ||
| FString | ProjectNotForLicenseesDir | ||
| FString | ProjectRootDir | ||
| FString | SavePlatform | ||
| FString | StartSkippingAtFilename | ||
| FConfigBranch * | TemporaryBranch |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FConfigContext
(
FConfigCacheIni* InConfigSystem, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Call to make before attempting parallel config init | ||
| FConfigContext | Create a context to read a hierarchical config into GConfig. Only for current platform. | ||
| const FPerPlatformDirs & | GetPerPlatformDirs
(
const FString& PlatformName |
Return the paths to use to find hierarchical config files for the given platform (note that these are independent of the ini name) | |
| bool | Use the context to perform the actual load operation as above, but will return the generated final ini filename (in the case of GConfig, this would be the key used to look up into GConfig, for example) | ||
| bool | Use the context to perform the actual load operation. | ||
| FConfigContext | ReadIntoConfigSystem
(
FConfigCacheIni* ConfigSystem, |
Create a context to read a hierarchical config into the given ConfigSystem structure - usually will be for other platforms | |
| FConfigContext | Create a context to read a hierarchical config into GConfig. Only for current platform. | ||
| FConfigContext | ReadIntoLocalFile
(
FConfigFile& DestConfigFile, |
Create a context to read a hierarchical config into the given local FConfigFile, optionally for another platform | |
| FConfigContext | ReadIntoPluginFile
(
FConfigFile& DestConfigFile, |
Create a context to read a plugin's ini file named for the plugin. | |
| FConfigContext | ReadPluginIntoConfigSystem
(
FConfigCacheIni* ConfigSystem, |
Inserts plugin ini files into an existing Branch | |
| FConfigContext | ReadPluginToModifyConfigSystem
(
FConfigCacheIni* ConfigSystem, |
Inserts plugin ini files into an existing Branch | |
| FConfigContext | ReadSingleIntoConfigSystem
(
FConfigCacheIni* ConfigSystem, |
Create a context to read a non-hierarchical config into the given ConfigSystem structure - usually will be for other platforms | |
| FConfigContext | Create a context to read a non-hierarchical config into GConfig. Only for current platform. | ||
| FConfigContext | ReadSingleIntoLocalFile
(
FConfigFile& DestConfigFile, |
Create a context to read a non-hierarchical config into the given local FConfigFile, optionally for another platform | |
| FConfigContext | ReadUpToBeforeFile
(
FConfigFile& DestConfigFile, |
Create a context to read a hierarchy, but once it reaches the given filename (StartDeletingFilename), it will not read in anymore files at that point | |
| void | VisualizeHierarchy
(
FOutputDevice& Ar, |
Visualize an existing hierarchy | |
| void | VisualizeHierarchy
(
FOutputDevice& Ar, |
Log out the config full hierarchy of a file, with various overrides to see other projects/platforms/etc hierarchies |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPerPlatformDirs | Because the hierarchy can jump between platforms, we cache off some directories per chained-platform |