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

Private Member Functions

void ActionAttachOnTentProxy ()
 
override void CreateConditionComponents ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 

Detailed Description

Definition at line 1 of file ActionAttachOnTentProxy.c.

Constructor & Destructor Documentation

◆ ActionAttachOnTentProxy()

void ActionAttachOnTentProxy::ActionAttachOnTentProxy ( )
inlineprivate

Definition at line 3 of file ActionAttachOnTentProxy.c.

3{};

Member Function Documentation

◆ ActionCondition()

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

Definition at line 13 of file ActionAttachOnTentProxy.c.

14 {
15 TentBase tent = TentBase.Cast(target.GetParent());
16 if (!tent)
17 return false;
18
19 return super.ActionCondition(player, target, item);
20 }

◆ CreateConditionComponents()

override void ActionAttachOnTentProxy::CreateConditionComponents ( )
inlineprivate

Definition at line 5 of file ActionAttachOnTentProxy.c.

6 {
9 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_ATTACHITEM;
10 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
11 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
int m_StanceMask
Definition ActionBase.c:53
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597

References m_ConditionItem, m_ConditionTarget, and m_StanceMask.


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