Class BaseSettingPropertyAttribute
- Namespace
- MCM.Abstractions.Attributes
- Assembly
- MCMv5.dll
public abstract class BaseSettingPropertyAttribute : Attribute, IPropertyDefinitionBase
- Inheritance
-
BaseSettingPropertyAttribute
- Implements
- Derived
- Inherited Members
Constructors
BaseSettingPropertyAttribute(string, int, bool, string)
protected BaseSettingPropertyAttribute(string displayName, int order = -1, bool requireRestart = true, string hintText = "")
Parameters
Properties
DisplayName
The display name of the setting in the settings menu.
public string DisplayName { get; }
Property Value
HintText
The hint text that is displayed at the bottom of the screen when the user hovers over the setting in the settings menu.
public string HintText { get; set; }
Property Value
Order
Require restart of the game if the value is changed.
public int Order { get; set; }
Property Value
RequireRestart
Require restart of the game if the value is changed.
public bool RequireRestart { get; set; }