Table of Contents

Class RuntimeSettings

Namespace
Bannerlord.UIExtenderEx.Runtimes
Assembly
Bannerlord.UIExtenderEx.dll

Provides access to prefab runtime settings persisted in the module's <Settings> declaration block within SubModule.xml.

public static class RuntimeSettings
Inheritance
RuntimeSettings
Inherited Members

Methods

Get(string, bool)

Retrieves the current boolean value for the specified setting key, returning defaultValue if SubModule.xml does not define the key or cannot be parsed. File changes are detected and reloaded dynamically during runtime.

public static bool Get(string key, bool defaultValue)

Parameters

key string
defaultValue bool

Returns

bool

Set(string, bool)

Updates the specified setting key, persisting the change to SubModule.xml if declared, or maintaining it in-memory for the current session if the file cannot be updated.

public static void Set(string key, bool value)

Parameters

key string
value bool

This page was last modified at 10/05/2026 13:34:58 +03:00 (UTC).

Commit Message
Author:    Vitalii Mikhailov
Commit:    f3b725a97c3f299c20e56b5f206e27142ec15edd
* Added C# Auto-Generated XML prefab compilation for patched and dynamic movies, matching vanilla UI performance

* Added name-based property binding fallback for ViewModel subtypes not declared on the parent
* Improved unparseable prefab error logging with name and file details
* Fixed game crash with 3-segment attribute paths
* Added Bannerlord.UIExtenderE...