![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| void | HeatComfortAnimHandler (PlayerBase player) |
| void | Process (float delta_time) |
| void | Update (float delta_time, HumanMovementState hms) |
Protected Attributes | |
| ref HumanMovementState | m_MovementState = new HumanMovementState() |
| const float | TIME_INTERVAL_HC_MINUS_HIGH_MAX = 40 |
| const float | TIME_INTERVAL_HC_MINUS_HIGH_MIN = 25 |
| const float | TIME_INTERVAL_HC_MINUS_LOW_MAX = 20 |
| const float | TIME_INTERVAL_HC_MINUS_LOW_MIN = 12 |
| const float | TIME_INTERVAL_HC_PLUS_HIGH_MAX = 40 |
| const float | TIME_INTERVAL_HC_PLUS_HIGH_MIN = 25 |
| const float | TIME_INTERVAL_HC_PLUS_LOW_MAX = 20 |
| const float | TIME_INTERVAL_HC_PLUS_LOW_MIN = 12 |
Private Member Functions | |
| float | GetEventTime (float hcValue, float threshold_low, float thresholdHigh, float lowMin, float highMin, float lowMax, float highMax) |
| void | ProcessFreeze (float hcValue) |
| void | ProcessFreezeRattle (float hcValue) |
| void | ProcessHot (float hcValue) |
Private Attributes | |
| float | m_EventTimeFreeze = -1 |
| float | m_EventTimeFreezeRattle = -1 |
| float | m_EventTimeHot = -1 |
| PlayerBase | m_Player |
| float | m_ProcessTimeAccuFreeze |
| float | m_ProcessTimeAccuFreezeRattle |
| float | m_ProcessTimeAccuHot |
| float | m_TimeSinceLastTick |
| const float | TICK_INTERVAL = 2 |
Definition at line 1 of file heatcomfortanimhandler.c.
|
inlineprotected |
Definition at line 30 of file heatcomfortanimhandler.c.
References m_Player.
|
inlineprivate |
Definition at line 119 of file heatcomfortanimhandler.c.
References Math::Clamp(), Math::InverseLerp(), Math::Lerp(), and Math::RandomFloatInclusive().
Referenced by ProcessFreeze(), ProcessFreezeRattle(), and ProcessHot().
|
inlineprotected |
Definition at line 48 of file heatcomfortanimhandler.c.
References Math::IsInRange(), m_EventTimeFreeze, m_EventTimeFreezeRattle, m_EventTimeHot, m_Player, m_ProcessTimeAccuFreeze, m_ProcessTimeAccuFreezeRattle, m_ProcessTimeAccuHot, ProcessFreeze(), ProcessFreezeRattle(), ProcessHot(), PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_WARNING, and PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_WARNING.
|
inlineprivate |
Definition at line 101 of file heatcomfortanimhandler.c.
References GetEventTime(), m_EventTimeFreeze, m_Player, m_ProcessTimeAccuFreeze, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_EMPTY, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_WARNING, TIME_INTERVAL_HC_MINUS_HIGH_MAX, TIME_INTERVAL_HC_MINUS_HIGH_MIN, TIME_INTERVAL_HC_MINUS_LOW_MAX, and TIME_INTERVAL_HC_MINUS_LOW_MIN.
Referenced by Process().
|
inlineprivate |
Definition at line 110 of file heatcomfortanimhandler.c.
References GetEventTime(), m_EventTimeFreezeRattle, m_Player, m_ProcessTimeAccuFreezeRattle, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL, TIME_INTERVAL_HC_MINUS_HIGH_MAX, TIME_INTERVAL_HC_MINUS_HIGH_MIN, TIME_INTERVAL_HC_MINUS_LOW_MAX, and TIME_INTERVAL_HC_MINUS_LOW_MIN.
Referenced by Process().
|
inlineprivate |
Definition at line 92 of file heatcomfortanimhandler.c.
References GetEventTime(), m_EventTimeHot, m_Player, m_ProcessTimeAccuHot, PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_EMPTY, PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_WARNING, TIME_INTERVAL_HC_PLUS_HIGH_MAX, TIME_INTERVAL_HC_PLUS_HIGH_MIN, TIME_INTERVAL_HC_PLUS_LOW_MAX, and TIME_INTERVAL_HC_PLUS_LOW_MIN.
Referenced by Process().
|
inlineprotected |
Definition at line 35 of file heatcomfortanimhandler.c.
References g_Game, m_TimeSinceLastTick, Process(), and TICK_INTERVAL.
|
private |
Definition at line 13 of file heatcomfortanimhandler.c.
Referenced by Process(), and ProcessFreeze().
|
private |
Definition at line 12 of file heatcomfortanimhandler.c.
Referenced by Process(), and ProcessFreezeRattle().
|
private |
Definition at line 14 of file heatcomfortanimhandler.c.
Referenced by Process(), and ProcessHot().
|
protected |
Definition at line 16 of file heatcomfortanimhandler.c.
|
private |
Definition at line 10 of file heatcomfortanimhandler.c.
Referenced by HeatComfortAnimHandler(), Process(), ProcessFreeze(), ProcessFreezeRattle(), and ProcessHot().
|
private |
Definition at line 6 of file heatcomfortanimhandler.c.
Referenced by Process(), and ProcessFreeze().
|
private |
Definition at line 7 of file heatcomfortanimhandler.c.
Referenced by Process(), and ProcessFreezeRattle().
|
private |
Definition at line 8 of file heatcomfortanimhandler.c.
Referenced by Process(), and ProcessHot().
|
private |
Definition at line 5 of file heatcomfortanimhandler.c.
Referenced by Update().
|
private |
Definition at line 3 of file heatcomfortanimhandler.c.
Referenced by Update().
|
protected |
Definition at line 22 of file heatcomfortanimhandler.c.
Referenced by ProcessFreeze(), and ProcessFreezeRattle().
|
protected |
Definition at line 19 of file heatcomfortanimhandler.c.
Referenced by ProcessFreeze(), and ProcessFreezeRattle().
|
protected |
Definition at line 21 of file heatcomfortanimhandler.c.
Referenced by ProcessFreeze(), and ProcessFreezeRattle().
|
protected |
Definition at line 18 of file heatcomfortanimhandler.c.
Referenced by ProcessFreeze(), and ProcessFreezeRattle().
|
protected |
Definition at line 28 of file heatcomfortanimhandler.c.
Referenced by ProcessHot().
|
protected |
Definition at line 25 of file heatcomfortanimhandler.c.
Referenced by ProcessHot().
|
protected |
Definition at line 27 of file heatcomfortanimhandler.c.
Referenced by ProcessHot().
|
protected |
Definition at line 24 of file heatcomfortanimhandler.c.
Referenced by ProcessHot().