Class ConfigEntry<T>
Inheritance
ConfigEntry<T>
Assembly: RedLoader.dll
Syntax
public class ConfigEntry<T> : ConfigEntry
Type Parameters
Constructors
ConfigEntry()
Declaration
Fields
OnEntryValueChanged
Declaration
public readonly MelonEvent<T, T> OnEntryValueChanged
Field Value
Properties
BoxedEditedValue
Declaration
public override object BoxedEditedValue { get; set; }
Property Value
Overrides
BoxedValue
Declaration
public override object BoxedValue { get; set; }
Property Value
Overrides
DefaultValue
Declaration
public T DefaultValue { get; set; }
Property Value
EditedValue
Declaration
public T EditedValue { get; set; }
Property Value
Value
Declaration
public T Value { get; set; }
Property Value
Methods
GetDefaultValueAsString()
Declaration
public override string GetDefaultValueAsString()
Returns
Overrides
GetEditedValueAsString()
Declaration
public override string GetEditedValueAsString()
Returns
Overrides
GetReflectedType()
Declaration
public override Type GetReflectedType()
Returns
Overrides
GetValueAsString()
Declaration
public override string GetValueAsString()
Returns
Overrides
Load(TomlValue)
Declaration
public override void Load(TomlValue obj)
Parameters
Type |
Name |
Description |
TomlValue |
obj |
|
Overrides
ResetToDefault()
Declaration
public override void ResetToDefault()
Overrides
Save()
Declaration
public override TomlValue Save()
Returns
Type |
Description |
TomlValue |
|
Overrides
Events
OnValueChanged
Declaration
[Obsolete("Please use the OnEntryValueChanged MelonEvent instead.")]
public event Action<T, T> OnValueChanged
Event Type