Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
CharacterStaminaComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
16 class CharacterStaminaComponent: BaseStaminaComponent
17 {
18  /*void SCR_OnBreathStateChanged(float breathValue)
19  SCR_CALLBACK("protected void OnBreathStateChanged(float breathValue)");*/
20  /* EXAMPLE
21  class SCR_CharacterStaminaComp : CharacterStaminaComponent
22  {
23  override event void OnStaminaDrain(float pDrain)
24  {
25  Print("stamina drained");
26  }
27  }
28  */
29 
35  proto external float GetBreathProgress();
40  proto external float GetBreathFrequency();
45  proto external float GetBreathMagnitude();
50  proto external void AddStamina(float pStamina);
51 
52  // callbacks
53 
58  event void OnStaminaDrain(float pDrain);
59 }
60 
GetBreathFrequency
proto external float GetBreathFrequency()
GetBreathMagnitude
proto external float GetBreathMagnitude()
OnStaminaDrain
event void OnStaminaDrain(float pDrain)
CharacterStaminaComponentClass
Definition: CharacterStaminaComponent.c:12
BaseStaminaComponentClass
Definition: BaseStaminaComponent.c:12
AddStamina
proto external void AddStamina(float pStamina)
GetBreathProgress
CharacterStaminaComponentClass BaseStaminaComponentClass GetBreathProgress()