◆ ActivateCondition()
◆ DeactivateCondition()
47 {
49 }
override bool ActivateCondition(PlayerBase player)
Definition Fever.c:19
Перекрестные ссылки ActivateCondition().
◆ Init()
11 {
18 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
bool m_TrackActivatedTime
overall time this modifier was active
Definition ModifierBase.c:14
bool m_AnalyticsStatsEnabled
Definition ModifierBase.c:31
eModifierSyncIDs m_SyncID
Definition ModifierBase.c:28
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
eModifierSyncIDs
Definition ModifiersManager.c:3
const int DEFAULT_TICK_TIME_INACTIVE
Definition ModifiersManager.c:29
const int DEFAULT_TICK_TIME_ACTIVE_SHORT
Definition ModifiersManager.c:28
Перекрестные ссылки DEFAULT_TICK_TIME_ACTIVE_SHORT, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnActivate()
25 {
26 if(
player.m_NotifiersManager )
28
29 player.GetSymptomManager().QueueUpSecondarySymptom(
SymptomIDs.SYMPTOM_FEVERBLUR);
30 }
eNotifiers
Definition NotifiersManager.c:2
◆ OnDeactivate()
39 {
40 if(
player.m_NotifiersManager )
42 player.GetSymptomManager().RemoveSecondarySymptom(
SymptomIDs.SYMPTOM_FEVERBLUR);
43 }
◆ OnReconnect()
33 {
35 }
void OnActivate()
Definition Trap_LandMine.c:67
Перекрестные ссылки OnActivate().
◆ OnTick()
52 {
55
57
59 {
62
64 }
65 }
float m_NextEvent
Definition Fever.c:4
float m_Time
Definition Fever.c:3
static const float EVENT_INTERVAL_MIN
Definition Fever.c:6
static const float EVENT_INTERVAL_MAX
Definition Fever.c:7
Definition PlayerConstants.c:2
static const float WATER_LOSS_FEVER
Definition PlayerConstants.c:129
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:106
Перекрестные ссылки EVENT_INTERVAL_MAX, EVENT_INTERVAL_MIN, m_NextEvent, m_Time, Math::RandomFloatInclusive() и PlayerConstants::WATER_LOSS_FEVER.
◆ EVENT_INTERVAL_MAX
◆ EVENT_INTERVAL_MIN
◆ m_NextEvent
◆ m_Time
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/conditions/Fever.c