Arma Reforger Script API
Loading...
Searching...
No Matches
StateBackendCallback Interface Reference
Inheritance diagram for StateBackendCallback:
SCR_BackendCallback

Public Member Functions

override void OnError (int code, int restCode, int apiCode)
 
override void OnSuccess (int code)
 
override void OnTimeout ()
 
- Public Member Functions inherited from SCR_BackendCallback
ScriptInvoker GetEventOnSuccess ()
 
ScriptInvoker GetEventOnFail ()
 
ScriptInvoker GetEventOnTimeOut ()
 
ScriptInvoker GetEventOnResponse ()
 
int GetCode ()
 
int GetRestCode ()
 
int GetApiCode ()
 
EBackendCallbackResponse GetResponseType ()
 

Public Attributes

EBackendCallbackState m_eState = EBackendCallbackState.EBCS_PENDING
 
EApiCode m_eLastError = EApiCode.EACODE_ERROR_OK
 
EStringMatchType m_eLastMatchType = EStringMatchType.ESMT_EQUALS
 

Additional Inherited Members

- Protected Member Functions inherited from SCR_BackendCallback
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 inherited from SCR_BackendCallback
int m_iCode = -1
 
int m_iRestCode = -1
 
int m_iApiCode = -1
 
EBackendCallbackResponse m_Result = EBackendCallbackResponse.NONE
 
ref ScriptInvoker< SCR_BackendCallbackEvent_OnSuccess
 
ref ScriptInvoker< SCR_BackendCallback, int, int, int > Event_OnFail
 
ref ScriptInvoker< SCR_BackendCallbackEvent_OnTimeOut
 
ref ScriptInvoker< SCR_BackendCallbackEvent_OnResponse
 

Member Function Documentation

◆ OnError()

override void StateBackendCallback.OnError ( int code,
int restCode,
int apiCode )

Implements SCR_BackendCallback.

◆ OnSuccess()

override void StateBackendCallback.OnSuccess ( int code)

Implements SCR_BackendCallback.

◆ OnTimeout()

override void StateBackendCallback.OnTimeout ( )

Implements SCR_BackendCallback.

Member Data Documentation

◆ m_eLastError

EApiCode StateBackendCallback.m_eLastError = EApiCode.EACODE_ERROR_OK

◆ m_eLastMatchType

EStringMatchType StateBackendCallback.m_eLastMatchType = EStringMatchType.ESMT_EQUALS

◆ m_eState

EBackendCallbackState StateBackendCallback.m_eState = EBackendCallbackState.EBCS_PENDING

The documentation for this interface was generated from the following file: