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

Go to the source code of this file.

Data Structures

class  ActionForceConsumeSingleCB

Functions

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

Variables

ActionForceConsumeSingleCB DEFAULT_CONSUMED_QUANTITY = 1

Function Documentation

◆ ActionCondition()

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

Definition at line 34 of file actionforceconsumesingle.c.

References ActionTarget.

◆ ActionForceConsumeSingle()

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 23 of file actionforceconsumesingle.c.

References UAMaxDistances::DEFAULT.

◆ GetConsumedQuantity()

int GetConsumedQuantity ( )

Definition at line 29 of file actionforceconsumesingle.c.

References DEFAULT_CONSUMED_QUANTITY.

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)

Definition at line 47 of file actionforceconsumesingle.c.

References ActionData.

◆ OnExecuteServer()

Variable Documentation

◆ DEFAULT_CONSUMED_QUANTITY

ActionForceConsumeSingleCB DEFAULT_CONSUMED_QUANTITY = 1