Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CharacterStaminaComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted/Character", description: "Stamina component for character.", icon: HYBRID_COMPONENT_ICON)]
3 {
4 }
5 
6 class SCR_CharacterStaminaComponent : CharacterStaminaComponent
7 {
8 }
9 
11 class StaminaEventParams
12 {
13 }
14 
16 class MetabolismEventParams : StaminaEventParams
17 {
18  [Attribute("0", UIWidgets.EditBox, "Defines how many calories will be added/subtracted when triggering OnStaminaDrain event.")]
19  float m_fCaloriesDrain;
20 
21  [Attribute("0", UIWidgets.EditBox, "Defines how much hydration will be added/subtracted when triggering OnStaminaDrain event.")]
22  float m_fHydrationDrain;
23 
24  [Attribute("0", UIWidgets.EditBox, "Defines how much energy will be added/subtracted when triggering OnStaminaDrain event.")]
25  float m_fEnergyDrain;
26 }
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
MetabolismEventParams
Definition: SCR_CharacterStaminaComponent.c:16
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_CharacterStaminaComponentClass
Definition: SCR_CharacterStaminaComponent.c:2
BaseContainerProps
SCR_CharacterStaminaComponentClass CharacterStaminaComponentClass BaseContainerProps()] class StaminaEventParams
Definition: SCR_CharacterStaminaComponent.c:10
CharacterStaminaComponentClass
Definition: CharacterStaminaComponent.c:12
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180