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

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

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

class  PlayerSoundEventBase
 
class  DrowningSoundEventBase
 

Функции

class DrowningSoundEventBase extends PlayerSoundEventBase DrowningEvent1 ()
 
void DrowningEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 

Функции

◆ CanPlay()

override bool CanPlay ( PlayerBase player)
30{
31 void DrowningEvent2()
32 {

◆ DrowningEvent1()

23 {
24 m_ID = EPlayerSoundEventID.DROWNING_BREATH;
26 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
EPlayerSoundEventID
Definition PlayerSoundEventHandler.c:2
int m_SoundVoiceAnimEventClassID
Definition SoundEvents.c:89

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

◆ DrowningEvents()

void DrowningEvents ( )
23 {
24 m_ID = EPlayerSoundEventID.DROWNING_BREATH;
26 }
27}

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

◆ HasPriorityOverCurrent()

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