Class TestPrePatcher
- Namespace
- MonkeyLoader.Resonite
- Assembly
- MonkeyLoader.Resonite.Data.dll
public sealed class TestPrePatcher : EarlyMonkey<TestPrePatcher>, IEarlyMonkey, IMonkey, IRun, IShutdown, IComparable<IMonkey>, INestedIdentifiable<Mod>, INestedIdentifiable, IIdentifiable, IAuthorable, IDisplayable
- Inheritance
-
TestPrePatcher
- Implements
- Inherited Members
- Extension Methods
Properties
Name
Gets the human-readable name to display for this item.
public override string Name { get; }
Property Value
Remarks
By Default: This monkey's Id.
Methods
GetFeaturePatches()
Gets the impacts this (pre-)patcher has on certain features.
protected override IEnumerable<IFeaturePatch> GetFeaturePatches()
Returns
GetPrePatchTargets()
Gets the names of the assemblies and types therein which this pre-patcher targets.
protected override IEnumerable<PrePatchTarget> GetPrePatchTargets()
Returns
HelloMethod()
public static void HelloMethod()
Patch(PatchJob)
Receives the PatchJob for every PrePatchTarget to apply patches.
Set true
on Changes to indicate that any patching has happened.
Return true
to indicate that the patching was successful.
Exceptions that make patching fail should be left to bubble up.
protected override bool Patch(PatchJob patchJob)
Parameters
patchJob
PatchJobThe patch job to apply.
Returns
- bool
Whether the patching was successful.