Class MonkeyBase<TMonkey>
- Namespace
- MonkeyLoader.Patching
- Assembly
- MonkeyLoader.dll
Abstract base for regular Monkey<TMonkey>s and EarlyMonkey<TMonkey>s.
public abstract class MonkeyBase<TMonkey> : MonkeyBase, IMonkey, IRun, IShutdown, IComparable<IMonkey>, INestedIdentifiable<Mod>, INestedIdentifiable, IIdentifiable, IAuthorable where TMonkey : MonkeyBase<TMonkey>, new()
Type Parameters
TMonkey
The type of the actual patcher.
- Inheritance
-
MonkeyBase<TMonkey>
- Implements
- Derived
-
EarlyMonkey<TMonkey>Monkey<TMonkey>
- Inherited Members
- Extension Methods
Properties
Config
Gets the Config that this patcher can use to load ConfigSections.
public static Config Config { get; }
Property Value
Enabled
Gets or sets whether this monkey should currently be active.
public static bool Enabled { get; set; }
Property Value
Remarks
Can only be set to false
if the monkey
supports being disabled.
Harmony
Gets the Harmony instance to be used by this patcher.
public static Harmony Harmony { get; }
Property Value
- Harmony
Instance
Gets the instance of this patcher.
public static TMonkey Instance { get; }
Property Value
- TMonkey
Logger
Gets the Logger that this patcher can use to log messages to game-specific channels.
public static Logger Logger { get; }
Property Value
Mod
Gets the mod that this patcher is a part of.
public static Mod Mod { get; }