Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ConnectionUICommon Interface Reference

Static Public Member Functions

static bool SetConnectionButtonEnabled (SCR_InputButtonComponent button, string serviceName, bool forceDisabled=false, bool animate=true)
 Updates the button based on the state of services.
 
static bool ForceConnectionButtonEnabled (SCR_InputButtonComponent button, bool enabled, bool animate=true)
 Forces the button into the desired state irrelevant of services.
 
static string GetConnectionIssuesIcon ()
 
static string GetConnectionIssuesMessage ()
 

Static Public Attributes

static const string ICON_SERVICES_ISSUES = "connection-issues"
 
static const string ICON_CONNECTION = "connection"
 
static const string ICON_DISCONNECTION = "disconnection"
 
static const string MESSAGE_SERVICES_ISSUES = "#AR-CoreMenus_Tooltips_UnavailableServices"
 
static const string MESSAGE_CONNECTING = "#AR-Workshop_Connecting"
 
static const string MESSAGE_DISCONNECTION = "#AR-CoreMenus_Tooltips_NoConnection"
 
static const string MESSAGE_VERBOSE_DISCONNECTION = "#AR-Workshop_WarningNoConnection"
 
static const string MESSAGE_VERBOSE_TIMEOUT = "#AR-Workshop_Dialog_Error_ConnectionTimeout2"
 

Static Protected Member Functions

static void SetConnectionButtonTexture (SCR_InputButtonComponent button, bool enabled)
 

Member Function Documentation

◆ ForceConnectionButtonEnabled()

static bool SCR_ConnectionUICommon.ForceConnectionButtonEnabled ( SCR_InputButtonComponent button,
bool enabled,
bool animate = true )
static

Forces the button into the desired state irrelevant of services.

◆ GetConnectionIssuesIcon()

static string SCR_ConnectionUICommon.GetConnectionIssuesIcon ( )
static

◆ GetConnectionIssuesMessage()

static string SCR_ConnectionUICommon.GetConnectionIssuesMessage ( )
static

◆ SetConnectionButtonEnabled()

static bool SCR_ConnectionUICommon.SetConnectionButtonEnabled ( SCR_InputButtonComponent button,
string serviceName,
bool forceDisabled = false,
bool animate = true )
static

Updates the button based on the state of services.

◆ SetConnectionButtonTexture()

static void SCR_ConnectionUICommon.SetConnectionButtonTexture ( SCR_InputButtonComponent button,
bool enabled )
staticprotected

Member Data Documentation

◆ ICON_CONNECTION

const string SCR_ConnectionUICommon.ICON_CONNECTION = "connection"
static

◆ ICON_DISCONNECTION

const string SCR_ConnectionUICommon.ICON_DISCONNECTION = "disconnection"
static

◆ ICON_SERVICES_ISSUES

const string SCR_ConnectionUICommon.ICON_SERVICES_ISSUES = "connection-issues"
static

◆ MESSAGE_CONNECTING

const string SCR_ConnectionUICommon.MESSAGE_CONNECTING = "#AR-Workshop_Connecting"
static

◆ MESSAGE_DISCONNECTION

const string SCR_ConnectionUICommon.MESSAGE_DISCONNECTION = "#AR-CoreMenus_Tooltips_NoConnection"
static

◆ MESSAGE_SERVICES_ISSUES

const string SCR_ConnectionUICommon.MESSAGE_SERVICES_ISSUES = "#AR-CoreMenus_Tooltips_UnavailableServices"
static

◆ MESSAGE_VERBOSE_DISCONNECTION

const string SCR_ConnectionUICommon.MESSAGE_VERBOSE_DISCONNECTION = "#AR-Workshop_WarningNoConnection"
static

◆ MESSAGE_VERBOSE_TIMEOUT

const string SCR_ConnectionUICommon.MESSAGE_VERBOSE_TIMEOUT = "#AR-Workshop_Dialog_Error_ConnectionTimeout2"
static

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