Search Results for

    Class ConfigEntry

    Inheritance
    object
    ConfigEntry
    ConfigEntry<T>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: RedLoader
    Assembly: RedLoader.dll
    Syntax
    public abstract class ConfigEntry

    Constructors

    ConfigEntry()

    Declaration
    protected ConfigEntry()

    Fields

    OnEntryValueChangedUntyped

    Declaration
    public readonly MelonEvent<object, object> OnEntryValueChangedUntyped
    Field Value
    Type Description
    MelonEvent<object, object>

    Properties

    BoxedEditedValue

    Declaration
    public abstract object BoxedEditedValue { get; set; }
    Property Value
    Type Description
    object

    BoxedValue

    Declaration
    public abstract object BoxedValue { get; set; }
    Property Value
    Type Description
    object

    Category

    Declaration
    public ConfigCategory Category { get; }
    Property Value
    Type Description
    ConfigCategory

    Comment

    Declaration
    public string Comment { get; set; }
    Property Value
    Type Description
    string

    Description

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    string

    DisplayName

    Declaration
    public string DisplayName { get; set; }
    Property Value
    Type Description
    string

    DontSaveDefault

    Declaration
    public bool DontSaveDefault { get; set; }
    Property Value
    Type Description
    bool

    Identifier

    Declaration
    public string Identifier { get; }
    Property Value
    Type Description
    string

    IsHidden

    Declaration
    public bool IsHidden { get; set; }
    Property Value
    Type Description
    bool

    Validator

    Declaration
    public ValueValidator Validator { get; }
    Property Value
    Type Description
    ValueValidator

    Methods

    FireUntypedValueChanged(object, object)

    Declaration
    protected void FireUntypedValueChanged(object old, object neew)
    Parameters
    Type Name Description
    object old
    object neew

    GetDefaultValueAsString()

    Declaration
    public abstract string GetDefaultValueAsString()
    Returns
    Type Description
    string

    GetEditedValueAsString()

    Declaration
    public abstract string GetEditedValueAsString()
    Returns
    Type Description
    string

    GetExceptionMessage(string)

    Declaration
    public string GetExceptionMessage(string submsg)
    Parameters
    Type Name Description
    string submsg
    Returns
    Type Description
    string

    GetReflectedType()

    Declaration
    public abstract Type GetReflectedType()
    Returns
    Type Description
    Type

    GetValueAsString()

    Declaration
    public abstract string GetValueAsString()
    Returns
    Type Description
    string

    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
    Type Description
    Action