DayZ 1.24
Loading...
Searching...
No Matches
StaminaEvents.c File Reference

Go to the source code of this file.

Classes

class  PlayerSoundEventBase
 
class  StaminaSoundEventBase
 
class  StaminaLowFilterBase
 

Functions

class StaminaSoundEventBase extends PlayerSoundEventBase StaminaDownLight ()
 
void StaminaSoundEventBase ()
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
override void OnPlay (PlayerBase player)
 
class StaminaDownHeavy extends StaminaSoundEventBase StaminaUpHeavy ()
 
void StaminaDownHeavy ()
 
class StaminaUpLight extends StaminaSoundEventBase StaminaUpEnd ()
 
void StaminaUpLight ()
 
class StaminaNormalDummy extends StaminaSoundEventBase StaminaLowFilterBase ()
 
void StaminaNormalDummy ()
 
class StaminaLowFilterUpper extends StaminaLowFilterBase StaminaLowFilterMid ()
 
void StaminaLowFilterUpper ()
 

Variables

const int MAX_VOLUME = 4
 

Function Documentation

◆ HasPriorityOverCurrent()

override bool StaminaDownLight::HasPriorityOverCurrent ( PlayerBase player,
EPlayerSoundEventID other_state_id,
EPlayerSoundEventType type_other )

Definition at line 56 of file StaminaEvents.c.

56{
57 void StaminaDownHeavy()
58 {
59 m_ID = EPlayerSoundEventID.STAMINA_DOWN_HEAVY;
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
void StaminaDownHeavy()

◆ OnPlay()

override void StaminaDownLight::OnPlay ( PlayerBase player)

!! beware of the ifdef above , most likely you want to put your code above it, otherwise it might not get executed !!!

Definition at line 61 of file StaminaEvents.c.

65{
66 void StaminaUpHeavy()
67 {
68 m_ID = EPlayerSoundEventID.STAMINA_UP_HEAVY;
70 }
71}
72
74{
75 void StaminaUpLight()
76 {
77 m_ID = EPlayerSoundEventID.STAMINA_UP_LIGHT;
79 }
80}
81
83{
84 void StaminaUpEnd()
85 {
86 m_ID = EPlayerSoundEventID.STAMINA_UP_END;
88 }
int m_SoundVoiceAnimEventClassID
Definition SoundEvents.c:83
class StaminaDownHeavy extends StaminaSoundEventBase StaminaUpHeavy()
class StaminaUpLight extends StaminaSoundEventBase StaminaUpEnd()
void StaminaUpLight()

◆ StaminaDownHeavy()

void StaminaUpHeavy::StaminaDownHeavy ( )

Definition at line 67 of file StaminaEvents.c.

67 {
68 m_ID = EPlayerSoundEventID.STAMINA_UP_HEAVY;
70 }
71}

References m_ID, and m_SoundVoiceAnimEventClassID.

Referenced by PlayerSoundEventHandler().

◆ StaminaDownLight()

Definition at line 1 of file StaminaEvents.c.

49 {
50 m_ID = EPlayerSoundEventID.STAMINA_DOWN_LIGHT;
52 }

Referenced by PlayerSoundEventHandler().

◆ StaminaLowFilterBase()

Definition at line 96 of file StaminaEvents.c.

113 {
115 }
bool m_ProcessPlaybackEvent

◆ StaminaLowFilterMid()

Definition at line 118 of file StaminaEvents.c.

130 {
131 m_ID = EPlayerSoundEventID.STAMINA_LOW_FILTER_MID;
133 }

Referenced by PlayerSoundEventHandler().

◆ StaminaLowFilterUpper()

void StaminaLowFilterMid::StaminaLowFilterUpper ( )

Definition at line 130 of file StaminaEvents.c.

130 {
131 m_ID = EPlayerSoundEventID.STAMINA_LOW_FILTER_MID;
133 }
134}

References m_ID, and m_SoundVoiceAnimEventClassID.

Referenced by PlayerSoundEventHandler().

◆ StaminaNormalDummy()

void StaminaLowFilterBase::StaminaNormalDummy ( )

Definition at line 113 of file StaminaEvents.c.

113 {
115 }
116}
117
119{
void StaminaLowFilterUpper()

References m_ProcessPlaybackEvent.

Referenced by PlayerSoundEventHandler().

◆ StaminaSoundEventBase()

void StaminaDownLight::StaminaSoundEventBase ( )

Definition at line 50 of file StaminaEvents.c.

◆ StaminaUpEnd()

Definition at line 73 of file StaminaEvents.c.

85 {
86 m_ID = EPlayerSoundEventID.STAMINA_UP_END;
88 }

Referenced by PlayerSoundEventHandler().

◆ StaminaUpHeavy()

Definition at line 55 of file StaminaEvents.c.

67 {
68 m_ID = EPlayerSoundEventID.STAMINA_UP_HEAVY;
70 }

Referenced by PlayerSoundEventHandler().

◆ StaminaUpLight()

void StaminaUpEnd::StaminaUpLight ( )

Definition at line 85 of file StaminaEvents.c.

85 {
86 m_ID = EPlayerSoundEventID.STAMINA_UP_END;
88 }
89

References m_ID, and m_SoundVoiceAnimEventClassID.

Referenced by PlayerSoundEventHandler().

Variable Documentation

◆ MAX_VOLUME

const int MAX_VOLUME = 4

Definition at line 49 of file StaminaEvents.c.

Referenced by PlayerSoundEventBase::OnPlay().