Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
playersoundeventbase.c File Reference

Go to the source code of this file.

Enumerations

enum  EPlayerSoundEventType {
  GENERAL = 0x00000001, MELEE = 0x00000002, STAMINA = 0x00000004, DAMAGE = 0x00000008,
  DUMMY = 0x00000010, INJURY = 0x00000020, DROWNING = 0x00000040
}
 

Functions

bool IsDummy ()
 
EPlayerSoundEventType GetPriorityOverTypes ()
 
bool HasHoldBreathException ()
 
void PlayerSoundEventBase ()
 
void ~PlayerSoundEventBase ()
 
int GetSoundVoiceAnimEventClassID ()
 
bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
bool IsFinished ()
 
bool IsDummyFinished ()
 
void OnTick (float delta_time)
 
bool CanPlay (PlayerBase player)
 
void Init (PlayerBase player)
 
void InitEx (PlayerBase player, int param)
 
void OnEnd ()
 
void SendEvent (float time)
 
void OnInterupt ()
 
override void OnPlay (PlayerBase player)
 
override bool Play ()
 

Variables

enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER = 0x00000001
 
enum EPlayerSoundEventType HIGHEST_PRIORITY = 0x00000002
 
enum EPlayerSoundEventType ENUM_COUNT = 0x00000002
 
enum EPlayerSoundEventType m_Player = 0x00000002
 
float m_DummySoundLength
 
float m_DummyStartTime
 
bool m_IsDummyType
 
bool m_ProcessPlaybackEvent
 
float m_PlayTime
 
ref HumanMovementState m_Hms = new HumanMovementState()
 
EPlayerSoundEventType m_HasPriorityOverTypes
 

Enumeration Type Documentation

◆ EPlayerSoundEventType

Enumerator
GENERAL 
MELEE 
STAMINA 
DAMAGE 
DUMMY 
INJURY 
DROWNING 

Definition at line 1 of file playersoundeventbase.c.

Function Documentation

◆ CanPlay()

bool CanPlay ( PlayerBase  player)

Definition at line 115 of file playersoundeventbase.c.

◆ GetPriorityOverTypes()

EPlayerSoundEventType GetPriorityOverTypes ( )

Definition at line 47 of file playersoundeventbase.c.

◆ GetSoundVoiceAnimEventClassID()

int GetSoundVoiceAnimEventClassID ( )

Definition at line 69 of file playersoundeventbase.c.

◆ HasHoldBreathException()

bool HasHoldBreathException ( )

Definition at line 53 of file playersoundeventbase.c.

◆ HasPriorityOverCurrent()

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

Definition at line 74 of file playersoundeventbase.c.

◆ Init()

void Init ( PlayerBase  player)

Definition at line 130 of file playersoundeventbase.c.

◆ InitEx()

void InitEx ( PlayerBase  player,
int  param 
)

Definition at line 135 of file playersoundeventbase.c.

◆ IsDummy()

bool IsDummy ( )

Definition at line 42 of file playersoundeventbase.c.

◆ IsDummyFinished()

bool IsDummyFinished ( )

Definition at line 91 of file playersoundeventbase.c.

◆ IsFinished()

bool IsFinished ( )

Definition at line 79 of file playersoundeventbase.c.

◆ OnEnd()

void OnEnd ( )

Definition at line 145 of file playersoundeventbase.c.

◆ OnInterupt()

void OnInterupt ( )

Definition at line 161 of file playersoundeventbase.c.

◆ OnPlay()

override void 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 166 of file playersoundeventbase.c.

◆ OnTick()

void OnTick ( float  delta_time)

Definition at line 97 of file playersoundeventbase.c.

◆ Play()

override bool Play ( )

Definition at line 174 of file playersoundeventbase.c.

◆ PlayerSoundEventBase()

Definition at line 58 of file playersoundeventbase.c.

◆ SendEvent()

void SendEvent ( float  time)

Definition at line 151 of file playersoundeventbase.c.

◆ ~PlayerSoundEventBase()

Definition at line 63 of file playersoundeventbase.c.

Variable Documentation

◆ ENUM_COUNT

enum EPlayerSoundEventType ENUM_COUNT = 0x00000002

◆ HIGHEST_PRIORITY

enum EPlayerSoundEventType HIGHEST_PRIORITY = 0x00000002

◆ m_DummySoundLength

float m_DummySoundLength

Definition at line 33 of file playersoundeventbase.c.

◆ m_DummyStartTime

float m_DummyStartTime

Definition at line 34 of file playersoundeventbase.c.

◆ m_HasPriorityOverTypes

EPlayerSoundEventType m_HasPriorityOverTypes

Definition at line 40 of file playersoundeventbase.c.

◆ m_Hms

Definition at line 39 of file playersoundeventbase.c.

◆ m_IsDummyType

bool m_IsDummyType

Definition at line 35 of file playersoundeventbase.c.

◆ m_Player

enum EPlayerSoundEventType m_Player = 0x00000002

◆ m_PlayTime

float m_PlayTime

Definition at line 37 of file playersoundeventbase.c.

◆ m_ProcessPlaybackEvent

bool m_ProcessPlaybackEvent

Definition at line 36 of file playersoundeventbase.c.

◆ SKIP_CONTROLLED_PLAYER

enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER = 0x00000001