Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
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 STOP_PLAYBACK = 0x00000004
enum EPlayerSoundEventType ENUM_COUNT = 0x00000004
enum EPlayerSoundEventType m_Player = 0x00000004
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 116 of file playersoundeventbase.c.

◆ GetPriorityOverTypes()

EPlayerSoundEventType GetPriorityOverTypes ( )

Definition at line 48 of file playersoundeventbase.c.

◆ GetSoundVoiceAnimEventClassID()

int GetSoundVoiceAnimEventClassID ( )

Definition at line 70 of file playersoundeventbase.c.

◆ HasHoldBreathException()

bool HasHoldBreathException ( )

Definition at line 54 of file playersoundeventbase.c.

◆ HasPriorityOverCurrent()

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

Definition at line 75 of file playersoundeventbase.c.

◆ Init()

void Init ( PlayerBase player)

Definition at line 131 of file playersoundeventbase.c.

◆ InitEx()

void InitEx ( PlayerBase player,
int param )

Definition at line 136 of file playersoundeventbase.c.

◆ IsDummy()

bool IsDummy ( )

Definition at line 43 of file playersoundeventbase.c.

◆ IsDummyFinished()

bool IsDummyFinished ( )

Definition at line 92 of file playersoundeventbase.c.

◆ IsFinished()

bool IsFinished ( )

Definition at line 80 of file playersoundeventbase.c.

◆ OnEnd()

void OnEnd ( )

Definition at line 146 of file playersoundeventbase.c.

◆ OnInterupt()

void OnInterupt ( )

Definition at line 162 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 167 of file playersoundeventbase.c.

◆ OnTick()

void OnTick ( float delta_time)

Definition at line 98 of file playersoundeventbase.c.

◆ PlayerSoundEventBase()

void PlayerSoundEventBase ( )

Definition at line 59 of file playersoundeventbase.c.

◆ SendEvent()

void SendEvent ( float time)

Definition at line 152 of file playersoundeventbase.c.

◆ ~PlayerSoundEventBase()

Definition at line 64 of file playersoundeventbase.c.

Variable Documentation

◆ ENUM_COUNT

enum EPlayerSoundEventType ENUM_COUNT = 0x00000004

◆ HIGHEST_PRIORITY

enum EPlayerSoundEventType HIGHEST_PRIORITY = 0x00000002

◆ m_DummySoundLength

float m_DummySoundLength

Definition at line 34 of file playersoundeventbase.c.

◆ m_DummyStartTime

float m_DummyStartTime

Definition at line 35 of file playersoundeventbase.c.

◆ m_HasPriorityOverTypes

EPlayerSoundEventType m_HasPriorityOverTypes

Definition at line 41 of file playersoundeventbase.c.

◆ m_Hms

ref HumanMovementState m_Hms = new HumanMovementState()

Definition at line 40 of file playersoundeventbase.c.

◆ m_IsDummyType

bool m_IsDummyType

Definition at line 36 of file playersoundeventbase.c.

◆ m_Player

enum EPlayerSoundEventType m_Player = 0x00000004

◆ m_PlayTime

float m_PlayTime

Definition at line 38 of file playersoundeventbase.c.

◆ m_ProcessPlaybackEvent

bool m_ProcessPlaybackEvent

Definition at line 37 of file playersoundeventbase.c.

◆ SKIP_CONTROLLED_PLAYER

enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER = 0x00000001

◆ STOP_PLAYBACK

enum EPlayerSoundEventType STOP_PLAYBACK = 0x00000004