Table of Contents

Class ExternalPerSaveSettings

Namespace
MCM.Abstractions.Base.PerSave
Assembly
MCMv5.dll

Per save settings declared in XML (SettingsXmlModel). The caller supplies the value references, the XML supplies the layout.

public sealed class ExternalPerSaveSettings : FluentPerSaveSettings, INotifyPropertyChanged, IFluentSettings
Inheritance
ExternalPerSaveSettings
Implements
Inherited Members
Extension Methods

Methods

Create(SettingsXmlModel, Func<IPropertyDefinitionBase, IRef>, PropertyChangedEventHandler?)

public static ExternalPerSaveSettings Create(SettingsXmlModel model, Func<IPropertyDefinitionBase, IRef> assignRefDelegate, PropertyChangedEventHandler? propertyChanged = null)

Parameters

model SettingsXmlModel
assignRefDelegate Func<IPropertyDefinitionBase, IRef>
propertyChanged PropertyChangedEventHandler

Returns

ExternalPerSaveSettings

CreateFromXmlStream(Stream, Func<IPropertyDefinitionBase, IRef>, PropertyChangedEventHandler?)

Reads the first <Settings> block of the stream, a standalone settings file or a SubModule.xml.

public static ExternalPerSaveSettings? CreateFromXmlStream(Stream xmlStream, Func<IPropertyDefinitionBase, IRef> assignRefDelegate, PropertyChangedEventHandler? propertyChanged = null)

Parameters

xmlStream Stream
assignRefDelegate Func<IPropertyDefinitionBase, IRef>

Creates the reference a property reads and writes. See CreateReference(PropertyBaseXmlModel) for one holding the declared default.

propertyChanged PropertyChangedEventHandler

Returns

ExternalPerSaveSettings

This page was last modified at 10/17/2026 18:11:59 +03:00 (UTC).

Commit Message
Author:    Vitalii Mikhailov
Commit:    4c11f9b0c8db5363fd147c4f156b8d8151ad53b0
* Mods can declare their settings in their SubModule.xml, which MCM will render if installed.

* A warning is logged when two mods declare settings with the same id
* Updated to UIExtenderEx v3
* Fixed controller tab switching in the options screen landing on the wrong page next to Mod Options
* Fixed Cancel in the options screen undoing MCM changes before the game ask...