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

Private Member Functions

void ActionFoldMap ()
 
override bool IsInstant ()
 
override void CreateConditionComponents ()
 
override bool HasTarget ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override int GetActionCategory ()
 

Detailed Description

Definition at line 3 of file ActionFoldMap.c.

Constructor & Destructor Documentation

◆ ActionFoldMap()

void ActionFoldMap::ActionFoldMap ( )
inlineprivate

Definition at line 5 of file ActionFoldMap.c.

6 {
7 m_Text = "#fold_map";
8 }
string m_Text
Definition ActionBase.c:49

References m_Text.

Member Function Documentation

◆ ActionCondition()

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

Definition at line 26 of file ActionFoldMap.c.

27 {
28 if (player.m_hac && player.IsMapOpen())
29 return true;
30 return false;
31 }

◆ CreateConditionComponents()

override void ActionFoldMap::CreateConditionComponents ( )
inlineprivate

Definition at line 15 of file ActionFoldMap.c.

16 {
19 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56

References m_ConditionItem, and m_ConditionTarget.

◆ GetActionCategory()

override int ActionFoldMap::GetActionCategory ( )
inlineprivate

Definition at line 33 of file ActionFoldMap.c.

34 {
35 return AC_SINGLE_USE;
36 }
const int AC_SINGLE_USE
Definition _constants.c:2

References AC_SINGLE_USE.

◆ HasTarget()

override bool ActionFoldMap::HasTarget ( )
inlineprivate

Definition at line 21 of file ActionFoldMap.c.

22 {
23 return false;
24 }

◆ IsInstant()

override bool ActionFoldMap::IsInstant ( )
inlineprivate

Definition at line 10 of file ActionFoldMap.c.

11 {
12 return true;
13 }

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