heatcomfortevents.c 962 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. class HeatComfortEventsBase extends PlayerSoundEventBase
  2. {
  3. void HeatComfortEventsBase()
  4. {
  5. m_HasPriorityOverTypes = EPlayerSoundEventType.DUMMY | EPlayerSoundEventType.INJURY | EPlayerSoundEventType.STAMINA | EPlayerSoundEventType.GENERAL;//-1 for all
  6. m_Type = EPlayerSoundEventType.GENERAL;
  7. }
  8. override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id,EPlayerSoundEventType type_other )
  9. {
  10. return true;
  11. }
  12. }
  13. class FreezingSoundEvent extends HeatComfortEventsBase
  14. {
  15. void FreezingSoundEvent()
  16. {
  17. m_ID = EPlayerSoundEventID.FREEZING;
  18. m_SoundVoiceAnimEventClassID = 11;
  19. }
  20. }
  21. class RattlingTeethSoundEvent extends HeatComfortEventsBase
  22. {
  23. void RattlingTeethSoundEvent()
  24. {
  25. m_ID = EPlayerSoundEventID.RATTLING_TEETH;
  26. m_SoundVoiceAnimEventClassID = 906;
  27. }
  28. }
  29. class HotSoundEvent extends HeatComfortEventsBase
  30. {
  31. void HotSoundEvent()
  32. {
  33. m_ID = EPlayerSoundEventID.HOT;
  34. m_SoundVoiceAnimEventClassID = 30;
  35. }
  36. }