Arma Reforger Script API
|
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. More...
Public 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) |
Public Member Functions inherited from SCR_CoreMenuHeaderButtonComponent | |
override void | HandlerAttached (Widget w) |
void | SetIcon (string name) |
void | SetCountText (string text) |
void | SetCountVisible (bool visible) |
void | SetLabelText (string text) |
string | GetLabelText () |
void | SetVisible (bool visible, bool animate=false, float rate=UIConstants.FADE_RATE_FAST) |
SCR_ModularButtonComponent | GetButton () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Public Attributes | |
EAnimationCurve | m_eSpinnerAnimationCurve |
Public Attributes inherited from SCR_CoreMenuHeaderButtonComponent | |
string | m_sIconName |
bool | m_bShowCount |
string | m_sLabel |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Protected Member Functions | |
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 |
bool | m_bIsListeningForCommCheckEvent |
ref array< string > | m_aUnavailableServices = {} |
SCR_ConnectionStateButtonComponent_StatusPreset | m_CurrentStatusPreset |
SCR_ScriptedWidgetTooltip | m_Tooltip |
ImageWidget | m_wConnectingSpinner |
WidgetAnimationImageRotation | m_SpinnerAnimation |
Protected Attributes inherited from SCR_CoreMenuHeaderButtonComponent | |
Widget | m_wButtonWidget |
SCR_ModularButtonComponent | m_ButtonComponent |
ImageWidget | m_wIcon |
Widget | m_wCountIconFrame |
TextWidget | m_wCountText |
TextWidget | m_wLabel |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
Widget | m_wRoot |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
Static Protected Attributes inherited from SCR_CoreMenuHeaderButtonComponent | |
const string | BUTTON = "CoreMenuHeaderButton" |
const string | COUNT_ICON_FRAME = "CountIconFrame" |
const string | COUNT_TEXT = "CountText" |
const string | ICON = "Icon" |
const string | LABEL = "ButtonLabel" |
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
override void SCR_ConnectionStateButtonComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_CoreMenuHeaderButtonComponent.
override void SCR_ConnectionStateButtonComponent.HandlerDeattached | ( | Widget | w | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
override void SCR_ConnectionStateButtonComponent.SetVisible | ( | bool | visible, |
bool | animate = false , |
||
float | rate = UIConstants::FADE_RATE_FAST |
||
) |
[in] | visible | |
[in] | animate | |
[in] | rate |
Implements SCR_CoreMenuHeaderButtonComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
EAnimationCurve SCR_ConnectionStateButtonComponent.m_eSpinnerAnimationCurve |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |