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

Public Member Functions

override void OnStartDraw (IEntity owner)
 
override void UpdateValues (IEntity owner, float timeSlice)
 
- 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)
 

Static Public Member Functions

static sealed StanceIndicator GetInstance ()
 

Static Public Attributes

const string STANCE_STAND = "{9DF327726AD6B515}UI/Textures/StanceIndicator/stance_stand.edds"
 
const string STANCE_CROUCH = "{90ED76A233697F90}UI/Textures/StanceIndicator/stance_crouch.edds"
 
const string STANCE_PRONE = "{A7117D97ED663EC4}UI/Textures/StanceIndicator/stance_prone.edds"
 

Static Protected Attributes

static StanceIndicator s_Instance = null
 

Additional Inherited Members

- Public Attributes inherited from SCR_InfoDisplay
ResourceName m_LayoutPath
 
EHudLayers m_eLayer
 
int m_iOverrideZOrder
 
- 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 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

◆ GetInstance()

static sealed StanceIndicator StanceIndicator.GetInstance ( )
static

◆ OnStartDraw()

override void StanceIndicator.OnStartDraw ( IEntity  owner)

Implements SCR_InfoDisplay.

◆ UpdateValues()

override void StanceIndicator.UpdateValues ( IEntity  owner,
float  timeSlice 
)

Implements SCR_InfoDisplay.

Member Data Documentation

◆ s_Instance

StanceIndicator StanceIndicator.s_Instance = null
staticprotected

◆ STANCE_CROUCH

const string StanceIndicator.STANCE_CROUCH = "{90ED76A233697F90}UI/Textures/StanceIndicator/stance_crouch.edds"
static

◆ STANCE_PRONE

const string StanceIndicator.STANCE_PRONE = "{A7117D97ED663EC4}UI/Textures/StanceIndicator/stance_prone.edds"
static

◆ STANCE_STAND

const string StanceIndicator.STANCE_STAND = "{9DF327726AD6B515}UI/Textures/StanceIndicator/stance_stand.edds"
static

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