Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ServicesStatusDialogComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_ServicesStatusDialogComponent
 
class  SCR_ServicesStatusDialogLineComponent
 

Functions

SCR_ServicesStatusDialogComponent ScriptedWidgetComponent BaseContainerProps ()] class SCR_ServicesStatusDialogComponent_Status
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
protected void CreateLines (Widget w)
 
void SetPing (int pingInMs)
 
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)
 
protected void SetStatusBackground (ImageWidget backgroundWidget, EServiceStatus serviceStatus)
 
protected void SetStatusText (Widget textWidget, EServiceStatus serviceStatus)
 
void SetStatusImageAndColor (ImageWidget iconWidget, EServiceStatus serviceStatus, bool mainIcon=false)
 
protected SCR_ServicesStatusDialogComponent_Status GetStatus (EServiceStatus serviceStatus, array< ref SCR_ServicesStatusDialogComponent_Status > statuses)
 
protected void OnLineMouseEnter ()
 
protected void OnLineMouseLeave ()
 
protected void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltipClass, Widget tooltipWidget, Widget hoverWidget, SCR_ScriptedWidgetTooltipPreset preset, string tag)
 

Variables

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

Function Documentation

◆ BaseContainerProps()

SCR_ServicesStatusDialogComponent ScriptedWidgetComponent BaseContainerProps ( )

Definition at line 474 of file SCR_ServicesStatusDialogComponent.c.

◆ CreateLines()

protected void BaseContainerProps::CreateLines ( Widget  w)

Definition at line 133 of file SCR_ServicesStatusDialogComponent.c.

◆ GetAllServices()

array<ref SCR_BackendServiceDisplay> BaseContainerProps::GetAllServices ( )
Returns

Definition at line 214 of file SCR_ServicesStatusDialogComponent.c.

◆ GetStatus()

protected SCR_ServicesStatusDialogComponent_Status BaseContainerProps::GetStatus ( EServiceStatus  serviceStatus,
array< ref SCR_ServicesStatusDialogComponent_Status >  statuses 
)

Definition at line 400 of file SCR_ServicesStatusDialogComponent.c.

◆ HandlerAttached()

override void BaseContainerProps::HandlerAttached ( Widget  w)

Definition at line 79 of file SCR_ServicesStatusDialogComponent.c.

◆ HandlerDeattached()

override void BaseContainerProps::HandlerDeattached ( Widget  w)

Definition at line 125 of file SCR_ServicesStatusDialogComponent.c.

◆ OnLineMouseEnter()

protected void BaseContainerProps::OnLineMouseEnter ( )

Definition at line 415 of file SCR_ServicesStatusDialogComponent.c.

◆ OnLineMouseLeave()

protected void BaseContainerProps::OnLineMouseLeave ( )

Definition at line 421 of file SCR_ServicesStatusDialogComponent.c.

◆ OnTooltipShow()

protected void BaseContainerProps::OnTooltipShow ( SCR_ScriptedWidgetTooltip  tooltipClass,
Widget  tooltipWidget,
Widget  hoverWidget,
SCR_ScriptedWidgetTooltipPreset  preset,
string  tag 
)

Definition at line 427 of file SCR_ServicesStatusDialogComponent.c.

◆ SetAllServicesState()

void BaseContainerProps::SetAllServicesState ( EServiceStatus  status)
Parameters
[in]status

Definition at line 225 of file SCR_ServicesStatusDialogComponent.c.

◆ SetLastUpdateMessage()

void BaseContainerProps::SetLastUpdateMessage ( int  pingAge)
Parameters
[in]pingAge

Definition at line 323 of file SCR_ServicesStatusDialogComponent.c.

◆ SetPing()

void BaseContainerProps::SetPing ( int  pingInMs)

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

Parameters
pingInMsping in milliseconds

Definition at line 173 of file SCR_ServicesStatusDialogComponent.c.

◆ SetRefreshMessage()

void BaseContainerProps::SetRefreshMessage ( int  countdown,
bool  visible = true 
)
Parameters
[in]countdown
[in]visible

Definition at line 347 of file SCR_ServicesStatusDialogComponent.c.

◆ SetServiceState()

void BaseContainerProps::SetServiceState ( string  serviceId,
EServiceStatus  status 
)
Parameters
[in]serviceId
[in]status

