docs/api/HarmonyLib.RefResult-1.html
Delegate type for "ref return" injections
public delegate T RefResult<T>();
| Type | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| T |
Return type of the original method, without ref modifier
|
public RefResult(object object, IntPtr method)
| Type | Name | Description |
|---|---|---|
| System.Object | object | |
| System.IntPtr | method |
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object object)
| Type | Name | Description |
|---|---|---|
| System.AsyncCallback | callback | |
| System.Object | object |
| Type | Description |
|---|---|
| System.IAsyncResult |
public virtual T EndInvoke(IAsyncResult result)
| Type | Name | Description |
|---|---|---|
| System.IAsyncResult | result |
| Type | Description |
|---|---|
| T |
public virtual T Invoke()
| Type | Description |
|---|---|
| T |