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

Protected Member Functions

override void Init (Widget w, SCR_BaseEditorAttribute attribute)
float GetUnconsciousLevel ()
override void SetSliderSettings (SCR_BaseEditorAttributeVar var, SCR_BaseEditorAttributeEntrySlider sliderData)
override void SetVariableToDefaultValue (SCR_BaseEditorAttributeVar var)
override void SetFromVar (SCR_BaseEditorAttributeVar var)
override bool OnChangeInternal (Widget w, int x, int y, bool finished)
void UpdateBloodSlider ()

Protected Attributes

string m_sUnconsciousBarName
string m_sUnconsciousBarTopName
string m_sUnconsciousFillerRightName
float m_iUnconsciousBarTopSize
float m_fUnconsciousLevel
Widget m_UnconsciousBar
Widget m_UnconsciousBarTop
Widget m_UnconsciousFillerRight

Detailed Description

Definition at line 1 of file SCR_SliderBloodAttributeComponent.c.

Member Function Documentation

◆ GetUnconsciousLevel()

float SCR_SliderBloodAttributeComponent::GetUnconsciousLevel ( )
inlineprotected

Get what percentage the blood must be for the entity to go unconscious

Returns
Percentage of blood for the entity to go unconscious

Definition at line 47 of file SCR_SliderBloodAttributeComponent.c.

◆ Init()

override void SCR_SliderBloodAttributeComponent::Init ( Widget w,
SCR_BaseEditorAttribute attribute )
inlineprotected

Definition at line 21 of file SCR_SliderBloodAttributeComponent.c.

◆ OnChangeInternal()

override bool SCR_SliderBloodAttributeComponent::OnChangeInternal ( Widget w,
int x,
int y,
bool finished )
inlineprotected

Definition at line 71 of file SCR_SliderBloodAttributeComponent.c.

◆ SetFromVar()

override void SCR_SliderBloodAttributeComponent::SetFromVar ( SCR_BaseEditorAttributeVar var)
inlineprotected

Definition at line 65 of file SCR_SliderBloodAttributeComponent.c.

◆ SetSliderSettings()

override void SCR_SliderBloodAttributeComponent::SetSliderSettings ( SCR_BaseEditorAttributeVar var,
SCR_BaseEditorAttributeEntrySlider sliderData )
inlineprotected

Definition at line 52 of file SCR_SliderBloodAttributeComponent.c.

◆ SetVariableToDefaultValue()

override void SCR_SliderBloodAttributeComponent::SetVariableToDefaultValue ( SCR_BaseEditorAttributeVar var)
inlineprotected

Definition at line 59 of file SCR_SliderBloodAttributeComponent.c.

◆ UpdateBloodSlider()

void SCR_SliderBloodAttributeComponent::UpdateBloodSlider ( )
inlineprotected

Definition at line 78 of file SCR_SliderBloodAttributeComponent.c.

Member Data Documentation

◆ m_fUnconsciousLevel

float SCR_SliderBloodAttributeComponent::m_fUnconsciousLevel
protected

Definition at line 15 of file SCR_SliderBloodAttributeComponent.c.

◆ m_iUnconsciousBarTopSize

float SCR_SliderBloodAttributeComponent::m_iUnconsciousBarTopSize
protected

Definition at line 13 of file SCR_SliderBloodAttributeComponent.c.

◆ m_sUnconsciousBarName

string SCR_SliderBloodAttributeComponent::m_sUnconsciousBarName
protected

Definition at line 4 of file SCR_SliderBloodAttributeComponent.c.

◆ m_sUnconsciousBarTopName

string SCR_SliderBloodAttributeComponent::m_sUnconsciousBarTopName
protected

Definition at line 7 of file SCR_SliderBloodAttributeComponent.c.

◆ m_sUnconsciousFillerRightName

string SCR_SliderBloodAttributeComponent::m_sUnconsciousFillerRightName
protected

Definition at line 10 of file SCR_SliderBloodAttributeComponent.c.

◆ m_UnconsciousBar

Widget SCR_SliderBloodAttributeComponent::m_UnconsciousBar
protected

Definition at line 17 of file SCR_SliderBloodAttributeComponent.c.

◆ m_UnconsciousBarTop

Widget SCR_SliderBloodAttributeComponent::m_UnconsciousBarTop
protected

Definition at line 18 of file SCR_SliderBloodAttributeComponent.c.

◆ m_UnconsciousFillerRight

Widget SCR_SliderBloodAttributeComponent::m_UnconsciousFillerRight
protected

Definition at line 19 of file SCR_SliderBloodAttributeComponent.c.


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