DIFF

class HeatComfortAnimHandlerSource

Constructors 1

void HeatComfortAnimHandler(PlayerBase player)
References m_Player
Referenced by PlayerBase.Init()

Constants 9

const float TICK_INTERVAL = 2
Referenced by Update()
const float TIME_INTERVAL_HC_MINUS_LOW_MIN = 12

Freezing and rattle symptoms interval minimum, lerped according to heat confort

const float TIME_INTERVAL_HC_MINUS_HIGH_MIN = 25
const float TIME_INTERVAL_HC_MINUS_LOW_MAX = 20

Interval maximum, lerped according to heat confort

const float TIME_INTERVAL_HC_MINUS_HIGH_MAX = 40
const float TIME_INTERVAL_HC_PLUS_LOW_MIN = 12

Ditto for heat symptoms

Referenced by ProcessHot()
const float TIME_INTERVAL_HC_PLUS_HIGH_MIN = 25
Referenced by ProcessHot()
const float TIME_INTERVAL_HC_PLUS_LOW_MAX = 20
Referenced by ProcessHot()
const float TIME_INTERVAL_HC_PLUS_HIGH_MAX = 40
Referenced by ProcessHot()

Members 9

float m_TimeSinceLastTick
Referenced by Update()
float m_ProcessTimeAccuFreeze
Referenced by Process(), and ProcessFreeze()
float m_ProcessTimeAccuFreezeRattle
Referenced by Process(), and ProcessFreezeRattle()
float m_ProcessTimeAccuHot
Referenced by Process(), and ProcessHot()
float m_EventTimeFreezeRattle = -1

-1 = symptom effect needs to be triggered for first time

Referenced by Process(), and ProcessFreezeRattle()
float m_EventTimeFreeze = -1
Referenced by Process(), and ProcessFreeze()
float m_EventTimeHot = -1
Referenced by Process(), and ProcessHot()
protected ref HumanMovementState m_MovementState = new HumanMovementState()

Methods 6

void Update(float delta_time, HumanMovementState hms)
References CGame.IsServer(), Process(), m_TimeSinceLastTick
Show 1 more, TICK_INTERVAL
private float GetEventTime(float hcValue, float threshold_low, float thresholdHigh, float lowMin, float highMin, float lowMax, float highMax)