Search Results for

    Class ConfigCategory

    Inheritance
    object
    ConfigCategory
    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 class ConfigCategory

    Fields

    Entries

    Declaration
    public readonly List<ConfigEntry> Entries
    Field Value
    Type Description
    List<ConfigEntry>

    Properties

    DisplayName

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

    Identifier

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

    IsHidden

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

    IsInlined

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

    Methods

    CreateEntry<T>(string, T, string, bool)

    Declaration
    public ConfigEntry CreateEntry<T>(string identifier, T default_value, string display_name, bool is_hidden)
    Parameters
    Type Name Description
    string identifier
    T default_value
    string display_name
    bool is_hidden
    Returns
    Type Description
    ConfigEntry
    Type Parameters
    Name Description
    T

    CreateEntry<T>(string, T, string, string, bool, bool, ValueValidator)

    Declaration
    public ConfigEntry<T> CreateEntry<T>(string identifier, T default_value, string display_name, string description, bool is_hidden, bool dont_save_default, ValueValidator validator)
    Parameters
    Type Name Description
    string identifier
    T default_value
    string display_name
    string description
    bool is_hidden
    bool dont_save_default
    ValueValidator validator
    Returns
    Type Description
    ConfigEntry<T>
    Type Parameters
    Name Description
    T

    CreateEntry<T>(string, T, string, string, bool, bool, ValueValidator, string)

    Declaration
    public ConfigEntry<T> CreateEntry<T>(string identifier, T default_value, string display_name = null, string description = null, bool is_hidden = false, bool dont_save_default = false, ValueValidator validator = null, string oldIdentifier = null)
    Parameters
    Type Name Description
    string identifier
    T default_value
    string display_name
    string description
    bool is_hidden
    bool dont_save_default
    ValueValidator validator
    string oldIdentifier
    Returns
    Type Description
    ConfigEntry<T>
    Type Parameters
    Name Description
    T

    DeleteEntry(string)

    Declaration
    public bool DeleteEntry(string identifier)
    Parameters
    Type Name Description
    string identifier
    Returns
    Type Description
    bool

    DestroyFileWatcher()

    Declaration
    public void DestroyFileWatcher()

    GetEntry(string)

    Declaration
    public ConfigEntry GetEntry(string identifier)
    Parameters
    Type Name Description
    string identifier
    Returns
    Type Description
    ConfigEntry

    GetEntry<T>(string)

    Declaration
    public ConfigEntry<T> GetEntry<T>(string identifier)
    Parameters
    Type Name Description
    string identifier
    Returns
    Type Description
    ConfigEntry<T>
    Type Parameters
    Name Description
    T

    HasEntry(string)

    Declaration
    public bool HasEntry(string identifier)
    Parameters
    Type Name Description
    string identifier
    Returns
    Type Description
    bool

    LoadFromFile(bool)

    Declaration
    public void LoadFromFile(bool printmsg = true)
    Parameters
    Type Name Description
    bool printmsg

    RenameEntry(string, string)

    Declaration
    public bool RenameEntry(string identifier, string newIdentifier)
    Parameters
    Type Name Description
    string identifier
    string newIdentifier
    Returns
    Type Description
    bool

    ResetFilePath()

    Declaration
    public void ResetFilePath()

    SaveToFile(bool)

    Declaration
    public void SaveToFile(bool printmsg = true)
    Parameters
    Type Name Description
    bool printmsg

    SetFilePath(string)

    Declaration
    public void SetFilePath(string filepath)
    Parameters
    Type Name Description
    string filepath

    SetFilePath(string, bool)

    Declaration
    public void SetFilePath(string filepath, bool autoload)
    Parameters
    Type Name Description
    string filepath
    bool autoload

    SetFilePath(string, bool, bool)

    Declaration
    public void SetFilePath(string filepath, bool autoload, bool printmsg)
    Parameters
    Type Name Description
    string filepath
    bool autoload
    bool printmsg