API ReferenceAttributes
SettingOnAppliedAttribute
Binds a static method to OnSettingApplied. Global settings only.
public sealed class SettingOnAppliedAttribute : SettingListenerAttributeBinds a static method to the named setting's OnSettingApplied event (IGlobalModSetting), which fires when the setting is applied. Global settings only, including Color and Binding. Required method signature: static void M(IGlobalModSetting setting).
Inheritance: Object → Attribute → SettingPathAttribute → SettingListenerAttribute → SettingOnAppliedAttribute
Constructors
SettingOnAppliedAttribute(String)
public SettingOnAppliedAttribute(string settingPath)Initializes the attribute with the setting path.