Nuke.Unreal
Build Unreal apps in Style.
Loading...
Searching...
No Matches
Nuke.Unreal.Ini.ConfigIni Class Reference

The root class representing Unreal INI configuration. More...

Public Member Functions

ConfigSection FindOrAdd (string key)
 Get an existing section or add it if it doesn't exist yet.
 
void Merge (ConfigIni from)
 Compose another ConfigIni instance into this one, overriding existing values and adding new ones.
 
string Serialize ()
 Convert this ConfigIni back to something Unreal can read.
 

Static Public Member Functions

static ? ConfigIni Parse (string? input)
 Parse an Unreal configuration text into a ConfigIni.
 

Public Attributes

readonly Dictionary< string, ConfigSectionSections = new()
 Sections separated by [SectionName] syntax.
 

Properties

ConfigSectionthis[string key] [get]
 Get a section via its name.
 

Detailed Description

The root class representing Unreal INI configuration.

Definition at line 49 of file ConfigIni.cs.

Member Function Documentation

◆ FindOrAdd()

ConfigSection Nuke.Unreal.Ini.ConfigIni.FindOrAdd ( string key)

Get an existing section or add it if it doesn't exist yet.

Parameters
key
Returns

Definition at line 66 of file ConfigIni.cs.

◆ Merge()

void Nuke.Unreal.Ini.ConfigIni.Merge ( ConfigIni from)

Compose another ConfigIni instance into this one, overriding existing values and adding new ones.

Definition at line 120 of file ConfigIni.cs.

◆ Parse()

static ? ConfigIni Nuke.Unreal.Ini.ConfigIni.Parse ( string? input)
static

Parse an Unreal configuration text into a ConfigIni.

Returns
Resulting ConfigIni or null if parsing was not possible.

Definition at line 82 of file ConfigIni.cs.

◆ Serialize()

string Nuke.Unreal.Ini.ConfigIni.Serialize ( )

Convert this ConfigIni back to something Unreal can read.

Member Data Documentation

◆ Sections

readonly Dictionary<string, ConfigSection> Nuke.Unreal.Ini.ConfigIni.Sections = new()

Sections separated by [SectionName] syntax.

Definition at line 54 of file ConfigIni.cs.

Property Documentation

◆ this[string key]

ConfigSection? Nuke.Unreal.Ini.ConfigIni.this[string key]
get

Get a section via its name.

Definition at line 59 of file ConfigIni.cs.


The documentation for this class was generated from the following file: