heatcomfortevents.c 776 B

1234567891011121314151617181920212223242526272829303132
  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 HotSoundEvent extends HeatComfortEventsBase
  22. {
  23. void HotSoundEvent()
  24. {
  25. m_ID = EPlayerSoundEventID.HOT;
  26. m_SoundVoiceAnimEventClassID = 30;
  27. }
  28. }