Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actiondrink.c
Go to the documentation of this file.
8
10{
12 {
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_DRINK;
15 m_CommandUIDProne = DayZPlayerConstants.CMD_ACTIONFB_DRINK;
16 m_Text = "#drink";
17 }
18
24
25 override bool IsDrink()
26 {
27 return true;
28 }
29
30 override bool HasTarget()
31 {
32 return false;
33 }
34}
ActionData m_ActionData
string m_Text
Definition actionbase.c:64
ref CCIBase m_ConditionItem
Definition actionbase.c:70
ref CCTBase m_ConditionTarget
Definition actionbase.c:71
void ActionConsume()
override void CreateActionComponent()
Definition actiondrink.c:3
override bool IsDrink()
Definition actiondrink.c:25
override void CreateConditionComponents()
Definition actiondrink.c:19
void ActionDrink()
Definition actiondrink.c:11
override bool HasTarget()
Definition actiondrink.c:30
const float DEFAULT
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602