Gears
API ReferenceAttributes

SettingListenerAttribute

Base for attributes that bind a static method to a setting's event. The setting path must be in the form "tabName.CategoryName.SettingName" for global settings and "CategoryName.SettingName" for world settings.

Abstract classNamespace GearsAPI.AttributesAssembly GearsAPI.dllSource
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public abstract class SettingListenerAttribute : SettingPathAttribute

Base for attributes that bind a static method to a setting's event. The setting path must be in the form "tabName.CategoryName.SettingName" for global settings and "CategoryName.SettingName" for world settings.

Inheritance: Object → Attribute → SettingPathAttribute → SettingListenerAttribute
Derived: SettingOnValueChangedAttribute · SettingOnAppliedAttribute · SettingOnSelectedChangedAttribute · SettingOnEnabledAttribute
Attributes: AttributeUsageAttribute

Constructors

SettingListenerAttribute(String)

protected SettingListenerAttribute(string settingPath)

Protected. Passes settingPath to the base constructor.

On this page