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

Public Member Functions

override bool DisplayStartDrawInit (IEntity owner)
 
override void DisplayStartDraw (IEntity owner)
 
override void DisplayUpdate (IEntity owner, float timeSlice)
 
- Public Member Functions inherited from SCR_InfoDisplayExtended
void SetEnabled (bool isEnabled)
 
override void Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR)
 Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
 
- Public Member Functions inherited from SCR_InfoDisplay
SCR_InfoDisplayHandler GetHandler (TypeName handlerType)
 
SCR_InfoDisplayInvoker GetOnStart ()
 
SCR_InfoDisplayInvoker GetOnStop ()
 
IEntity GetOwnerEntity ()
 
Widget GetContentWidget ()
 
string GetContentWidgetName ()
 
void SetRootWidget (notnull Widget root)
 
void SetContentWidget (notnull Widget content)
 
void Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR)
 Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
 
bool IsShown ()
 
Widget GetRootWidget ()
 
bool GetDimensions (out float width, out float height, bool addSafezones=true)
 Get width and height of the InfoDisplay element, optionally with safezones adjustments.
 
bool GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true)
 Get width and height of the InfoDisplay element, optionally with safezones adjustments.
 
void RegisterToHudManager ()
 
- Public Member Functions inherited from GroupInfoDisplay
proto external int GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays)
 
- Public Member Functions inherited from BaseInfoDisplay
proto external GenericComponent FindComponentInParentContainer (TypeName typeName)
 

Public Attributes

EStatsPanelEval m_eValueCalc
 
RplIdentity m_RplIdentity
 
ref SCR_StatsPanelWidgets m_Widgets
 
- Public Attributes inherited from SCR_InfoDisplay
ResourceName m_LayoutPath
 
EHudLayers m_eLayer
 
int m_iOverrideZOrder
 

Protected Member Functions

float GetValue ()
 
void Update (float value)
 
- Protected Member Functions inherited from SCR_InfoDisplayExtended
bool DisplayStartDrawInit (IEntity owner)
 
void DisplayStartDraw (IEntity owner)
 
void DisplayStopDraw (IEntity owner)
 
void DisplayInit (IEntity owner)
 
void DisplayUpdate (IEntity owner, float timeSlice)
 
void DisplayControlledEntityChanged (IEntity from, IEntity to)
 
void DisplayConsciousnessChanged (bool conscious, bool init=false)
 
void DisplayOnSuspended ()
 Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.
 
void DisplayOnResumed ()
 
void InitializeInterfaceSettings ()
 
void OnSettingsChanged ()
 
- Protected Member Functions inherited from SCR_InfoDisplay
void OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null)
 
override void OnStartDraw (IEntity owner)
 
void AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false)
 
override void OnStopDraw (IEntity owner)
 
override void UpdateValues (IEntity owner, float timeSlice)
 
override void OnInit (IEntity owner)
 
void OnInit (IEntity owner)
 
void UpdateValues (IEntity owner, float timeSlice)
 
void OnStartDraw (IEntity owner)
 
void OnStopDraw (IEntity owner)
 

Protected Attributes

string m_sFormattingPattern
 
int m_iValueWarning
 
int m_iValueError
 
int m_iValueMax
 
string m_sIconOK
 
string m_sIconWarning
 
string m_sIconError
 
string m_sLabel
 
int m_iUpdateInterval
 
bool m_bShowInSinglePlayer
 
bool m_bShowOnServer
 
EStatsPanelState m_eState = EStatsPanelState.INIT
 
bool m_bShowInDefaultState
 
float m_fTimeElapsed
 
int m_iRecords
 
float m_fValueToShow
 
float m_fValueRecorded
 
- Protected Attributes inherited from SCR_InfoDisplayExtended
bool m_bIsEnabled
 
string m_sInterfaceSettingName
 
SCR_PlayerController m_PlayerController
 
SCR_CharacterControllerComponent m_CharacterController
 
SCR_CharacterCameraHandlerComponent m_CameraHandler
 
MenuManager m_MenuManager
 
EventHandlerManagerComponent m_EventHandlerManager
 
SCR_EditorManagerEntity m_EditorManager
 
bool m_bAttachedToPlayerController
 
