![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | OnResult (EPersistenceStatusCode statusCode, Managed result, bool isLast, Managed context=null) |
| proto external bool | InvokeDelegate (EPersistenceStatusCode statusCode, Managed result, bool isLast) |
| Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult. | |
| void | OnResult (EPersistenceStatusCode statusCode, Managed result, bool isLast, Managed context=null) |
| proto external bool | InvokeDelegate (EPersistenceStatusCode statusCode, Managed result, bool isLast) |
| Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult. | |
Definition at line 13 of file PersistenceResultCallback.c.
|
protected |
Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.
|
protected |
Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.
|
protected |
Will use the delegate passed to constructor if not implemented
| statusCode | The result status. OK as expected result, anything else needs handling / logging / throwing errors. |
| result | The result instance which must be casted into your expected type. Usually IEntity or custom script class. Special case: If a specific id should have been fetched, but the status code is not OK, the result is the internal id it failed to fetch. |
| isLast | If the load request resulted in multiple instance the callback wil be invoked as many times with the last invoke being isLast=true. You can store all results in a member array and pass them somewhere else after recieving the last one. |
| context | The optional context instance passed to constructor. |
|
protected |
Will use the delegate passed to constructor if not implemented
| statusCode | The result status. OK as expected result, anything else needs handling / logging / throwing errors. |
| result | The result instance which must be casted into your expected type. Usually IEntity or custom script class. Special case: If a specific id should have been fetched, but the status code is not OK, the result is the internal id it failed to fetch. |
| isLast | If the load request resulted in multiple instance the callback wil be invoked as many times with the last invoke being isLast=true. You can store all results in a member array and pass them somewhere else after recieving the last one. |
| context | The optional context instance passed to constructor. |