Search Results for

    Class MelonInfoAttribute

    Inheritance
    object
    Attribute
    MelonInfoAttribute
    Inherited Members
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.Equals(object)
    Attribute.GetHashCode()
    Attribute.Match(object)
    Attribute.IsDefaultAttribute()
    Attribute.TypeId
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: RedLoader
    Assembly: RedLoader.dll
    Syntax
    [Obsolete("Should only be used by plugins.")]
    [AttributeUsage(AttributeTargets.Assembly)]
    public class MelonInfoAttribute : Attribute

    Constructors

    MelonInfoAttribute(Type, string, int, int, int, string, string)

    MelonInfo constructor.

    Declaration
    public MelonInfoAttribute(Type type, string name, int versionMajor, int versionMinor, int versionRevision, string author, string downloadLink = null)
    Parameters
    Type Name Description
    Type type

    The main Melon type of the Melon (for example TestMod)

    string name

    Name of the Melon

    int versionMajor

    Version Major of the Melon (Using the Semantic Versioning format)

    int versionMinor

    Version Minor of the Melon (Using the Semantic Versioning format)

    int versionRevision

    Version Revision of the Melon (Using the Semantic Versioning format)

    string author

    Author of the Melon

    string downloadLink

    URL to the download link of the mod [optional]

    MelonInfoAttribute(Type, string, int, int, int, string, string, string)

    MelonInfo constructor.

    Declaration
    public MelonInfoAttribute(Type type, string name, int versionMajor, int versionMinor, int versionRevision, string versionIdentifier, string author, string downloadLink = null)
    Parameters
    Type Name Description
    Type type

    The main Melon type of the Melon (for example TestMod)

    string name

    Name of the Melon

    int versionMajor

    Version Major of the Melon (Using the Semantic Versioning format)

    int versionMinor

    Version Minor of the Melon (Using the Semantic Versioning format)

    int versionRevision

    Version Revision of the Melon (Using the Semantic Versioning format)

    string versionIdentifier

    Version Identifier of the Melon (Using the Semantic Versioning format)

    string author

    Author of the Melon

    string downloadLink

    URL to the download link of the mod [optional]

    Properties

    Author

    Author of the Melon.

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

    DownloadLink

    Download Link of the Melon.

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

    Name

    Name of the Melon.

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

    SemanticVersion

    Semantic Version of the Melon. Will be null if Version is not using the Semantic Versioning format.

    Declaration
    public SemVersion SemanticVersion { get; }
    Property Value
    Type Description
    SemVersion

    SystemType

    System.Type of the Melon.

    Declaration
    public Type SystemType { get; }
    Property Value
    Type Description
    Type

    Version

    Version of the Melon.

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