Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionConsumeSingle Class Reference
Inheritance diagram for ActionConsumeSingle:
ActionSingleUseBase ActionBiteCharcoalTablets ActionBitePainkillerTablets ActionBitePurificationTablets ActionBiteTetracyclineAntibiotics ActionBiteVitaminBottle ActionEatPillFromBottle ActionEatTabletFromWrapper

Private Member Functions

void ActionConsumeSingle ()
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override void CreateConditionComponents ()
int GetConsumedQuantity ()
override bool HasProneException ()
override bool HasTarget ()
override void OnEndServer (ActionData action_data)
override void OnExecuteServer (ActionData action_data)

Private Attributes

const int DEFAULT_CONSUMED_QUANTITY = 1

Detailed Description

Definition at line 1 of file actionconsumesingle.c.

Constructor & Destructor Documentation

◆ ActionConsumeSingle()

Member Function Documentation

◆ ActionCondition()

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

Definition at line 34 of file actionconsumesingle.c.

References ActionTarget.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate

◆ GetConsumedQuantity()

int GetConsumedQuantity ( )
inlineprivate

Definition at line 13 of file actionconsumesingle.c.

References DEFAULT_CONSUMED_QUANTITY.

Referenced by OnExecuteServer().

◆ HasProneException()

override bool HasProneException ( )
inlineprivate

Definition at line 18 of file actionconsumesingle.c.

◆ HasTarget()

override bool HasTarget ( )
inlineprivate

Definition at line 23 of file actionconsumesingle.c.

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)
inlineprivate

Definition at line 56 of file actionconsumesingle.c.

References ActionData.

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)
inlineprivate

Field Documentation

◆ DEFAULT_CONSUMED_QUANTITY

const int DEFAULT_CONSUMED_QUANTITY = 1
private

Definition at line 3 of file actionconsumesingle.c.

Referenced by GetConsumedQuantity().


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