PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PlayerSoundEventBase.c File Reference

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 

Function Documentation

◆ CanPlay()

◆ GetPriorityOverTypes()

EPlayerSoundEventType GetPriorityOverTypes ( )

◆ GetSoundVoiceAnimEventClassID()

int GetSoundVoiceAnimEventClassID ( )

◆ HasHoldBreathException()

bool HasHoldBreathException ( )

◆ HasPriorityOverCurrent()

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

◆ Init()

void Init ( PlayerBase  player)

References InitEx().

◆ InitEx()

void InitEx ( PlayerBase  player,
int  param 
)

References m_HasPriorityOverTypes, m_Param, and m_Player.

Referenced by Init().

◆ IsDummy()

bool IsDummy ( )

References m_IsDummyType.

Referenced by IsFinished(), and Play().

◆ IsDummyFinished()

bool IsDummyFinished ( )

◆ IsFinished()

bool IsFinished ( )

◆ OnEnd()

void OnEnd ( )

◆ OnInterupt()

void OnInterupt ( )

Referenced by Play().

◆ 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 !!!

◆ OnTick()

◆ PlayerSoundEventBase()

References m_Type.

◆ SendEvent()

void SendEvent ( float  time)

◆ ~PlayerSoundEventBase()

Variable Documentation

◆ ENUM_COUNT

enum EPlayerSoundEventType ENUM_COUNT = 0x00000002

◆ HIGHEST_PRIORITY

enum EPlayerSoundEventType HIGHEST_PRIORITY = 0x00000002

◆ m_DummySoundLength

◆ m_DummyStartTime

float m_DummyStartTime

Referenced by IsDummyFinished(), and Play().

◆ m_HasPriorityOverTypes

◆ m_Hms

Referenced by CanPlay().

◆ m_IsDummyType

bool m_IsDummyType

◆ m_Player

enum EPlayerSoundEventType m_Player = 0x00000002

◆ m_PlayTime

float m_PlayTime

Referenced by OnTick(), and SendEvent().

◆ m_ProcessPlaybackEvent

bool m_ProcessPlaybackEvent

Referenced by OnEnd(), OnTick(), and StaminaNormalDummy().

◆ SKIP_CONTROLLED_PLAYER

enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER = 0x00000001