symptomevents.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. class SymptomSoundEventBase extends PlayerSoundEventBase
  2. {
  3. void SymptomSoundEventBase()
  4. {
  5. m_Type = EPlayerSoundEventType.GENERAL;
  6. m_HasPriorityOverTypes = -1;
  7. }
  8. override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
  9. {
  10. return true;
  11. }
  12. }
  13. class CoughSoundEvent extends SymptomSoundEventBase
  14. {
  15. void CoughSoundEvent()
  16. {
  17. m_ID = EPlayerSoundEventID.SYMPTOM_COUGH;
  18. m_SoundVoiceAnimEventClassID = 8;
  19. }
  20. }
  21. class LaugherSoundEvent extends SymptomSoundEventBase
  22. {
  23. void LaugherSoundEvent()
  24. {
  25. m_ID = EPlayerSoundEventID.SYMPTOM_LAUGHTER;
  26. m_SoundVoiceAnimEventClassID = 10;
  27. }
  28. }
  29. class SneezeSoundEvent extends SymptomSoundEventBase
  30. {
  31. void SneezeSoundEvent()
  32. {
  33. m_ID = EPlayerSoundEventID.SYMPTOM_SNEEZE;
  34. m_SoundVoiceAnimEventClassID = 9;
  35. }
  36. }
  37. class GaspSoundEvent extends SymptomSoundEventBase
  38. {
  39. void GaspSoundEvent()
  40. {
  41. m_ID = EPlayerSoundEventID.SYMPTOM_GASP;
  42. m_SoundVoiceAnimEventClassID = 904;
  43. }
  44. }
  45. class FatigueSoundEvent extends SymptomSoundEventBase
  46. {
  47. void FatigueSoundEvent()
  48. {
  49. m_ID = EPlayerSoundEventID.SYMPTOM_FATIGUE;
  50. m_SoundVoiceAnimEventClassID = 2;
  51. }
  52. override void OnPlay(PlayerBase player)
  53. {
  54. super.OnPlay(player);
  55. }
  56. }