Search Results for

    Class ModTypeBase<T>

    Inheritance
    object
    ModBase
    ModTypeBase<T>
    MelonMod
    MelonPlugin
    SonsMod
    Inherited Members
    ModBase.OnMelonRegistered
    ModBase.OnMelonUnregistered
    ModBase.OnMelonInitializing
    ModBase.OnRegister
    ModBase.OnUnregister
    ModBase.CreateWrapper<T>(string, string, string, MelonGameAttribute[], MelonProcessAttribute[], int, Color?, Color?, string)
    ModBase.RegisterSorted<T>(IEnumerable<T>)
    ModBase.OnPreSupportModule()
    ModBase.OnUpdate()
    ModBase.OnFixedUpdate()
    ModBase.OnLateUpdate()
    ModBase.OnGUI()
    ModBase.OnApplicationQuit()
    ModBase.OnPreferencesSaved()
    ModBase.OnPreferencesSaved(string)
    ModBase.OnPreferencesLoaded()
    ModBase.OnPreferencesLoaded(string)
    ModBase.OnEarlyInitializeMelon()
    ModBase.OnInitializeMod()
    ModBase.OnLateInitializeMod()
    ModBase.OnDeinitializeMod()
    ModBase.FindIncompatiblities(MelonGameAttribute, string, string, string, string, MelonPlatformAttribute.CompatiblePlatforms, MelonPlatformDomainAttribute.CompatibleDomains)
    ModBase.FindIncompatiblitiesFromContext()
    ModBase.PrintIncompatibilities(ModBase.Incompatibility[], ModBase)
    ModBase.Register()
    ModBase.FindMelon(string, string)
    ModBase.Unregister(string, bool)
    ModBase.ExecuteAll(LemonAction<ModBase>, bool, string)
    ModBase.ExecuteList<T>(LemonAction<T>, List<T>, bool, string)
    ModBase.SendMessageAll(string, params object[])
    ModBase.SendMessage(string, params object[])
    ModBase.RegisteredMelons
    ModBase.MelonAssembly
    ModBase.Priority
    ModBase.ConsoleColor
    ModBase.AuthorConsoleColor
    ModBase.AdditionalCredits
    ModBase.SupportedGameVersion
    ModBase.OptionalDependencies
    ModBase.HarmonyInstance
    ModBase.LoggerInstance
    ModBase.ID
    ModBase.Description
    ModBase.Registered
    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 ModTypeBase<T> : ModBase where T : ModTypeBase<T>
    Type Parameters
    Name Description
    T

    Constructors

    ModTypeBase()

    Declaration
    protected ModTypeBase()

    Properties

    MelonTypeName

    Name of the current Melon Type.

    Declaration
    public override sealed string MelonTypeName { get; }
    Property Value
    Type Description
    string
    Overrides
    ModBase.MelonTypeName

    RegisteredMods

    List of registered Ts.

    Declaration
    public static ReadOnlyCollection<T> RegisteredMods { get; }
    Property Value
    Type Description
    ReadOnlyCollection<T>

    TypeName

    A Human-Readable Name for T.

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

    Methods

    ExecuteAll(LemonAction<T>, bool, string)

    Declaration
    public static void ExecuteAll(LemonAction<T> func, bool unregisterOnFail = false, string unregistrationReason = null)
    Parameters
    Type Name Description
    LemonAction<T> func
    bool unregisterOnFail
    string unregistrationReason