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

Private Member Functions

void ActionEatCharcoalTablets ()
 
override int IsEat ()
 
override void ApplyModifiers (ActionData action_data)
 

Detailed Description

Definition at line 1 of file ActionEatCharcoalTablets.c.

Constructor & Destructor Documentation

◆ ActionEatCharcoalTablets()

void ActionEatCharcoalTablets::ActionEatCharcoalTablets ( )
inlineprivate

Definition at line 3 of file ActionEatCharcoalTablets.c.

4 {
5 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_EAT;
6 m_CommandUIDProne = DayZPlayerConstants.CMD_ACTIONFB_EAT;
7 }
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597

References AnimatedActionBase::m_CommandUID, and AnimatedActionBase::m_CommandUIDProne.

Member Function Documentation

◆ ApplyModifiers()

override void ActionEatCharcoalTablets::ApplyModifiers ( ActionData action_data)
inlineprivate

Definition at line 14 of file ActionEatCharcoalTablets.c.

15 {
16 action_data.m_Player.m_ModifiersManager.DeactivateModifier(eModifiers.MDF_POISONING);
17 }
eModifiers
Definition eModifiers.c:2

◆ IsEat()

override int ActionEatCharcoalTablets::IsEat ( )
inlineprivate

Definition at line 9 of file ActionEatCharcoalTablets.c.

10 {
11 return true;
12 }

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