12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- class SymptomSoundEventBase extends PlayerSoundEventBase
- {
- void SymptomSoundEventBase()
- {
- m_Type = EPlayerSoundEventType.GENERAL;
- m_HasPriorityOverTypes = -1;
- }
-
- override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
- {
- return true;
- }
- }
- class CoughSoundEvent extends SymptomSoundEventBase
- {
- void CoughSoundEvent()
- {
- m_ID = EPlayerSoundEventID.SYMPTOM_COUGH;
- m_SoundVoiceAnimEventClassID = 8;
- }
- }
- class LaugherSoundEvent extends SymptomSoundEventBase
- {
- void LaugherSoundEvent()
- {
- m_ID = EPlayerSoundEventID.SYMPTOM_LAUGHTER;
- m_SoundVoiceAnimEventClassID = 10;
- }
- }
- class SneezeSoundEvent extends SymptomSoundEventBase
- {
- void SneezeSoundEvent()
- {
- m_ID = EPlayerSoundEventID.SYMPTOM_SNEEZE;
- m_SoundVoiceAnimEventClassID = 9;
- }
- }
- class GaspSoundEvent extends SymptomSoundEventBase
- {
- void GaspSoundEvent()
- {
- m_ID = EPlayerSoundEventID.SYMPTOM_GASP;
- m_SoundVoiceAnimEventClassID = 904;
- }
- }
- class FatigueSoundEvent extends SymptomSoundEventBase
- {
- void FatigueSoundEvent()
- {
- m_ID = EPlayerSoundEventID.SYMPTOM_FATIGUE;
- m_SoundVoiceAnimEventClassID = 2;
- }
-
- override void OnPlay(PlayerBase player)
- {
- super.OnPlay(player);
- }
-
- }
|