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

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
override string GetDebugText ()
override string GetDebugTextSimple ()
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 ANTIBIOTICS_LIFETIME = 300
const float ANTIBIOTICS_STRENGTH = 1
float m_RegenTime

Detailed Description

Definition at line 1 of file antibiotics.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 22 of file antibiotics.c.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 54 of file antibiotics.c.

References GetAttachedTime(), and m_RegenTime.

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

Definition at line 32 of file antibiotics.c.

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

◆ GetDebugTextSimple()

override string GetDebugTextSimple ( )
inlineprivate

Definition at line 37 of file antibiotics.c.

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

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 42 of file antibiotics.c.

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprivate

Definition at line 48 of file antibiotics.c.

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 27 of file antibiotics.c.

References OnActivate().

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Definition at line 64 of file antibiotics.c.

References ANTIBIOTICS_STRENGTH.

Field Documentation

◆ ANTIBIOTICS_LIFETIME

const int ANTIBIOTICS_LIFETIME = 300
private

Definition at line 3 of file antibiotics.c.

Referenced by GetDebugText(), GetDebugTextSimple(), and Init().

◆ ANTIBIOTICS_STRENGTH

const float ANTIBIOTICS_STRENGTH = 1
private

Definition at line 4 of file antibiotics.c.

Referenced by OnTick().

◆ m_RegenTime

float m_RegenTime
private

Definition at line 6 of file antibiotics.c.

Referenced by DeactivateCondition(), and Init().


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