Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_CharacterBloodAttributeDynamicDescription Interface Reference

Holds logic when a dynamic description to show a description if value is set above or below the Unconscious level. More...

Inheritance diagram for SCR_CharacterBloodAttributeDynamicDescription:
[legend]

Public Member Functions

override void InitDynamicDescription (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi)
 Init the dynamic description.
 
override bool IsValid (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi)
 Check if conditions are valid to display the Dynamic description.
 
- Public Member Functions inherited from SCR_BaseAttributeDynamicDescription
void InitDynamicDescription (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi)
 Init the dynamic description.
 
bool IsValid (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi)
 Check if conditions are valid to display the Dynamic description.
 
void GetDescriptionData (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi, out SCR_EditorAttributeUIInfo uiInfo, out string param1=string.Empty, out string param2=string.Empty, out string param3=string.Empty)
 Init the dynamic description.
 

Protected Member Functions

bool IsUnconsciousnessEnabled ()
 

Protected Attributes

bool m_bLessOrEqualThan
 
bool m_bOnlyShowIfUnconsciousnessEnabled
 
SCR_AttributesManagerEditorComponent m_AttributeManager
 
bool m_bEntityUnconsciousnessPermitted = false
 
float m_fUnconsciousLevel
 
float m_fStartingValue
 
- Protected Attributes inherited from SCR_BaseAttributeDynamicDescription
ref SCR_EditorAttributeUIInfo m_DescriptionDisplayInfo
 
bool m_bEnabled
 

Detailed Description

Holds logic when a dynamic description to show a description if value is set above or below the Unconscious level.

Member Function Documentation

◆ InitDynamicDescription()

override void SCR_CharacterBloodAttributeDynamicDescription.InitDynamicDescription ( notnull SCR_BaseEditorAttribute  attribute,
notnull SCR_BaseEditorAttributeUIComponent  attributeUi 
)

Init the dynamic description.

Parameters
attributeAttribute linked to the desciption

Implements SCR_BaseAttributeDynamicDescription.

◆ IsUnconsciousnessEnabled()

bool SCR_CharacterBloodAttributeDynamicDescription.IsUnconsciousnessEnabled ( )
protected

◆ IsValid()

override bool SCR_CharacterBloodAttributeDynamicDescription.IsValid ( notnull SCR_BaseEditorAttribute  attribute,
notnull SCR_BaseEditorAttributeUIComponent  attributeUi 
)

Check if conditions are valid to display the Dynamic description.

Parameters
attributeAttribute linked to the desciption
Returns
true if valid

Implements SCR_BaseAttributeDynamicDescription.

Member Data Documentation

◆ m_AttributeManager

SCR_AttributesManagerEditorComponent SCR_CharacterBloodAttributeDynamicDescription.m_AttributeManager
protected

◆ m_bEntityUnconsciousnessPermitted

bool SCR_CharacterBloodAttributeDynamicDescription.m_bEntityUnconsciousnessPermitted = false
protected

◆ m_bLessOrEqualThan

bool SCR_CharacterBloodAttributeDynamicDescription.m_bLessOrEqualThan
protected

◆ m_bOnlyShowIfUnconsciousnessEnabled

bool SCR_CharacterBloodAttributeDynamicDescription.m_bOnlyShowIfUnconsciousnessEnabled
protected

◆ m_fStartingValue

float SCR_CharacterBloodAttributeDynamicDescription.m_fStartingValue
protected

◆ m_fUnconsciousLevel

float SCR_CharacterBloodAttributeDynamicDescription.m_fUnconsciousLevel
protected

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