12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- class HoldBreathSoundEventBase extends PlayerSoundEventBase
- {
- void HoldBreathSoundEventBase()
- {
- m_HasPriorityOverTypes = -1;
- }
-
- override bool HasHoldBreathException()
- {
- return true;
- }
- }
- class HoldBreathSoundEvent extends HoldBreathSoundEventBase
- {
- void HoldBreathSoundEvent()
- {
- m_Type = EPlayerSoundEventType.GENERAL;
- m_ID = EPlayerSoundEventID.HOLD_BREATH;
- m_SoundVoiceAnimEventClassID = 20;
- }
-
- override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
- {
- if (other_state_id == EPlayerSoundEventID.RELEASE_BREATH)
- {
- return false;
- }
- return true;
- }
- }
- class ExhaustedBreathSoundEvent extends HoldBreathSoundEventBase
- {
- void ExhaustedBreathSoundEvent()
- {
- m_Type = EPlayerSoundEventType.GENERAL;
- m_ID = EPlayerSoundEventID.EXHAUSTED_BREATH;
- m_SoundVoiceAnimEventClassID = 22;
- }
-
- override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
- {
- return false;
- }
- }
- class ReleaseBreathSoundEvent extends HoldBreathSoundEventBase
- {
- void ReleaseBreathSoundEvent()
- {
- m_Type = EPlayerSoundEventType.GENERAL;
- m_ID = EPlayerSoundEventID.RELEASE_BREATH;
- m_SoundVoiceAnimEventClassID = 21;
- }
-
- override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
- {
- if( other_state_id == EPlayerSoundEventID.HOLD_BREATH)
- {
- return false;
- }
- return true;
- }
- }
|