◆ ActivateCondition()
◆ DeactivateCondition()
51 {
53 }
bool ActivateCondition(PlayerBase player)
Definition Contamination2.c:33
Перекрестные ссылки ActivateCondition().
◆ GetDebugText()
◆ Init()
20 {
26 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
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
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE
eModifiers
Definition eModifiers.c:2
Перекрестные ссылки DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_SyncID, m_TickIntervalActive и m_TickIntervalInactive.
◆ OnActivate()
39 {
40 player.IncreaseDiseaseCount();
43 }
static const int EVENT_2_INTERVAL_MIN
Definition Contamination2.c:13
static const int EVENT_1_INTERVAL_MAX
Definition Contamination2.c:7
float m_NextEvent1
Definition Contamination2.c:9
static const int EVENT_2_INTERVAL_MAX
Definition Contamination2.c:14
static const int EVENT_1_INTERVAL_MIN
Definition Contamination2.c:6
float m_NextEvent2
Definition Contamination2.c:16
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:106
Перекрестные ссылки EVENT_1_INTERVAL_MAX, EVENT_1_INTERVAL_MIN, EVENT_2_INTERVAL_MAX, EVENT_2_INTERVAL_MIN, m_NextEvent1, m_NextEvent2 и Math::RandomFloatInclusive().
◆ OnDeactivate()
46 {
47 player.DecreaseDiseaseCount();
48 }
◆ OnTick()
◆ AGENT_THRESHOLD_ACTIVATE
const int AGENT_THRESHOLD_ACTIVATE = 100 |
|
staticprivate |
◆ AGENT_THRESHOLD_DEACTIVATE
const int AGENT_THRESHOLD_DEACTIVATE = 400 |
|
staticprivate |
◆ EVENT_1_INTERVAL_MAX
◆ EVENT_1_INTERVAL_MIN
◆ EVENT_2_INTERVAL_MAX
◆ EVENT_2_INTERVAL_MIN
◆ m_NextEvent1
◆ m_NextEvent2
◆ m_Time1
◆ m_Time2
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/diseases/Contamination2.c