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; }
Property Value
This page was last modified at 12/23/2022 11:49:56 +02:00 (UTC).
Commit Message
Author: Aragas
Commit: aa889a1db7974dc13c9ff22e5740d958a2228b18
* Added MCM Source Package NuGet for easier integration