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

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
override string GetDebugText ()
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 int ACTIVATION_DELAY = 15
const int LIFETIME = 240

Detailed Description

Definition at line 1 of file painkillersmdfr.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 18 of file painkillersmdfr.c.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 54 of file painkillersmdfr.c.

References GetAttachedTime(), and LIFETIME.

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

Definition at line 28 of file painkillersmdfr.c.

References GetAttachedTime(), LIFETIME, and string::ToString().

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 33 of file painkillersmdfr.c.

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprivate

Definition at line 43 of file painkillersmdfr.c.

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 23 of file painkillersmdfr.c.

References OnActivate().

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Definition at line 64 of file painkillersmdfr.c.

References ACTIVATION_DELAY, and GetAttachedTime().

Field Documentation

◆ ACTIVATION_DELAY

const int ACTIVATION_DELAY = 15
private

Definition at line 4 of file painkillersmdfr.c.

Referenced by OnTick().

◆ LIFETIME

const int LIFETIME = 240
private

Definition at line 3 of file painkillersmdfr.c.

Referenced by DeactivateCondition(), and GetDebugText().


The documentation for this class was generated from the following file: