DayZ 1.24
Loading...
Searching...
No Matches
ActionRestrainSelfCB Class Reference
Inheritance diagram for ActionRestrainSelfCB:
[legend]
Collaboration diagram for ActionRestrainSelfCB:
[legend]

Private Member Functions

override void CreateActionComponent ()
 

Private Attributes

const float DEFAULT_RESTRAIN_TIME = 2
 

Detailed Description

Definition at line 1 of file ActionRestrainSelf.c.

Member Function Documentation

◆ CreateActionComponent()

override void ActionRestrainSelfCB::CreateActionComponent ( )
inlineprivate

Definition at line 5 of file ActionRestrainSelf.c.

6 {
8
9 if (m_ActionData.m_MainItem.ConfigIsExisting("RestrainTime"))
10 time = m_ActionData.m_MainItem.ConfigGetFloat("RestrainTime");
11
12 if (m_ActionData.m_Player.IsQuickRestrain())
14
16 }
ActionData m_ActionData
PlayerBase m_Player
Definition ActionBase.c:33
ref CABase m_ActionComponent
Definition ActionBase.c:30
ItemBase m_MainItem
Definition ActionBase.c:28
const float DEFAULT_RESTRAIN_TIME
const float DEBUG_QUICK_UNRESTRAIN_TIME
Definition constants.c:598

References DEBUG_QUICK_UNRESTRAIN_TIME, DEFAULT_RESTRAIN_TIME, ActionData::m_ActionComponent, ActionBaseCB::m_ActionData, ActionData::m_MainItem, and ActionData::m_Player.

Member Data Documentation

◆ DEFAULT_RESTRAIN_TIME

const float ActionRestrainSelfCB::DEFAULT_RESTRAIN_TIME = 2
private

Definition at line 3 of file ActionRestrainSelf.c.

Referenced by CreateActionComponent().


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