Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
actionforceconsumesingle.c File Reference

Go to the source code of this file.

Classes

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 34 of file actionforceconsumesingle.c.

◆ ActionForceConsumeSingle()

void ActionForceConsumeSingle ( )

Definition at line 13 of file actionforceconsumesingle.c.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 23 of file actionforceconsumesingle.c.

◆ GetConsumedQuantity()

int GetConsumedQuantity ( )

Definition at line 29 of file actionforceconsumesingle.c.

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)

Definition at line 47 of file actionforceconsumesingle.c.

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)

Definition at line 55 of file actionforceconsumesingle.c.

Variable Documentation

◆ DEFAULT_CONSUMED_QUANTITY

ActionForceConsumeSingleCB DEFAULT_CONSUMED_QUANTITY = 1