docs/api/HarmonyLib.PatchInfo.html
Serializable patch information
System.Object
PatchInfo
public class PatchInfo
public PatchInfo()
Finalizers as an array of Patch
public Patch[] finalizers
| Type | Description |
|---|---|
| Patch[] |
InnerPostfixes as an array of Patch
public Patch[] innerpostfixes
| Type | Description |
|---|---|
| Patch[] |
InnerPrefixes as an array of Patch
public Patch[] innerprefixes
| Type | Description |
|---|---|
| Patch[] |
Postfixes as an array of Patch
public Patch[] postfixes
| Type | Description |
|---|---|
| Patch[] |
Prefixes as an array of Patch
public Patch[] prefixes
| Type | Description |
|---|---|
| Patch[] |
Transpilers as an array of Patch
public Patch[] transpilers
| Type | Description |
|---|---|
| Patch[] |
Number of replacements created
public int VersionCount
| Type | Description |
|---|---|
| System.Int32 |
Returns if any of the patches wants debugging turned on
public bool Debugging { get; }
| Type | Description |
|---|---|
| System.Boolean |
Removes finalizers
public void RemoveFinalizer(string owner)
| Type | Name | Description |
|---|---|---|
| System.String | owner |
The owner of the finalizers, or * for all
|
Removes inner postfixes
public void RemoveInnerPostfix(string owner)
| Type | Name | Description |
|---|---|---|
| System.String | owner |
The owner of the inner postfixes, or * for all
|
Removes inner prefixes
public void RemoveInnerPrefix(string owner)
| Type | Name | Description |
|---|---|---|
| System.String | owner |
The owner of the inner prefixes, or * for all
|
Removes a patch using its method
public void RemovePatch(MethodInfo patch)
| Type | Name | Description |
|---|---|---|
| System.Reflection.MethodInfo | patch |
The method of the patch to remove
|
Removes postfixes
public void RemovePostfix(string owner)
| Type | Name | Description |
|---|---|---|
| System.String | owner |
The owner of the postfixes, or * for all
|
Removes prefixes
public void RemovePrefix(string owner)
| Type | Name | Description |
|---|---|---|
| System.String | owner |
The owner of the prefixes, or * for all
|
Removes transpilers
public void RemoveTranspiler(string owner)
| Type | Name | Description |
|---|---|---|
| System.String | owner |
The owner of the transpilers, or * for all
|