DayZ
1.24
Loading...
Searching...
No Matches
ActionEatCharcoalTablets.c
Go to the documentation of this file.
1
class
ActionEatCharcoalTablets
:
ActionConsume
2
{
3
void
ActionEatCharcoalTablets
()
4
{
5
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONMOD_EAT;
6
m_CommandUIDProne
=
DayZPlayerConstants
.CMD_ACTIONFB_EAT;
7
}
8
9
override
int
IsEat
()
10
{
11
return
true
;
12
}
13
14
override
void
ApplyModifiers
(
ActionData
action_data
)
15
{
16
action_data
.m_Player.m_ModifiersManager.DeactivateModifier(
eModifiers
.MDF_POISONING);
17
}
18
};
ActionConsume
Definition
ActionConsume.c:10
ActionData
Definition
ActionBase.c:21
ActionEatCharcoalTablets
Definition
ActionEatCharcoalTablets.c:2
ActionEatCharcoalTablets::ActionEatCharcoalTablets
void ActionEatCharcoalTablets()
Definition
ActionEatCharcoalTablets.c:3
ActionEatCharcoalTablets::ApplyModifiers
override void ApplyModifiers(ActionData action_data)
Definition
ActionEatCharcoalTablets.c:14
ActionEatCharcoalTablets::IsEat
override int IsEat()
Definition
ActionEatCharcoalTablets.c:9
AnimatedActionBase::m_CommandUID
int m_CommandUID
Definition
AnimatedActionBase.c:122
AnimatedActionBase::m_CommandUIDProne
int m_CommandUIDProne
Definition
AnimatedActionBase.c:123
Param3
Definition
EntityAI.c:95
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:597
eModifiers
eModifiers
Definition
eModifiers.c:2
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
Medical
ActionEatCharcoalTablets.c
Generated by
1.10.0