Arma Reforger Script API
|
Scripted backend callback class unifying backend response. More...
Public Member Functions | |
ScriptInvoker | GetEventOnSuccess () |
ScriptInvoker | GetEventOnFail () |
ScriptInvoker | GetEventOnTimeOut () |
ScriptInvoker | GetEventOnResponse () |
override void | OnSuccess (int code) |
override void | OnError (int code, int restCode, int apiCode) |
override void | OnTimeout () |
int | GetCode () |
int | GetRestCode () |
int | GetApiCode () |
EBackendCallbackResponse | GetResponseType () |
Protected Member Functions | |
void | InvokeEventOnSuccess () |
void | InvokeEventOnFail (SCR_BackendCallback callback, int code, int restCode, int apiCode) |
void | InvokeEventOnTimeOut () |
void | InvokeEventOnResponse () |
void | CacheLastResponse (EBackendCallbackResponse result, int code=-1, int restCode=-1, int apiCode=-1) |
Save information from last response. | |
Protected Attributes | |
int | m_iCode = -1 |
int | m_iRestCode = -1 |
int | m_iApiCode = -1 |
EBackendCallbackResponse | m_Result = EBackendCallbackResponse.NONE |
ref ScriptInvoker< SCR_BackendCallback > | Event_OnSuccess |
ref ScriptInvoker< SCR_BackendCallback, int, int, int > | Event_OnFail |
ref ScriptInvoker< SCR_BackendCallback > | Event_OnTimeOut |
ref ScriptInvoker< SCR_BackendCallback > | Event_OnResponse |
Scripted backend callback class unifying backend response.
|
protected |
Save information from last response.
int SCR_BackendCallback.GetApiCode | ( | ) |
int SCR_BackendCallback.GetCode | ( | ) |
ScriptInvoker SCR_BackendCallback.GetEventOnFail | ( | ) |
ScriptInvoker SCR_BackendCallback.GetEventOnResponse | ( | ) |
ScriptInvoker SCR_BackendCallback.GetEventOnSuccess | ( | ) |
ScriptInvoker SCR_BackendCallback.GetEventOnTimeOut | ( | ) |
EBackendCallbackResponse SCR_BackendCallback.GetResponseType | ( | ) |
int SCR_BackendCallback.GetRestCode | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
override void SCR_BackendCallback.OnError | ( | int | code, |
int | restCode, | ||
int | apiCode | ||
) |
Implemented in SCR_ServerSaveRequestCallback.
override void SCR_BackendCallback.OnSuccess | ( | int | code | ) |
Implemented in SCR_ServerSaveRequestCallback.
override void SCR_BackendCallback.OnTimeout | ( | ) |
Implemented in SCR_ServerSaveRequestCallback.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |