Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actiontakeitemtohands.c File Reference

Go to the source code of this file.

Data Structures

class  ActionTakeItemToHands

Functions

override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override void CreateAndSetupActionCallback (ActionData action_data)
override bool MainItemAlwaysInHands ()
override void OnEnd (ActionData action_data)
override void OnExecute (ActionData action_data)
void PerformSwap (ActionData action_data)
override void Start (ActionData action_data)
override bool UseMainItem ()

Variables

ActionTakeItemToHands m_Executable

Function Documentation

◆ ActionCondition()

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

Definition at line 123 of file actiontakeitemtohands.c.

References ActionTarget, and ItemBase::IsTakeable().

◆ CreateAndSetupActionCallback()

override void CreateAndSetupActionCallback ( ActionData action_data)

◆ MainItemAlwaysInHands()

override bool MainItemAlwaysInHands ( )

Definition at line 137 of file actiontakeitemtohands.c.

◆ OnEnd()

override void OnEnd ( ActionData action_data)

◆ OnExecute()

override void OnExecute ( ActionData action_data)

◆ PerformSwap()

void PerformSwap ( ActionData action_data)

Definition at line 213 of file actiontakeitemtohands.c.

References ActionData, ActionBase::ClearInventoryReservationEx(), and g_Game.

Referenced by OnEnd(), and OnExecute().

◆ Start()

override void Start ( ActionData action_data)

Definition at line 164 of file actiontakeitemtohands.c.

References ActionData, IsHeavyBehaviour(), and m_Executable.

◆ UseMainItem()

override bool UseMainItem ( )

Definition at line 132 of file actiontakeitemtohands.c.

Variable Documentation

◆ m_Executable

ActionTakeItemToHands m_Executable

Referenced by OnEnd(), OnExecute(), and Start().