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

Go to the source code of this file.

Data Structures

class  ActionConsumeSingle

Functions

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

Variables

const int DEFAULT_CONSUMED_QUANTITY = 1

Function Documentation

◆ ActionCondition()

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

Definition at line 100 of file actionconsumesingle.c.

◆ ActionConsumeSingle()

void ActionConsumeSingle ( )

Definition at line 71 of file actionconsumesingle.c.

◆ CreateActionComponent()

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 94 of file actionconsumesingle.c.

◆ GetConsumedQuantity()

int GetConsumedQuantity ( )

Definition at line 79 of file actionconsumesingle.c.

Referenced by OnExecuteServer().

◆ HasProneException()

override bool HasProneException ( )

Definition at line 84 of file actionconsumesingle.c.

◆ HasTarget()

override bool HasTarget ( )

Definition at line 89 of file actionconsumesingle.c.

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)

Definition at line 122 of file actionconsumesingle.c.

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)

Definition at line 106 of file actionconsumesingle.c.

Variable Documentation

◆ DEFAULT_CONSUMED_QUANTITY

const int DEFAULT_CONSUMED_QUANTITY = 1

Definition at line 69 of file actionconsumesingle.c.

Referenced by GetConsumedQuantity().