Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ShockMdfr Class Reference
Inheritance diagram for ShockMdfr:
ModifierBase

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
float GetRefillSpeed (PlayerBase player)
override void Init ()
override void OnActivate (PlayerBase player)
override void OnDeactivate (PlayerBase player)
override void OnReconnect (PlayerBase player)
override void OnTick (PlayerBase player, float deltaT)

Private Attributes

const float SHOCK_INCREMENT_PER_SEC = 1
const float UNCONSCIOUS_LIMIT = 50

Detailed Description

Definition at line 1 of file shock.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 15 of file shock.c.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 20 of file shock.c.

◆ GetRefillSpeed()

◆ Init()

override void Init ( )
inlineprivate

Definition at line 6 of file shock.c.

References DisableDeactivateCheck(), m_ID, m_TickIntervalActive, and m_TickIntervalInactive.

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 25 of file shock.c.

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprivate

Definition at line 29 of file shock.c.

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 79 of file shock.c.

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Field Documentation

◆ SHOCK_INCREMENT_PER_SEC

const float SHOCK_INCREMENT_PER_SEC = 1
private

Definition at line 4 of file shock.c.

◆ UNCONSCIOUS_LIMIT

const float UNCONSCIOUS_LIMIT = 50
private

Definition at line 3 of file shock.c.


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playermodifiers/modifiers/shock.c