Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ConnectionStateButtonComponent Class Reference
Inheritance diagram for SCR_ConnectionStateButtonComponent:
SCR_CoreMenuHeaderButtonComponent

Protected Member Functions

override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
override void SetVisible (bool visible, bool animate=false, float rate=UIConstants.FADE_RATE_FAST)
void OnMenuEnabled (ChimeraMenuBase menu)
void OnMenuDisabled (ChimeraMenuBase menu)
void ClearInvokers ()
void OnCommStatusUpdated (SCR_ECommStatus status, float responseTime, float lastSuccessTime, float lastFailTime)
void OnCommStatusCheckStart ()
void OnAutomaticRefresh ()
void UpdateStatus (SCR_ECommStatus status)
bool AreServicesUnavailable ()
bool CheckLowBandwidth ()
void UpdateWidgets (SCR_ECommStatus status, bool lowBandwidth=false)
void AnimateSpinner ()
bool ShowSpinner ()
SCR_ConnectionStateButtonComponent_StatusPreset GetStatusPreset (SCR_ECommStatus status)
void SetIconColor (Color color)
void OnButtonClicked ()
void OnButtonFocused ()
void OnButtonFocusLost ()
void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip)
void UpdateTooltip ()

Protected Attributes

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

Detailed Description

Component for core menu header button that shows connection state based on comm test, but also needs to show a warning for low bandwidth Uses the parent's icon & label attributes for Low Bandwidth state and considers it the default, as it is outside of the comm test results

Definition at line 3 of file SCR_ConnectionStateButtonComponent.c.

Member Function Documentation

◆ AnimateSpinner()

void SCR_ConnectionStateButtonComponent::AnimateSpinner ( )
inlineprotected

Definition at line 249 of file SCR_ConnectionStateButtonComponent.c.

◆ AreServicesUnavailable()

bool SCR_ConnectionStateButtonComponent::AreServicesUnavailable ( )
inlineprotected

Definition at line 185 of file SCR_ConnectionStateButtonComponent.c.

◆ CheckLowBandwidth()

bool SCR_ConnectionStateButtonComponent::CheckLowBandwidth ( )
inlineprotected

Definition at line 210 of file SCR_ConnectionStateButtonComponent.c.

◆ ClearInvokers()

void SCR_ConnectionStateButtonComponent::ClearInvokers ( )
inlineprotected

Definition at line 121 of file SCR_ConnectionStateButtonComponent.c.

◆ GetStatusPreset()

SCR_ConnectionStateButtonComponent_StatusPreset SCR_ConnectionStateButtonComponent::GetStatusPreset ( SCR_ECommStatus status)
inlineprotected

Definition at line 280 of file SCR_ConnectionStateButtonComponent.c.

◆ HandlerAttached()

override void SCR_ConnectionStateButtonComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 39 of file SCR_ConnectionStateButtonComponent.c.

◆ HandlerDeattached()

override void SCR_ConnectionStateButtonComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 68 of file SCR_ConnectionStateButtonComponent.c.

◆ OnAutomaticRefresh()

void SCR_ConnectionStateButtonComponent::OnAutomaticRefresh ( )
inlineprotected

Definition at line 142 of file SCR_ConnectionStateButtonComponent.c.

◆ OnButtonClicked()

void SCR_ConnectionStateButtonComponent::OnButtonClicked ( )
inlineprotected

Definition at line 301 of file SCR_ConnectionStateButtonComponent.c.

◆ OnButtonFocused()

void SCR_ConnectionStateButtonComponent::OnButtonFocused ( )
inlineprotected

Definition at line 307 of file SCR_ConnectionStateButtonComponent.c.

◆ OnButtonFocusLost()

void SCR_ConnectionStateButtonComponent::OnButtonFocusLost ( )
inlineprotected

Definition at line 313 of file SCR_ConnectionStateButtonComponent.c.

◆ OnCommStatusCheckStart()

void SCR_ConnectionStateButtonComponent::OnCommStatusCheckStart ( )
inlineprotected

Definition at line 135 of file SCR_ConnectionStateButtonComponent.c.

◆ OnCommStatusUpdated()

void SCR_ConnectionStateButtonComponent::OnCommStatusUpdated ( SCR_ECommStatus status,
float responseTime,
float lastSuccessTime,
float lastFailTime )
inlineprotected

Definition at line 129 of file SCR_ConnectionStateButtonComponent.c.

◆ OnMenuDisabled()

void SCR_ConnectionStateButtonComponent::OnMenuDisabled ( ChimeraMenuBase menu)
inlineprotected

Definition at line 112 of file SCR_ConnectionStateButtonComponent.c.

◆ OnMenuEnabled()

