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

Go to the source code of this file.

Data Structures

class  SCR_ConnectionStateButtonComponent
 

Functions

SCR_ConnectionStateButtonComponent SCR_CoreMenuHeaderButtonComponent BaseContainerProps ()] class SCR_ConnectionStateButtonComponent_StatusPreset
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
override void SetVisible (bool visible, bool animate=false, float rate=UIConstants.FADE_RATE_FAST)
 
protected void OnMenuEnabled (ChimeraMenuBase menu)
 
protected void OnMenuDisabled (ChimeraMenuBase menu)
 
protected void ClearInvokers ()
 
protected void OnCommStatusUpdated (SCR_ECommStatus status, float responseTime, float lastSuccessTime, float lastFailTime)
 
protected void OnCommStatusCheckStart ()
 
protected void OnAutomaticRefresh ()
 
protected void UpdateStatus (SCR_ECommStatus status)
 
protected bool AreServicesUnavailable ()
 
protected bool CheckLowBandwidth ()
 
protected void UpdateWidgets (SCR_ECommStatus status, bool lowBandwidth=false)
 
protected void AnimateSpinner ()
 
protected bool ShowSpinner ()
 
protected SCR_ConnectionStateButtonComponent_StatusPreset GetStatusPreset (SCR_ECommStatus status)
 
protected void SetIconColor (Color color)
 
protected void OnButtonClicked ()
 
protected void OnButtonFocused ()
 
protected void OnButtonFocusLost ()
 
protected void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltipClass, Widget tooltipWidget, Widget hoverWidget, SCR_ScriptedWidgetTooltipPreset preset, string tag)
 
protected void UpdateTooltip ()
 

Variables

protected ref SCR_BackendServiceDisplayPresets m_ServicesPresets
 
protected ref array< ref SCR_ConnectionStateButtonComponent_StatusPreset > m_aStatuses
 
protected ref Color m_LowBandwidthColor
 
protected bool m_bShowLowBandwidthLabel
 
protected string m_sTooltipTag
 
protected float m_fSpinnerSpeed
 
EAnimationCurve m_eSpinnerAnimationCurve
 
protected bool m_bIsListeningForCommCheckEvent
 
protected ref array< string > m_aUnavailableServices = {}
 
protected SCR_ConnectionStateButtonComponent_StatusPreset m_CurrentStatusPreset
 
protected SCR_ScriptedWidgetTooltip m_Tooltip
 
protected ImageWidget m_wConnectingSpinner
 
protected WidgetAnimationImageRotation m_SpinnerAnimation
 

Function Documentation

◆ AnimateSpinner()

protected void BaseContainerProps::AnimateSpinner ( )

Definition at line 246 of file SCR_ConnectionStateButtonComponent.c.

◆ AreServicesUnavailable()

protected bool BaseContainerProps::AreServicesUnavailable ( )

Definition at line 182 of file SCR_ConnectionStateButtonComponent.c.

◆ BaseContainerProps()

◆ CheckLowBandwidth()

protected bool BaseContainerProps::CheckLowBandwidth ( )

Definition at line 207 of file SCR_ConnectionStateButtonComponent.c.

◆ ClearInvokers()

protected void BaseContainerProps::ClearInvokers ( )

Definition at line 118 of file SCR_ConnectionStateButtonComponent.c.

◆ GetStatusPreset()

protected SCR_ConnectionStateButtonComponent_StatusPreset BaseContainerProps::GetStatusPreset ( SCR_ECommStatus  status)

Definition at line 277 of file SCR_ConnectionStateButtonComponent.c.

◆ HandlerAttached()

override void BaseContainerProps::HandlerAttached ( Widget  w)

Definition at line 36 of file SCR_ConnectionStateButtonComponent.c.

◆ HandlerDeattached()

override void BaseContainerProps::HandlerDeattached ( Widget  w)

Definition at line 65 of file SCR_ConnectionStateButtonComponent.c.

◆ OnAutomaticRefresh()

protected void BaseContainerProps::OnAutomaticRefresh ( )

Definition at line 139 of file SCR_ConnectionStateButtonComponent.c.

◆ OnButtonClicked()

protected void BaseContainerProps::OnButtonClicked ( )

Definition at line 298 of file SCR_ConnectionStateButtonComponent.c.

◆ OnButtonFocused()

protected void BaseContainerProps::OnButtonFocused ( )

Definition at line 304 of file SCR_ConnectionStateButtonComponent.c.

◆ OnButtonFocusLost()

protected void BaseContainerProps::OnButtonFocusLost ( )

Definition at line 310 of file SCR_ConnectionStateButtonComponent.c.

