|
Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the documentation of this file.
95 int index = state.GetSoundEventID();
96 m_AvailableStates[index] = state;
97 m_ConfigIDToScriptIDmapping.Insert(state.GetSoundVoiceAnimEventClassID(),index);
114 return m_ConfigIDToScriptIDmapping.Get(anim_id);
119 return m_AvailableStates[id].GetSoundEventType();
144 Error(
"EPlayerSoundEventID out of bounds");
148 if ( sent_from_server && (param & EPlayerSoundEventParam.SKIP_CONTROLLED_PLAYER) &&
m_Player.GetInstanceType() ==
DayZPlayerInstanceType.INSTANCETYPE_CLIENT )
153 if ( !requested_state.CanPlay(
m_Player) )
160 if (param & EPlayerSoundEventParam.HIGHEST_PRIORITY)
169 if ( (requested_state.GetPriorityOverTypes() & current_type) == 0 )
173 if (!requested_state.HasPriorityOverCurrent(
m_Player,
id, current_type) )
void StaminaNormalDummy()
const int SOUND_EVENTS_MAX
class ExhaustedBreathSoundEvent extends HoldBreathSoundEventBase ReleaseBreathSoundEvent()
void ExhaustedBreathSoundEvent()
class HoldBreathSoundEventBase extends PlayerSoundEventBase HoldBreathSoundEvent()
class StaminaDownHeavy extends StaminaSoundEventBase StaminaUpHeavy()
void Error(string err)
Messagebox with error message.
class DamageSoundEvents extends PlayerSoundEventBase DamageLightSoundEvent()
class SymptomSoundEventBase extends PlayerSoundEventBase CoughSoundEvent()
override int GetCurrentStateEventID()
class LaugherSoundEvent extends SymptomSoundEventBase SneezeSoundEvent()
override int GetCurrentStateEventType()
class JumpEventsBase extends PlayerSoundEventBase JumpSoundEvent()
@ STAMINA_LOW_FILTER_UPPER
class InjuryMediumSoundEvent extends InjurySoundEvents InjuryHeavySoundEvent()
void OnTick(float delta_time)
void PlayerSoundEventHandler(PlayerBase player)
class HeatComfortEventsBase extends PlayerSoundEventBase FreezingSoundEvent()
class StaminaUpLight extends StaminaSoundEventBase StaminaUpEnd()
class PickupHeavySoundEvent extends PlayerSoundEventBase ThirstSoundEvent()
void StaminaLowFilterUpper()
void RegisterState(PlayerSoundEventBase state)
override bool PlayRequestEx(EPlayerSoundEventID id, bool sent_from_server=false, int param=0)
class StaminaLowFilterUpper extends StaminaLowFilterBase StaminaLowFilterMid()
ref PlayerSoundEventBase m_CurrentState
enum EPlayerSoundEventID m_Player
int ConvertAnimIDtoEventID(int anim_id)
class MeleeAttackSoundEvents extends PlayerSoundEventBase MeleeAttackLightEvent()
void PickupHeavySoundEvent()
class DrowningSoundEventBase extends PlayerSoundEventBase DrowningEvent1()
class StaminaSoundEventBase extends PlayerSoundEventBase StaminaDownLight()
void InjuryMediumSoundEvent()
override bool PlayRequest(EPlayerSoundEventID id, bool sent_from_server=false)
@ STAMINA_LOW_FILTER_LOWER
class InjurySoundEvents extends PlayerSoundEventBase InjuryLightSoundEvent()
DayZPlayerInstanceType
defined in C++