Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_ServerSaveRequestCallback Interface Reference
Inheritance diagram for SCR_ServerSaveRequestCallback:
[legend]

Public Member Functions

override void OnSuccess (int code)
 
override void OnError (int code, int restCode, int apiCode)
 
override void OnTimeout ()
 
void SCR_ServerSaveRequestCallback (string fileName)
 
- Public Member Functions inherited from SCR_BackendCallback
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 ()
 

Static Public Attributes

static const string SESSION_SAVE_NAME = "SCR_SaveFileManager_SessionSave"
 

Protected Member Functions

void OnUploadResponse (SCR_BackendCallback callback)
 
- 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

string m_sFileName
 
ref SCR_UploadSaveCallback_PageParams m_PageParams
 
ref SCR_BackendCallback m_UploadCallback
 
bool m_bHasData = false
 
string m_sId
 
- 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
 

Constructor & Destructor Documentation

◆ SCR_ServerSaveRequestCallback()

void SCR_ServerSaveRequestCallback.SCR_ServerSaveRequestCallback ( string  fileName)

Member Function Documentation

◆ OnError()

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

Implements SCR_BackendCallback.

◆ OnSuccess()

override void SCR_ServerSaveRequestCallback.OnSuccess ( int  code)

Implements SCR_BackendCallback.

◆ OnTimeout()

override void SCR_ServerSaveRequestCallback.OnTimeout ( )

Implements SCR_BackendCallback.

◆ OnUploadResponse()

void SCR_ServerSaveRequestCallback.OnUploadResponse ( SCR_BackendCallback  callback)
protected

Member Data Documentation

◆ m_bHasData

bool SCR_ServerSaveRequestCallback.m_bHasData = false
protected

◆ m_PageParams

ref SCR_UploadSaveCallback_PageParams SCR_ServerSaveRequestCallback.m_PageParams
protected

◆ m_sFileName

string SCR_ServerSaveRequestCallback.m_sFileName
protected

◆ m_sId

string SCR_ServerSaveRequestCallback.m_sId
protected

◆ m_UploadCallback

ref SCR_BackendCallback SCR_ServerSaveRequestCallback.m_UploadCallback
protected

◆ SESSION_SAVE_NAME

const string SCR_ServerSaveRequestCallback.SESSION_SAVE_NAME = "SCR_SaveFileManager_SessionSave"
static

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