Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FConfigCacheIni
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/ConfigCacheIni.h |
| Include | #include "Misc/ConfigCacheIni.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/ConfigCacheIni.cpp |
virtual void Parse1ToNSectionOfStrings
&40;
const TCHAR &42; Section,
const TCHAR &42; KeyOne,
const TCHAR &42; KeyN,
TMap< FString, TArray< FString > > & OutMap,
const FString & Filename
&41;
Remarks
Prases apart an ini section that contains a list of 1-to-N mappings of strings in the following format [PerMapPackages] MapName=Map1 Package=PackageA Package=PackageB MapName=Map2 Package=PackageC Package=PackageD
NOTE: The function naming is weird because you can't apparently have an overridden function differnt only by template type params
Parses apart an ini section that contains a list of 1-to-N mappings of strings in the following format [PerMapPackages] .MapName1=Map1 .Package1=PackageA .Package1=PackageB .MapName2=Map2 .Package2=PackageC .Package2=PackageD
NOTE: The function naming is weird because you can't apparently have an overridden function differnt only by template type params
Parameters
| Name | Description |
|---|---|
| Section | Name of section to look in |
| KeyOne | Key to use for the 1 in the 1-to-N (MapName in the above example) |
| KeyN | Key to use for the N in the 1-to-N (Package in the above example) |
| OutMap | Map containing parsed results |
| Filename | Filename to use to find the section |
| Section | Name of section to look in |
| KeyOne | Key to use for the 1 in the 1-to-N (MapName in the above example - the number suffix gets ignored but helps to keep ordering) |
| KeyN | Key to use for the N in the 1-to-N (Package in the above example - the number suffix gets ignored but helps to keep ordering) |
| OutMap | Map containing parsed results |
| Filename | Filename to use to find the section |