Class BasePatcher
A patcher that can contain multiple methods for patching assemblies.
Namespace: BepInEx.Preloader.Core.Patching
Assembly: BepInEx.Preloader.Core.dll
Syntax
public abstract class BasePatcher
Constructors
Declaration
protected BasePatcher()
Properties
A configuration file binding created with the GUID of this plugin as the filename.
Declaration
public ConfigFile Config { get; }
Property Value
Type | Description |
---|---|
ConfigFile |
The context of the AssemblyPatcher this BasePatcher is associated with.
Declaration
public PatcherContext Context { get; set; }
Property Value
Type | Description |
---|---|
PatcherContext |
Metadata associated with this patcher plugin.
Declaration
public PatcherPluginInfoAttribute Info { get; }
Property Value
Type | Description |
---|---|
PatcherPluginInfoAttribute |
A ILogSource instance created for use by this patcher plugin.
Declaration
public ManualLogSource Log { get; }
Property Value
Type | Description |
---|---|
ManualLogSource |
Methods
Executed after all patches from all plugins have been applied.
Declaration
public virtual void Finalizer()
Executed before any patches from any plugin are applied.
Declaration
public virtual void Initialize()