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

Go to the source code of this file.

Enumerations

enum  EInfectedSoundEventID {
  MINDSTATE_CALM_IDLE = 1, MINDSTATE_CALM_MOVE, MINDSTATE_DISTURBED_IDLE, MINDSTATE_CHASE_MOVE,
  MINDSTATE_ALERTED_IDLE, MINDSTATE_ALERTED_MOVE, ENUM_COUNT
}
 

Functions

void InfectedSoundEventHandler (ZombieBase pInfected)
 
override int GetCurrentStateEventID ()
 
override int GetCurrentStateEventType ()
 
void Stop ()
 
void SoftStop ()
 
bool IsPlaying ()
 
override bool PlayRequest (int id, bool sent_from_server=false)
 

Variables

enum EInfectedSoundEventID SOUND_EVENTS_MAX = EInfectedSoundEventID.ENUM_COUNT
 
ref InfectedSoundEventBase m_CurrentState
 
ZombieBase m_Infected
 

Enumeration Type Documentation

◆ EInfectedSoundEventID

Enumerator
MINDSTATE_CALM_IDLE 
MINDSTATE_CALM_MOVE 
MINDSTATE_DISTURBED_IDLE 
MINDSTATE_CHASE_MOVE 
MINDSTATE_ALERTED_IDLE 
MINDSTATE_ALERTED_MOVE 
ENUM_COUNT 

Definition at line 1 of file infectedsoundeventhandler.c.

Function Documentation

◆ GetCurrentStateEventID()

override int GetCurrentStateEventID ( )

Definition at line 38 of file infectedsoundeventhandler.c.

◆ GetCurrentStateEventType()

override int GetCurrentStateEventType ( )

Definition at line 47 of file infectedsoundeventhandler.c.

◆ InfectedSoundEventHandler()

void InfectedSoundEventHandler ( ZombieBase  pInfected)

Definition at line 21 of file infectedsoundeventhandler.c.

◆ IsPlaying()

bool IsPlaying ( )

Definition at line 72 of file infectedsoundeventhandler.c.

◆ PlayRequest()

override bool PlayRequest ( int  id,
bool  sent_from_server = false 
)

same sound event - skip

Definition at line 82 of file infectedsoundeventhandler.c.

◆ SoftStop()

void SoftStop ( )

Definition at line 64 of file infectedsoundeventhandler.c.

◆ Stop()

void Stop ( )

Definition at line 56 of file infectedsoundeventhandler.c.

Variable Documentation

◆ m_CurrentState

ref InfectedSoundEventBase m_CurrentState

Definition at line 18 of file infectedsoundeventhandler.c.

◆ m_Infected

ZombieBase m_Infected

Definition at line 19 of file infectedsoundeventhandler.c.

◆ SOUND_EVENTS_MAX