DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл HoldBreathEvents.c

См. исходные тексты.

Структуры данных

class  PlayerSoundEventBase
 
class  HoldBreathSoundEventBase
 

Функции

class HoldBreathSoundEventBase extends PlayerSoundEventBase HoldBreathSoundEvent ()
 
void HoldBreathSoundEventBase ()
 
override bool HasHoldBreathException ()
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
class ExhaustedBreathSoundEvent extends HoldBreathSoundEventBase ReleaseBreathSoundEvent ()
 
void ExhaustedBreathSoundEvent ()
 

Функции

◆ ExhaustedBreathSoundEvent()

void ExhaustedBreathSoundEvent ( )
53 {
55 m_ID = EPlayerSoundEventID.RELEASE_BREATH;
57 }
58
class DynamicMusicLocationTypes m_Type
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
EPlayerSoundEventType
Definition PlayerSoundEventBase.c:2
EPlayerSoundEventID
Definition PlayerSoundEventHandler.c:2
int m_SoundVoiceAnimEventClassID
Definition SoundEvents.c:89

Перекрестные ссылки m_ID, m_SoundVoiceAnimEventClassID и m_Type.

Используется в PlayerSoundEventHandler().

◆ HasHoldBreathException()

override bool HasHoldBreathException ( )
26 {
27 if (other_state_id == EPlayerSoundEventID.RELEASE_BREATH)
Definition EntityAI.c:95

◆ HasPriorityOverCurrent()

override bool HasPriorityOverCurrent ( PlayerBase player,
EPlayerSoundEventID other_state_id,
EPlayerSoundEventType type_other )
26 {
27 if (other_state_id == EPlayerSoundEventID.RELEASE_BREATH)
28 {
29 return false;
30 }
31 return true;
32 }

◆ HoldBreathSoundEvent()

19 {
21 m_ID = EPlayerSoundEventID.HOLD_BREATH;
23 }

Используется в PlayerSoundEventHandler().

◆ HoldBreathSoundEventBase()

void HoldBreathSoundEventBase ( )
19 {
21 m_ID = EPlayerSoundEventID.HOLD_BREATH;

Перекрестные ссылки m_ID, m_SoundVoiceAnimEventClassID и m_Type.

◆ ReleaseBreathSoundEvent()

53 {
55 m_ID = EPlayerSoundEventID.RELEASE_BREATH;
57 }

Используется в PlayerSoundEventHandler().