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

Private Member Functions

void ActionNextCombinationLockDial ()
 
override void CreateConditionComponents ()
 
override bool HasTarget ()
 
override bool IsInstant ()
 
override bool RemoveForceTargetAfterUse ()
 
override bool UseAcknowledgment ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void Start (ActionData action_data)
 

Detailed Description

Definition at line 1 of file ActionNextCombinationLockDial.c.

Constructor & Destructor Documentation

◆ ActionNextCombinationLockDial()

void ActionNextCombinationLockDial::ActionNextCombinationLockDial ( )
inlineprivate

Definition at line 3 of file ActionNextCombinationLockDial.c.

4 {
5 m_Text = "#next_combination_lock_dial";
6 }
string m_Text
Definition ActionBase.c:49

References m_Text.

Member Function Documentation

◆ ActionCondition()

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

Definition at line 34 of file ActionNextCombinationLockDial.c.

35 {
36 if (item.IsInherited(CombinationLock))
37 {
38 ConstructionActionData construction_action_data = player.GetConstructionActionData();
39 construction_action_data.SetCombinationLock(CombinationLock.Cast(item));
40
41 return true;
42 }
43
44 return false;
45 }

◆ CreateConditionComponents()

override void ActionNextCombinationLockDial::CreateConditionComponents ( )
inlineprivate

Definition at line 8 of file ActionNextCombinationLockDial.c.

9 {
12 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56

References m_ConditionItem, and m_ConditionTarget.

◆ HasTarget()

override bool ActionNextCombinationLockDial::HasTarget ( )
inlineprivate

Definition at line 14 of file ActionNextCombinationLockDial.c.

15 {
16 return false;
17 }

◆ IsInstant()

override bool ActionNextCombinationLockDial::IsInstant ( )
inlineprivate

Definition at line 19 of file ActionNextCombinationLockDial.c.

20 {
21 return true;
22 }

◆ RemoveForceTargetAfterUse()

override bool ActionNextCombinationLockDial::RemoveForceTargetAfterUse ( )
inlineprivate

Definition at line 24 of file ActionNextCombinationLockDial.c.

25 {
26 return false;
27 }

◆ Start()

override void ActionNextCombinationLockDial::Start ( ActionData action_data)
inlineprivate

Definition at line 47 of file ActionNextCombinationLockDial.c.

48 {
49 super.Start(action_data);
50
51 //set next dial
54 combination_lock.SetNextDial();
55 }

◆ UseAcknowledgment()

override bool ActionNextCombinationLockDial::UseAcknowledgment ( )
inlineprivate

Definition at line 29 of file ActionNextCombinationLockDial.c.

30 {
31 return true;
32 }

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