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

Go to the source code of this file.

Data Structures

class  ActionDropItemCB

Functions

override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override bool ActionConditionContinue (ActionData action_data)
void ActionDropItem ()
override bool CanBePerformedWhileChangingStance ()
 Prevent this action from beeing performed while changing stance.
override bool CanBeUsedThrowing ()
override void CreateConditionComponents ()
override GetInputType ()
override bool HasProneException ()
override bool HasTarget ()
override void OnExecuteServer (ActionData action_data)
void PhysicalDropItem (ActionData action_data)
override bool UseAcknowledgment ()

Variables

ActionDropItemCB m_ItemName = ""

Function Documentation

◆ ActionCondition()

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

Same-frame protection against overlapping inputs

Ongoing move transition protection

Definition at line 84 of file actiondropitem.c.

References ActionTarget, HumanCommandMove::IsChangingStance(), HumanInputController::IsStanceChange(), HumanCommandMove::IsStandingFromBack(), and HumanInputController::IsThrowingModeChange().

◆ ActionConditionContinue()

override bool ActionConditionContinue ( ActionData action_data)

Definition at line 79 of file actiondropitem.c.

References ActionData.

◆ ActionDropItem()

void ActionDropItem ( )

◆ CanBePerformedWhileChangingStance()

override bool CanBePerformedWhileChangingStance ( )

Prevent this action from beeing performed while changing stance.

Definition at line 64 of file actiondropitem.c.

Referenced by ManBase::CanChangeStance().

◆ CanBeUsedThrowing()

override bool CanBeUsedThrowing ( )

Definition at line 58 of file actiondropitem.c.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 42 of file actiondropitem.c.

◆ GetInputType()

override GetInputType ( )

Definition at line 48 of file actiondropitem.c.

◆ HasProneException()

override bool HasProneException ( )

Definition at line 53 of file actiondropitem.c.

◆ HasTarget()

override bool HasTarget ( )

Definition at line 69 of file actiondropitem.c.

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)

Definition at line 103 of file actiondropitem.c.

References ActionData, g_Game, and PhysicalDropItem().

◆ PhysicalDropItem()

void PhysicalDropItem ( ActionData action_data)

Definition at line 120 of file actiondropitem.c.

References ActionData.

Referenced by OnExecuteServer().

◆ UseAcknowledgment()

override bool UseAcknowledgment ( )

Definition at line 74 of file actiondropitem.c.

Variable Documentation

◆ m_ItemName

ActionDropItemCB m_ItemName = ""