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

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
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 CHARCOAL_EFFECT_TIME = 100
const int CHARCOAL_LIFETIME = 300
float m_Killrate

Detailed Description

Definition at line 1 of file charcoalmdfr.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 19 of file charcoalmdfr.c.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 67 of file charcoalmdfr.c.

References CHARCOAL_LIFETIME, and GetAttachedTime().

◆ GetDebugTextSimple()

override string GetDebugTextSimple ( )
inlineprivate

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 55 of file charcoalmdfr.c.

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprivate

Definition at line 61 of file charcoalmdfr.c.

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 24 of file charcoalmdfr.c.

References OnActivate().

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Definition at line 81 of file charcoalmdfr.c.

References CHARCOAL_EFFECT_TIME, CHARCOAL_LIFETIME, GetAttachedTime(), and m_Killrate.

Field Documentation

◆ CHARCOAL_EFFECT_TIME

const int CHARCOAL_EFFECT_TIME = 100
private

Definition at line 5 of file charcoalmdfr.c.

Referenced by GetDebugTextSimple(), and OnTick().

◆ CHARCOAL_LIFETIME

const int CHARCOAL_LIFETIME = 300
private

Definition at line 4 of file charcoalmdfr.c.

Referenced by DeactivateCondition(), GetDebugTextSimple(), and OnTick().

◆ m_Killrate

float m_Killrate
private

Definition at line 3 of file charcoalmdfr.c.

Referenced by Init(), and OnTick().


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