Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actionforceconsumesingle.c File Reference

Go to the source code of this file.

Data Structures

class  ActionForceConsumeSingleCB
 

Functions

void ActionForceConsumeSingle ()
 
override void CreateConditionComponents ()
 
int GetConsumedQuantity ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
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 33 of file actionforceconsumesingle.c.

◆ ActionForceConsumeSingle()

void ActionForceConsumeSingle ( )

Definition at line 13 of file actionforceconsumesingle.c.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 22 of file actionforceconsumesingle.c.

◆ GetConsumedQuantity()

int GetConsumedQuantity ( )

Definition at line 28 of file actionforceconsumesingle.c.

◆ OnEndServer()

override void OnEndServer ( ActionData  action_data)

Definition at line 45 of file actionforceconsumesingle.c.

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData  action_data)

Definition at line 62 of file actionforceconsumesingle.c.

Variable Documentation

◆ DEFAULT_CONSUMED_QUANTITY

ActionForceConsumeSingleCB DEFAULT_CONSUMED_QUANTITY = 1