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

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
void SetPing (int pingInMs)
 Set the ping value (formats -1 to " - ", 0 to " ..." and >999 value to "999+")
 
array< ref SCR_BackendServiceDisplayGetAllServices ()
 
void SetAllServicesState (EServiceStatus status)
 
void SetServiceState (string serviceId, EServiceStatus status)
 
void UpdateServicesMessage (SCR_ECommStatus commStatus, EServiceStatus servicesStatus)
 
void SetLastUpdateMessage (int pingAge)
 
void SetRefreshMessage (int countdown, bool visible=true)
 
void SetStatusImageAndColor (ImageWidget iconWidget, EServiceStatus serviceStatus, bool mainIcon=false)
 

Protected Member Functions

void CreateLines (Widget w)
 
void SetStatusBackground (ImageWidget backgroundWidget, EServiceStatus serviceStatus)
 
void SetStatusText (Widget textWidget, EServiceStatus serviceStatus)
 
SCR_ServicesStatusDialogComponent_Status GetStatus (EServiceStatus serviceStatus, array< ref SCR_ServicesStatusDialogComponent_Status > statuses)
 
void OnLineMouseEnter ()
 
void OnLineMouseLeave ()
 
void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip)
 

Protected Attributes

ref SCR_BackendServiceDisplayPresets m_ServicesPresets
 
ref array< ref SCR_ServicesStatusDialogComponent_Statusm_aStatuses
 
ref array< ref SCR_ServicesStatusDialogComponent_Statusm_aMainStatuses
 
ResourceName m_LineLayout
 
string m_sNoPing
 
string m_sUpdatingPing
 
string m_sBigPing
 
string m_sStatusesMessageInitializationError
 
string m_sStatusesMessageAttemptingToConnect
 
string m_sStatusesMessageNoConnection
 
string m_sStatusesMessageRunning
 
string m_sStatusesMessageWarning
 
string m_sStatusesMessageError
 
string m_sLastUpdateMessageSeconds
 
string m_sLastUpdateMessageMinutes
 
string m_sLastUpdateMessageNoConnection
 
string m_sTooltipTag
 
string m_sLegendWarning
 
string m_sLegendRunning
 
string m_sLegendError
 
TextWidget m_wPingWidget
 
Widget m_wLinesParentWidget
 
TextWidget m_wServicesMessage
 
TextWidget m_wLastUpdate
 
TextWidget m_wRefreshMessage
 
string m_sPingText
 
string m_sRefreshText
 
SCR_ScriptedWidgetTooltip m_Tooltip
 

Member Function Documentation

◆ CreateLines()

void SCR_ServicesStatusDialogComponent.CreateLines ( Widget  w)
protected

◆ GetAllServices()

array< ref SCR_BackendServiceDisplay > SCR_ServicesStatusDialogComponent.GetAllServices ( )
Returns

◆ GetStatus()

SCR_ServicesStatusDialogComponent_Status SCR_ServicesStatusDialogComponent.GetStatus ( EServiceStatus  serviceStatus,
array< ref SCR_ServicesStatusDialogComponent_Status statuses 
)
protected

◆ HandlerAttached()

override void SCR_ServicesStatusDialogComponent.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void SCR_ServicesStatusDialogComponent.HandlerDeattached ( Widget  w)

◆ OnLineMouseEnter()

void SCR_ServicesStatusDialogComponent.OnLineMouseEnter ( )
protected

◆ OnLineMouseLeave()

void SCR_ServicesStatusDialogComponent.OnLineMouseLeave ( )
protected

◆ OnTooltipShow()

void SCR_ServicesStatusDialogComponent.OnTooltipShow ( SCR_ScriptedWidgetTooltip  tooltip)
protected

◆ SetAllServicesState()

void SCR_ServicesStatusDialogComponent.SetAllServicesState ( EServiceStatus  status)
Parameters
[in]status

◆ SetLastUpdateMessage()

void SCR_ServicesStatusDialogComponent.SetLastUpdateMessage ( int  pingAge)
Parameters
[in]pingAge

◆ SetPing()

void SCR_ServicesStatusDialogComponent.SetPing ( int  pingInMs)

Set the ping value (formats -1 to " - ", 0 to " ..." and >999 value to "999+")

Parameters
pingInMsping in milliseconds

◆ SetRefreshMessage()

void SCR_ServicesStatusDialogComponent.SetRefreshMessage ( int  countdown,
bool  visible = true 
)
Parameters
[in]countdown
[in]visible

◆ SetServiceState()

void SCR_ServicesStatusDialogComponent.SetServiceState ( string  serviceId,
EServiceStatus  status 
)
Parameters
[in]serviceId
[in]status

