Skip to content

BasePatcher Class

A patcher that can contain multiple methods for patching assemblies.

C#
public abstract class BasePatcher

Inheritance object

C#
protected BasePatcher()

A ILogSource instance created for use by this patcher plugin.

C#
public ManualLogSource Log { get; }

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

C#
public ConfigFile Config { get; }

Metadata associated with this patcher plugin.

C#
public PatcherPluginInfoAttribute Info { get; }

The context of the AssemblyPatcher this BasePatcher is associated with.

C#
public PatcherContext Context { get; set; }

Executed before any patches from any plugin are applied.

C#
public virtual void Initialize()

Executed after all patches from all plugins have been applied.

C#
public virtual void Finalizer()