DayZ 1.24
|
Private Member Functions | |
override void | Init () |
bool | CheckIsDrowning (PlayerBase player) |
override bool | ActivateCondition (PlayerBase player) |
override bool | DeactivateCondition (PlayerBase player) |
override void | OnTick (PlayerBase player, float deltaT) |
override void | OnReconnect (PlayerBase player) |
override void | OnActivate (PlayerBase player) |
void | PlayDrowningSound (int index) |
override void | OnDeactivate (PlayerBase player) |
Private Attributes | |
const int | TICK_FREQUENCY = 1 |
Static Private Attributes | |
static const float | STAMINA_RECOVERY_MULTIPLIER = 0 |
Definition at line 1 of file Drowning.c.
|
inlineprivate |
Definition at line 20 of file Drowning.c.
References CheckIsDrowning().
|
inlineprivate |
Definition at line 15 of file Drowning.c.
Referenced by ActivateCondition(), and DeactivateCondition().
|
inlineprivate |
Definition at line 25 of file Drowning.c.
References CheckIsDrowning().
Definition at line 6 of file Drowning.c.
References DEFAULT_TICK_TIME_INACTIVE, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive, m_TrackActivatedTime, and TICK_FREQUENCY.
|
inlineprivate |
Definition at line 45 of file Drowning.c.
References CALL_CATEGORY_SYSTEM, GetGame(), and PlayDrowningSound().
|
inlineprivate |
Definition at line 65 of file Drowning.c.
|
inlineprivate |
Definition at line 40 of file Drowning.c.
References OnActivate().
|
inlineprivate |
Definition at line 30 of file Drowning.c.
References CfgGameplayHandler::GetHealthDepletionSpeed(), and CfgGameplayHandler::GetShockDepletionSpeed().
Definition at line 54 of file Drowning.c.
References m_Player, and DayZPlayer::RequestSoundEventEx().
Referenced by OnActivate().
Definition at line 4 of file Drowning.c.
Referenced by StaminaHandler::Init().
Definition at line 3 of file Drowning.c.
Referenced by Init().