◆ SetStatusBackground()

void SCR_ServicesStatusDialogComponent.SetStatusBackground ( ImageWidget  backgroundWidget,
EServiceStatus  serviceStatus 
)
protected

◆ SetStatusImageAndColor()

void SCR_ServicesStatusDialogComponent.SetStatusImageAndColor ( ImageWidget  iconWidget,
EServiceStatus  serviceStatus,
bool  mainIcon = false 
)
Parameters
[in]iconWidget
[in]serviceStatus
[in]mainIcon

◆ SetStatusText()

void SCR_ServicesStatusDialogComponent.SetStatusText ( Widget  textWidget,
EServiceStatus  serviceStatus 
)
protected

◆ UpdateServicesMessage()

void SCR_ServicesStatusDialogComponent.UpdateServicesMessage ( SCR_ECommStatus  commStatus,
EServiceStatus  servicesStatus 
)
Parameters
[in]commStatus
[in]servicesStatus

Member Data Documentation

◆ m_aMainStatuses

ref array<ref SCR_ServicesStatusDialogComponent_Status> SCR_ServicesStatusDialogComponent.m_aMainStatuses
protected

◆ m_aStatuses

ref array<ref SCR_ServicesStatusDialogComponent_Status> SCR_ServicesStatusDialogComponent.m_aStatuses
protected

◆ m_LineLayout

ResourceName SCR_ServicesStatusDialogComponent.m_LineLayout
protected

◆ m_sBigPing

string SCR_ServicesStatusDialogComponent.m_sBigPing
protected

◆ m_ServicesPresets

ref SCR_BackendServiceDisplayPresets SCR_ServicesStatusDialogComponent.m_ServicesPresets
protected

◆ m_sLastUpdateMessageMinutes

string SCR_ServicesStatusDialogComponent.m_sLastUpdateMessageMinutes
protected

◆ m_sLastUpdateMessageNoConnection

string SCR_ServicesStatusDialogComponent.m_sLastUpdateMessageNoConnection
protected

◆ m_sLastUpdateMessageSeconds

string SCR_ServicesStatusDialogComponent.m_sLastUpdateMessageSeconds
protected

◆ m_sLegendError

string SCR_ServicesStatusDialogComponent.m_sLegendError
protected

◆ m_sLegendRunning

string SCR_ServicesStatusDialogComponent.m_sLegendRunning
protected

◆ m_sLegendWarning

string SCR_ServicesStatusDialogComponent.m_sLegendWarning
protected

◆ m_sNoPing

string SCR_ServicesStatusDialogComponent.m_sNoPing
protected

◆ m_sPingText

string SCR_ServicesStatusDialogComponent.m_sPingText
protected

◆ m_sRefreshText

string SCR_ServicesStatusDialogComponent.m_sRefreshText
protected

◆ m_sStatusesMessageAttemptingToConnect

string SCR_ServicesStatusDialogComponent.m_sStatusesMessageAttemptingToConnect
protected

◆ m_sStatusesMessageError

string SCR_ServicesStatusDialogComponent.m_sStatusesMessageError
protected

◆ m_sStatusesMessageInitializationError

string SCR_ServicesStatusDialogComponent.m_sStatusesMessageInitializationError
protected

◆ m_sStatusesMessageNoConnection

string SCR_ServicesStatusDialogComponent.m_sStatusesMessageNoConnection
protected

◆ m_sStatusesMessageRunning

string SCR_ServicesStatusDialogComponent.m_sStatusesMessageRunning
protected

◆ m_sStatusesMessageWarning

string SCR_ServicesStatusDialogComponent.m_sStatusesMessageWarning
protected

◆ m_sTooltipTag

string SCR_ServicesStatusDialogComponent.m_sTooltipTag
protected

◆ m_sUpdatingPing

string SCR_ServicesStatusDialogComponent.m_sUpdatingPing
protected

◆ m_Tooltip

SCR_ScriptedWidgetTooltip SCR_ServicesStatusDialogComponent.m_Tooltip
protected

◆ m_wLastUpdate

TextWidget SCR_ServicesStatusDialogComponent.m_wLastUpdate
protected

◆ m_wLinesParentWidget

Widget SCR_ServicesStatusDialogComponent.m_wLinesParentWidget
protected

◆ m_wPingWidget

TextWidget SCR_ServicesStatusDialogComponent.m_wPingWidget
protected

◆ m_wRefreshMessage

TextWidget SCR_ServicesStatusDialogComponent.m_wRefreshMessage
protected

◆ m_wServicesMessage

TextWidget SCR_ServicesStatusDialogComponent.m_wServicesMessage
protected

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