Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actionfeedvitaminbottle.c
Go to the documentation of this file.
1
class
ActionFeedVitaminBottleCB
:
ActionContinuousBaseCB
2
{
3
private
const
float
QUANTITY_USED_PER_SEC = 1;
4
5
override
void
CreateActionComponent()
6
{
7
m_ActionData.m_ActionComponent =
new
CAContinuousQuantityEdible
(QUANTITY_USED_PER_SEC,
UATimeSpent
.DEFAULT);
8
}
9
};
10
11
class
ActionFeedVitaminBottle
:
ActionForceConsume
12
{
13
void
ActionFeedVitaminBottle
()
14
{
15
m_CallbackClass =
ActionFeedVitaminBottleCB
;
16
}
17
};
ActionForceConsume
ActionForceDrinkCB ActionForceConsume
CAContinuousQuantityEdible
Definition:
cacontinuousquantityedible.c:1
UATimeSpent
Definition:
actionconstants.c:26
ActionContinuousBaseCB
Definition:
actioncontinuousbase.c:1
ActionFeedVitaminBottleCB
Definition:
actionfeedvitaminbottle.c:1
ActionFeedVitaminBottle
Definition:
actionfeedvitaminbottle.c:11
DAYZ
scripts_v1.24.157551
scripts
world
classes
useractionscomponent
actions
continuous
medical
actionfeedvitaminbottle.c
Generated by
1.8.17