void SCR_ConnectionStateButtonComponent::OnMenuEnabled ( ChimeraMenuBase menu)
inlineprotected

Definition at line 93 of file SCR_ConnectionStateButtonComponent.c.

◆ OnTooltipShow()

void SCR_ConnectionStateButtonComponent::OnTooltipShow ( SCR_ScriptedWidgetTooltip tooltip)
inlineprotected

Definition at line 319 of file SCR_ConnectionStateButtonComponent.c.

◆ SetIconColor()

void SCR_ConnectionStateButtonComponent::SetIconColor ( Color color)
inlineprotected

Definition at line 292 of file SCR_ConnectionStateButtonComponent.c.

◆ SetVisible()

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

Definition at line 84 of file SCR_ConnectionStateButtonComponent.c.

◆ ShowSpinner()

bool SCR_ConnectionStateButtonComponent::ShowSpinner ( )
inlineprotected

Definition at line 274 of file SCR_ConnectionStateButtonComponent.c.

◆ UpdateStatus()

void SCR_ConnectionStateButtonComponent::UpdateStatus ( SCR_ECommStatus status)
inlineprotected

Definition at line 148 of file SCR_ConnectionStateButtonComponent.c.

◆ UpdateTooltip()

void SCR_ConnectionStateButtonComponent::UpdateTooltip ( )
inlineprotected

Definition at line 332 of file SCR_ConnectionStateButtonComponent.c.

◆ UpdateWidgets()

void SCR_ConnectionStateButtonComponent::UpdateWidgets ( SCR_ECommStatus status,
bool lowBandwidth = false )
inlineprotected

Definition at line 218 of file SCR_ConnectionStateButtonComponent.c.

Member Data Documentation

◆ m_aStatuses

ref array<ref SCR_ConnectionStateButtonComponent_StatusPreset> SCR_ConnectionStateButtonComponent::m_aStatuses
protected

Definition at line 11 of file SCR_ConnectionStateButtonComponent.c.

◆ m_aUnavailableServices

ref array<string> SCR_ConnectionStateButtonComponent::m_aUnavailableServices = {}
protected

Definition at line 31 of file SCR_ConnectionStateButtonComponent.c.

◆ m_bIsListeningForCommCheckEvent

bool SCR_ConnectionStateButtonComponent::m_bIsListeningForCommCheckEvent
protected

Definition at line 29 of file SCR_ConnectionStateButtonComponent.c.

◆ m_bShowLowBandwidthLabel

bool SCR_ConnectionStateButtonComponent::m_bShowLowBandwidthLabel
protected

Definition at line 18 of file SCR_ConnectionStateButtonComponent.c.

◆ m_CurrentStatusPreset

SCR_ConnectionStateButtonComponent_StatusPreset SCR_ConnectionStateButtonComponent::m_CurrentStatusPreset
protected

Definition at line 32 of file SCR_ConnectionStateButtonComponent.c.

◆ m_eSpinnerAnimationCurve

EAnimationCurve SCR_ConnectionStateButtonComponent::m_eSpinnerAnimationCurve
protected

Definition at line 27 of file SCR_ConnectionStateButtonComponent.c.

◆ m_fSpinnerSpeed

float SCR_ConnectionStateButtonComponent::m_fSpinnerSpeed
protected

Definition at line 24 of file SCR_ConnectionStateButtonComponent.c.

◆ m_LowBandwidthColor

ref Color SCR_ConnectionStateButtonComponent::m_LowBandwidthColor
protected

Definition at line 15 of file SCR_ConnectionStateButtonComponent.c.

◆ m_ServicesPresets

ref SCR_BackendServiceDisplayPresets SCR_ConnectionStateButtonComponent::m_ServicesPresets
protected

Definition at line 7 of file SCR_ConnectionStateButtonComponent.c.

◆ m_SpinnerAnimation

WidgetAnimationImageRotation SCR_ConnectionStateButtonComponent::m_SpinnerAnimation
protected

Definition at line 36 of file SCR_ConnectionStateButtonComponent.c.

◆ m_sTooltipTag

string SCR_ConnectionStateButtonComponent::m_sTooltipTag
protected

Definition at line 21 of file SCR_ConnectionStateButtonComponent.c.

◆ m_Tooltip

SCR_ScriptedWidgetTooltip SCR_ConnectionStateButtonComponent::m_Tooltip
protected

Definition at line 33 of file SCR_ConnectionStateButtonComponent.c.

◆ m_wConnectingSpinner

ImageWidget SCR_ConnectionStateButtonComponent::m_wConnectingSpinner
protected

Definition at line 35 of file SCR_ConnectionStateButtonComponent.c.


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