bool m_bInThirdPerson
 
bool m_bInADS
 
bool m_bIsUnconscious
 
bool m_bInPauseMenu
 
bool m_bInEditor
 
bool m_bCanShow
 
bool m_bIsEnabledInSettings = true
 
bool m_bShowInAllCameras = true
 
- Protected Attributes inherited from SCR_InfoDisplay
string m_sParentSlot
 
string m_sContentWidget
 
int m_iContentWidthAdjustment
 
int m_iContentHeightAdjustment
 
string m_sAdaptiveOpacityWidgetName
 
ref array< ref SCR_InfoDisplayHandlerm_aHandlers
 
bool m_bShown
 
Widget m_wRoot
 
Widget m_wContent
 
Widget m_wSlot
 
SCR_HUDManagerComponent m_HUDManager
 
int m_iChildDisplays = 0
 
ref array< BaseInfoDisplaym_aChildDisplays = new array<BaseInfoDisplay>
 
SCR_InfoDisplay m_pParentDisplay
 
bool m_bRegistered = false
 
IEntity m_OwnerEntity
 
ref array< ref SCR_InfoDisplayHandlerm_aUpdatableHandlers = {}
 
ref SCR_InfoDisplayInvoker m_OnStart = new SCR_InfoDisplayInvoker()
 
ref SCR_InfoDisplayInvoker m_OnStop = new SCR_InfoDisplayInvoker()
 

Member Function Documentation

◆ DisplayStartDraw()

override void SCR_StatsPanelBase.DisplayStartDraw ( IEntity  owner)

◆ DisplayStartDrawInit()

override bool SCR_StatsPanelBase.DisplayStartDrawInit ( IEntity  owner)

Implements SCR_InfoDisplayExtended.

Implemented in SCR_StatsPanel_FPS.

◆ DisplayUpdate()

override void SCR_StatsPanelBase.DisplayUpdate ( IEntity  owner,
float  timeSlice 
)

◆ GetValue()

float SCR_StatsPanelBase.GetValue ( )
protected

◆ Update()

void SCR_StatsPanelBase.Update ( float  value)
protected

Member Data Documentation

◆ m_bShowInDefaultState

bool SCR_StatsPanelBase.m_bShowInDefaultState
protected

◆ m_bShowInSinglePlayer

bool SCR_StatsPanelBase.m_bShowInSinglePlayer
protected

◆ m_bShowOnServer

bool SCR_StatsPanelBase.m_bShowOnServer
protected

◆ m_eState

EStatsPanelState SCR_StatsPanelBase.m_eState = EStatsPanelState.INIT
protected

◆ m_eValueCalc

EStatsPanelEval SCR_StatsPanelBase.m_eValueCalc

◆ m_fTimeElapsed

float SCR_StatsPanelBase.m_fTimeElapsed
protected

◆ m_fValueRecorded

float SCR_StatsPanelBase.m_fValueRecorded
protected

◆ m_fValueToShow

float SCR_StatsPanelBase.m_fValueToShow
protected

◆ m_iRecords

int SCR_StatsPanelBase.m_iRecords
protected

◆ m_iUpdateInterval

int SCR_StatsPanelBase.m_iUpdateInterval
protected

◆ m_iValueError

int SCR_StatsPanelBase.m_iValueError
protected

◆ m_iValueMax

int SCR_StatsPanelBase.m_iValueMax
protected

◆ m_iValueWarning

int SCR_StatsPanelBase.m_iValueWarning
protected

◆ m_RplIdentity

RplIdentity SCR_StatsPanelBase.m_RplIdentity

◆ m_sFormattingPattern

string SCR_StatsPanelBase.m_sFormattingPattern
protected

◆ m_sIconError

string SCR_StatsPanelBase.m_sIconError
protected

◆ m_sIconOK

string SCR_StatsPanelBase.m_sIconOK
protected

◆ m_sIconWarning

string SCR_StatsPanelBase.m_sIconWarning
protected

◆ m_sLabel

string SCR_StatsPanelBase.m_sLabel
protected

◆ m_Widgets

ref SCR_StatsPanelWidgets SCR_StatsPanelBase.m_Widgets

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