Class ConfigEntry
Assembly: RedLoader.dll
Syntax
public abstract class ConfigEntry
Constructors
ConfigEntry()
Declaration
Fields
OnEntryValueChangedUntyped
Declaration
public readonly MelonEvent<object, object> OnEntryValueChangedUntyped
Field Value
Properties
BoxedEditedValue
Declaration
public abstract object BoxedEditedValue { get; set; }
Property Value
BoxedValue
Declaration
public abstract object BoxedValue { get; set; }
Property Value
Category
Declaration
public ConfigCategory Category { get; }
Property Value
Declaration
public string Comment { get; set; }
Property Value
Description
Declaration
public string Description { get; set; }
Property Value
DisplayName
Declaration
public string DisplayName { get; set; }
Property Value
DontSaveDefault
Declaration
public bool DontSaveDefault { get; set; }
Property Value
Identifier
Declaration
public string Identifier { get; }
Property Value
IsHidden
Declaration
public bool IsHidden { get; set; }
Property Value
Validator
Declaration
public ValueValidator Validator { get; }
Property Value
Methods
FireUntypedValueChanged(object, object)
Declaration
protected void FireUntypedValueChanged(object old, object neew)
Parameters
GetDefaultValueAsString()
Declaration
public abstract string GetDefaultValueAsString()
Returns
GetEditedValueAsString()
Declaration
public abstract string GetEditedValueAsString()
Returns
GetExceptionMessage(string)
Declaration
public string GetExceptionMessage(string submsg)
Parameters
Type |
Name |
Description |
string |
submsg |
|
Returns
GetReflectedType()
Declaration
public abstract Type GetReflectedType()
Returns
GetValueAsString()
Declaration
public abstract string GetValueAsString()
Returns
Load(TomlValue)
Declaration
public abstract void Load(TomlValue obj)
Parameters
Type |
Name |
Description |
TomlValue |
obj |
|
ResetToDefault()
Declaration
public abstract void ResetToDefault()
Save()
Declaration
public abstract TomlValue Save()
Returns
Type |
Description |
TomlValue |
|
Events
OnValueChangedUntyped
Declaration
[Obsolete("Please use the OnEntryValueChangedUntyped MelonEvent instead.")]
public event Action OnValueChangedUntyped
Event Type