Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ServerBrowserCallback Interface Reference

Base server browser callback. More...

Inheritance diagram for ServerBrowserCallback:
[legend]

Public Member Functions

override void OnSuccess (int code)
 
override void OnError (int code, int restCode, int apiCode)
 
override void OnTimeout ()
 
int GetCode ()
 
int GetRestCode ()
 
int GetApiCode ()
 
EServerBrowserRequestResult GetResultType ()
 

Public Attributes

ref ScriptInvoker m_OnSuccess = new ScriptInvoker
 
ref ScriptInvoker m_OnFail = new ScriptInvoker
 
ref ScriptInvoker m_OnTimeOut = new ScriptInvoker
 
ref ScriptInvoker< ServerBrowserCallbackevent_OnResponse = new ScriptInvoker
 

Protected Member Functions

void CacheLastResponse (EServerBrowserRequestResult 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
 
EServerBrowserRequestResult m_Result = -1
 

Detailed Description

Base server browser callback.

Member Function Documentation

◆ CacheLastResponse()

void ServerBrowserCallback.CacheLastResponse ( EServerBrowserRequestResult  result,
int  code = -1,
int  restCode = -1,
int  apiCode = -1 
)
protected

Save information from last response.

◆ GetApiCode()

int ServerBrowserCallback.GetApiCode ( )

◆ GetCode()

int ServerBrowserCallback.GetCode ( )

◆ GetRestCode()

int ServerBrowserCallback.GetRestCode ( )

◆ GetResultType()

EServerBrowserRequestResult ServerBrowserCallback.GetResultType ( )

◆ OnError()

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

Implemented in OnJoinRoomSB.

◆ OnSuccess()

override void ServerBrowserCallback.OnSuccess ( int  code)

Implemented in OnDirectJoinCallback, and OnJoinRoomSB.

◆ OnTimeout()

override void ServerBrowserCallback.OnTimeout ( )

Implemented in OnJoinRoomSB.

Member Data Documentation

◆ event_OnResponse

ref ScriptInvoker<ServerBrowserCallback> ServerBrowserCallback.event_OnResponse = new ScriptInvoker

◆ m_iApiCode

int ServerBrowserCallback.m_iApiCode = -1
protected

◆ m_iCode

int ServerBrowserCallback.m_iCode = -1
protected

◆ m_iRestCode

int ServerBrowserCallback.m_iRestCode = -1
protected

◆ m_OnFail

ref ScriptInvoker ServerBrowserCallback.m_OnFail = new ScriptInvoker

◆ m_OnSuccess

ref ScriptInvoker ServerBrowserCallback.m_OnSuccess = new ScriptInvoker

◆ m_OnTimeOut

ref ScriptInvoker ServerBrowserCallback.m_OnTimeOut = new ScriptInvoker

◆ m_Result

EServerBrowserRequestResult ServerBrowserCallback.m_Result = -1
protected

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