Definition at line 242 of file SCR_ServicesStatusDialogComponent.c.

◆ SetStatusBackground()

protected void BaseContainerProps::SetStatusBackground ( ImageWidget  backgroundWidget,
EServiceStatus  serviceStatus 
)

Definition at line 360 of file SCR_ServicesStatusDialogComponent.c.

◆ SetStatusImageAndColor()

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

Definition at line 383 of file SCR_ServicesStatusDialogComponent.c.

◆ SetStatusText()

protected void BaseContainerProps::SetStatusText ( Widget  textWidget,
EServiceStatus  serviceStatus 
)

Definition at line 370 of file SCR_ServicesStatusDialogComponent.c.

◆ UpdateServicesMessage()

void BaseContainerProps::UpdateServicesMessage ( SCR_ECommStatus  commStatus,
EServiceStatus  servicesStatus 
)
Parameters
[in]commStatus
[in]servicesStatus

Definition at line 273 of file SCR_ServicesStatusDialogComponent.c.

Variable Documentation

◆ m_aMainStatuses

protected ref array<ref SCR_ServicesStatusDialogComponent_Status> m_aMainStatuses

Definition at line 9 of file SCR_ServicesStatusDialogComponent.c.

◆ m_aStatuses

protected ref array<ref SCR_ServicesStatusDialogComponent_Status> m_aStatuses

Definition at line 6 of file SCR_ServicesStatusDialogComponent.c.

◆ m_LineLayout

protected ResourceName m_LineLayout

Definition at line 12 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sBigPing

protected string m_sBigPing

Definition at line 22 of file SCR_ServicesStatusDialogComponent.c.

◆ m_ServicesPresets

protected ref SCR_BackendServiceDisplayPresets m_ServicesPresets

Definition at line 3 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sLastUpdateMessageMinutes

protected string m_sLastUpdateMessageMinutes

Definition at line 48 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sLastUpdateMessageNoConnection

protected string m_sLastUpdateMessageNoConnection

Definition at line 51 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sLastUpdateMessageSeconds

protected string m_sLastUpdateMessageSeconds

Definition at line 45 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sLegendError

protected string m_sLegendError

Definition at line 64 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sLegendRunning

protected string m_sLegendRunning

Definition at line 61 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sLegendWarning

protected string m_sLegendWarning

Definition at line 58 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sNoPing

protected string m_sNoPing

Definition at line 16 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sPingText

protected string m_sPingText

Definition at line 73 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sRefreshText

protected string m_sRefreshText

Definition at line 74 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sStatusesMessageAttemptingToConnect

protected string m_sStatusesMessageAttemptingToConnect

Definition at line 29 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sStatusesMessageError

protected string m_sStatusesMessageError

Definition at line 41 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sStatusesMessageInitializationError

protected string m_sStatusesMessageInitializationError

Definition at line 26 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sStatusesMessageNoConnection

protected string m_sStatusesMessageNoConnection

Definition at line 32 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sStatusesMessageRunning

protected string m_sStatusesMessageRunning

Definition at line 35 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sStatusesMessageWarning

protected string m_sStatusesMessageWarning

Definition at line 38 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sTooltipTag

protected string m_sTooltipTag

Definition at line 55 of file SCR_ServicesStatusDialogComponent.c.

◆ m_sUpdatingPing

protected string m_sUpdatingPing

Definition at line 19 of file SCR_ServicesStatusDialogComponent.c.

◆ m_Tooltip

protected SCR_ScriptedWidgetTooltip m_Tooltip

Definition at line 76 of file SCR_ServicesStatusDialogComponent.c.

◆ m_wLastUpdate

protected TextWidget m_wLastUpdate

Definition at line 70 of file SCR_ServicesStatusDialogComponent.c.

◆ m_wLinesParentWidget

protected Widget m_wLinesParentWidget

Definition at line 68 of file SCR_ServicesStatusDialogComponent.c.

◆ m_wPingWidget

protected TextWidget m_wPingWidget

Definition at line 67 of file SCR_ServicesStatusDialogComponent.c.

◆ m_wRefreshMessage

protected TextWidget m_wRefreshMessage

Definition at line 71 of file SCR_ServicesStatusDialogComponent.c.

◆ m_wServicesMessage

protected TextWidget m_wServicesMessage

Definition at line 69 of file SCR_ServicesStatusDialogComponent.c.