docs/api/HarmonyLib.InnerMethod.html
Occcurances of a method that is called inside some outer method
System.Object
InnerMethod
public class InnerMethod
Creates an InnerMethod
public InnerMethod(MethodInfo method, params int[] positions)
| Type | Name | Description |
|---|---|---|
| System.Reflection.MethodInfo | method |
The inner method
| | System.Int32[] | positions |
Which occcurances (1-based) of the method, negative numbers are counting from the end, empty array means all occurances
|
Which occcurances (1-based) of the method, negative numbers are counting from the end, empty array means all occurances
public int[] positions
| Type | Description |
|---|---|
| System.Int32[] |
The inner method
public MethodInfo Method { get; set; }
| Type | Description |
|---|---|
| System.Reflection.MethodInfo |