◆ ActivateCondition()
26 {
28 }
eAgents
Definition EAgents.c:3
static const int AGENT_THRESHOLD_ACTIVATE
Definition BrainDisease.c:3
Перекрестные ссылки AGENT_THRESHOLD_ACTIVATE.
◆ DeactivateCondition()
◆ GetDebugText()
◆ Init()
12 {
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
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
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_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnActivate()
31 {
32 player.IncreaseDiseaseCount();
33 player.GetSymptomManager().QueueUpPrimarySymptom(
SymptomIDs.SYMPTOM_LAUGHTER);
34 }
◆ OnDeactivate()
37 {
38 player.DecreaseDiseaseCount();
39 }
◆ OnTick()
47 {
51
53 player.GetSymptomManager().QueueUpPrimarySymptom(
SymptomIDs.SYMPTOM_LAUGHTER);
54
56 {
59 }
60
61 }
float m_ShakeTime
Definition BrainDisease.c:9
float m_Time
Definition BrainDisease.c:8
const int SHAKE_INTERVAL_MIN
Definition BrainDisease.c:5
const int SHAKE_INTERVAL_MAX
Definition BrainDisease.c:6
Definition DayZPlayerSyncJunctures.c:5
static void SendKuruRequest(DayZPlayer pPlayer, float amount)
Definition DayZPlayerSyncJunctures.c:313
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:126
Перекрестные ссылки m_ShakeTime, m_Time, Math::RandomFloat(), Math::RandomFloat01(), DayZPlayerSyncJunctures::SendKuruRequest(), SHAKE_INTERVAL_MAX и SHAKE_INTERVAL_MIN.
◆ AGENT_THRESHOLD_ACTIVATE
const int AGENT_THRESHOLD_ACTIVATE = 2000 |
|
staticprivate |
◆ AGENT_THRESHOLD_DEACTIVATE
const int AGENT_THRESHOLD_DEACTIVATE = 0 |
|
staticprivate |
◆ m_ShakeTime
◆ m_Time
◆ SHAKE_INTERVAL_MAX
◆ SHAKE_INTERVAL_MIN
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/diseases/BrainDisease.c