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

Private Member Functions

void FirearmActionUnjam ()
 
override bool HasTarget ()
 
override GetInputType ()
 
override void CreateConditionComponents ()
 
override bool HasProgress ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void Start (ActionData action_data)
 

Detailed Description

Definition at line 1 of file FirearmActionUnjam.c.

Constructor & Destructor Documentation

◆ FirearmActionUnjam()

void FirearmActionUnjam::FirearmActionUnjam ( )
inlineprivate

Definition at line 3 of file FirearmActionUnjam.c.

4 {
5 }

Member Function Documentation

◆ ActionCondition()

override bool FirearmActionUnjam::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

Definition at line 29 of file FirearmActionUnjam.c.

30 {
31 if (!super.ActionCondition(player, target, item))
32 return false;
33
35 return player.GetWeaponManager().CanUnjam(wpn);
36 }

◆ CreateConditionComponents()

override void FirearmActionUnjam::CreateConditionComponents ( )
inlineprivate

Definition at line 17 of file FirearmActionUnjam.c.

18 {
21 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56

References m_ConditionItem, and m_ConditionTarget.

◆ GetInputType()

override FirearmActionUnjam::GetInputType ( )
inlineprivate

◆ HasProgress()

override bool FirearmActionUnjam::HasProgress ( )
inlineprivate

Definition at line 23 of file FirearmActionUnjam.c.

24 {
25 return false;
26 }

◆ HasTarget()

override bool FirearmActionUnjam::HasTarget ( )
inlineprivate

Definition at line 7 of file FirearmActionUnjam.c.

8 {
9 return false;
10 }

◆ Start()

override void FirearmActionUnjam::Start ( ActionData action_data)
inlineprivate

Definition at line 38 of file FirearmActionUnjam.c.

39 {
40 super.Start(action_data);
41
42 action_data.m_Player.GetWeaponManager().Unjam(this);
43 }

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