Class BasePatcher

A patcher that can contain multiple methods for patching assemblies.

Inheritance
System.Object BasePatcher
Inherited Members
System.Object.ToString() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone()
Namespace: BepInEx.Preloader.Core.Patching
Assembly: BepInEx.Preloader.Core.dll
Syntax
public abstract class BasePatcher

Constructors

BasePatcher()

Declaration
protected BasePatcher()

Properties

Config

A configuration file binding created with the GUID of this plugin as the filename.

Declaration
public ConfigFile Config { get; }
Property Value
Type Description
ConfigFile

Context

The context of the AssemblyPatcher this BasePatcher is associated with.

Declaration
public PatcherContext Context { get; set; }
Property Value
Type Description
PatcherContext

Info

Metadata associated with this patcher plugin.

Declaration
public PatcherPluginInfoAttribute Info { get; }
Property Value
Type Description
PatcherPluginInfoAttribute

Log

A ILogSource instance created for use by this patcher plugin.

Declaration
public ManualLogSource Log { get; }
Property Value
Type Description
ManualLogSource

Methods

Finalizer()

Executed after all patches from all plugins have been applied.

Declaration
public virtual void Finalizer()

Initialize()

Executed before any patches from any plugin are applied.

Declaration
public virtual void Initialize()