DayZ 1.24
Loading...
Searching...
No Matches
ActionEatSmallCan Class Reference
Inheritance diagram for ActionEatSmallCan:
[legend]
Collaboration diagram for ActionEatSmallCan:
[legend]

Private Member Functions

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

Detailed Description

Definition at line 42 of file ActionEatCan.c.

Constructor & Destructor Documentation

◆ ActionEatSmallCan()

void ActionEatSmallCan::ActionEatSmallCan ( )
inlineprivate

Member Function Documentation

◆ ActionCondition()

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

Definition at line 49 of file ActionEatCan.c.

50 {
51 if (!super.ActionCondition(player, target, item))
52 return false;
53 return true;
54 /*
55 //if staging for cans is introduced
56 if ( item && item.IsOpen() )
57 {
58 return true;
59 }
60 return false;
61 */
62 }

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