Struct ModSettingsChange
Results of a mod settings change event.
Namespace: DaggerfallWorkshop.Game.Utility.ModSupport.ModSettings
Assembly: Assembly-CSharp.dll
Syntax
public struct ModSettingsChange
Methods
| Improve this Doc View SourceHasChanged(String)
Checks if any mod setting value in a section has changed during current change event.
Declaration
public bool HasChanged(string section)
Parameters
| Type | Name | Description |
|---|---|---|
| String | section | The name of the section. |
Returns
| Type | Description |
|---|---|
| Boolean | True if section has changed. |
HasChanged(String, String)
Checks if a mod setting value has changed during current change event.
Declaration
public bool HasChanged(string section, string key)
Parameters
| Type | Name | Description |
|---|---|---|
| String | section | The name of the section. |
| String | key | The name of the key. |
Returns
| Type | Description |
|---|---|
| Boolean | True if value has changed. |