![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| bool | ActivateCondition (PlayerBase player) |
| bool | DeactivateCondition (PlayerBase player) |
| void | OnActivate (PlayerBase player) |
| void | OnDeactivate (PlayerBase player) |
| void | OnTick (PlayerBase player, float deltaT) |
Private Member Functions | |
| override string | GetDebugText () |
| override void | Init () |
Private Attributes | |
| bool | m_Exhaustion |
| float | m_ExhaustionTimer |
| float | m_NextEvent |
| float | m_Time |
Static Private Attributes | |
| static const int | AGENT_THRESHOLD_ACTIVATE = 60 |
| static const int | AGENT_THRESHOLD_DEACTIVATE = 20 |
| static const int | CHANCE_OF_VOMIT = 10 |
| static const int | CHANCE_OF_VOMIT_AGENT = 20 |
| static const int | ENERGY_DRAIN_FROM_VOMIT = 310 |
| static const float | EVENT_INTERVAL_MAX = 18 |
| static const float | EVENT_INTERVAL_MIN = 12 |
| static const float | STOMACH_MIN_VOLUME = 200 |
| static const int | WATER_DRAIN_FROM_VOMIT = 450 |
Definition at line 1 of file salmonella.c.
|
inlineprotected |
Definition at line 35 of file salmonella.c.
References AGENT_THRESHOLD_ACTIVATE.
|
inlineprotected |
Definition at line 40 of file salmonella.c.
References AGENT_THRESHOLD_DEACTIVATE.
|
inlineprivate |
Definition at line 30 of file salmonella.c.
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
|
inlineprivate |
Definition at line 21 of file salmonella.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprotected |
Definition at line 45 of file salmonella.c.
References CachedObjectsParams::PARAM1_FLOAT, SymptomBase::SetDuration(), and SymptomBase::SetParam().
|
inlineprotected |
Definition at line 58 of file salmonella.c.
References m_Exhaustion, and m_ExhaustionTimer.
|
inlineprotected |
Definition at line 67 of file salmonella.c.
References CHANCE_OF_VOMIT, CHANCE_OF_VOMIT_AGENT, ENERGY_DRAIN_FROM_VOMIT, EVENT_INTERVAL_MAX, EVENT_INTERVAL_MIN, m_Exhaustion, m_ExhaustionTimer, m_NextEvent, m_Time, CachedObjectsParams::PARAM1_FLOAT, Math::RandomFloatInclusive(), Math::RandomInt(), SymptomBase::SetDuration(), SymptomBase::SetParam(), STOMACH_MIN_VOLUME, and WATER_DRAIN_FROM_VOMIT.
|
staticprivate |
Definition at line 3 of file salmonella.c.
Referenced by ActivateCondition(), and GetDebugText().
|
staticprivate |
Definition at line 4 of file salmonella.c.
Referenced by DeactivateCondition(), and GetDebugText().
|
staticprivate |
Definition at line 6 of file salmonella.c.
Referenced by OnTick().
|
staticprivate |
Definition at line 7 of file salmonella.c.
Referenced by OnTick().
|
staticprivate |
Definition at line 9 of file salmonella.c.
Referenced by OnTick().
|
staticprivate |
Definition at line 13 of file salmonella.c.
Referenced by OnTick().
|
staticprivate |
Definition at line 12 of file salmonella.c.
Referenced by OnTick().
|
private |
Definition at line 19 of file salmonella.c.
Referenced by OnDeactivate(), and OnTick().
|
private |
Definition at line 17 of file salmonella.c.
Referenced by OnDeactivate(), and OnTick().
|
private |
Definition at line 16 of file salmonella.c.
Referenced by OnTick().
|
private |
Definition at line 15 of file salmonella.c.
Referenced by OnTick().
|
staticprivate |
Definition at line 10 of file salmonella.c.
Referenced by OnTick().
|
staticprivate |
Definition at line 8 of file salmonella.c.
Referenced by OnTick().