◆ OnCommStatusCheckStart()

protected void BaseContainerProps::OnCommStatusCheckStart ( )

Definition at line 132 of file SCR_ConnectionStateButtonComponent.c.

◆ OnCommStatusUpdated()

protected void BaseContainerProps::OnCommStatusUpdated ( SCR_ECommStatus  status,
float  responseTime,
float  lastSuccessTime,
float  lastFailTime 
)

Definition at line 126 of file SCR_ConnectionStateButtonComponent.c.

◆ OnMenuDisabled()

protected void BaseContainerProps::OnMenuDisabled ( ChimeraMenuBase  menu)

Definition at line 109 of file SCR_ConnectionStateButtonComponent.c.

◆ OnMenuEnabled()

protected void BaseContainerProps::OnMenuEnabled ( ChimeraMenuBase  menu)

Definition at line 90 of file SCR_ConnectionStateButtonComponent.c.

◆ OnTooltipShow()

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

Definition at line 316 of file SCR_ConnectionStateButtonComponent.c.

◆ SetIconColor()

protected void BaseContainerProps::SetIconColor ( Color  color)

Definition at line 289 of file SCR_ConnectionStateButtonComponent.c.

◆ SetVisible()

override void BaseContainerProps::SetVisible ( bool  visible,
bool  animate = false,
float  rate = UIConstants.FADE_RATE_FAST 
)

Definition at line 81 of file SCR_ConnectionStateButtonComponent.c.

◆ ShowSpinner()

protected bool BaseContainerProps::ShowSpinner ( )

Definition at line 271 of file SCR_ConnectionStateButtonComponent.c.

◆ UpdateStatus()

protected void BaseContainerProps::UpdateStatus ( SCR_ECommStatus  status)

Definition at line 145 of file SCR_ConnectionStateButtonComponent.c.

◆ UpdateTooltip()

protected void BaseContainerProps::UpdateTooltip ( )

Definition at line 329 of file SCR_ConnectionStateButtonComponent.c.

◆ UpdateWidgets()

protected void BaseContainerProps::UpdateWidgets ( SCR_ECommStatus  status,
bool  lowBandwidth = false 
)

Definition at line 215 of file SCR_ConnectionStateButtonComponent.c.

Variable Documentation

◆ m_aStatuses

protected ref array<ref SCR_ConnectionStateButtonComponent_StatusPreset> m_aStatuses

Definition at line 8 of file SCR_ConnectionStateButtonComponent.c.

◆ m_aUnavailableServices

protected ref array<string> m_aUnavailableServices = {}

Definition at line 28 of file SCR_ConnectionStateButtonComponent.c.

◆ m_bIsListeningForCommCheckEvent

protected bool m_bIsListeningForCommCheckEvent

Definition at line 26 of file SCR_ConnectionStateButtonComponent.c.

◆ m_bShowLowBandwidthLabel

protected bool m_bShowLowBandwidthLabel

Definition at line 15 of file SCR_ConnectionStateButtonComponent.c.

◆ m_CurrentStatusPreset

protected SCR_ConnectionStateButtonComponent_StatusPreset m_CurrentStatusPreset

Definition at line 29 of file SCR_ConnectionStateButtonComponent.c.

◆ m_eSpinnerAnimationCurve

EAnimationCurve m_eSpinnerAnimationCurve

Definition at line 24 of file SCR_ConnectionStateButtonComponent.c.

◆ m_fSpinnerSpeed

protected float m_fSpinnerSpeed

Definition at line 21 of file SCR_ConnectionStateButtonComponent.c.

◆ m_LowBandwidthColor

protected ref Color m_LowBandwidthColor

Definition at line 12 of file SCR_ConnectionStateButtonComponent.c.

◆ m_ServicesPresets

protected ref SCR_BackendServiceDisplayPresets m_ServicesPresets

Definition at line 4 of file SCR_ConnectionStateButtonComponent.c.

◆ m_SpinnerAnimation

protected WidgetAnimationImageRotation m_SpinnerAnimation

Definition at line 33 of file SCR_ConnectionStateButtonComponent.c.

◆ m_sTooltipTag

protected string m_sTooltipTag

Definition at line 18 of file SCR_ConnectionStateButtonComponent.c.

◆ m_Tooltip

protected SCR_ScriptedWidgetTooltip m_Tooltip

Definition at line 30 of file SCR_ConnectionStateButtonComponent.c.

◆ m_wConnectingSpinner

protected ImageWidget m_wConnectingSpinner

Definition at line 32 of file SCR_ConnectionStateButtonComponent.c.