DayZ
1.24
Loading...
Searching...
No Matches
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
};
ActionBaseCB::m_ActionData
ActionData m_ActionData
Definition
AnimatedActionBase.c:3
ActionContinuousBaseCB
Definition
ActionContinuousBase.c:2
ActionData::m_ActionComponent
ref CABase m_ActionComponent
Definition
ActionBase.c:30
ActionFeedVitaminBottleCB
Definition
ActionFeedVitaminBottle.c:2
ActionFeedVitaminBottleCB::QUANTITY_USED_PER_SEC
const float QUANTITY_USED_PER_SEC
Definition
ActionFeedVitaminBottle.c:3
ActionFeedVitaminBottleCB::CreateActionComponent
override void CreateActionComponent()
Definition
ActionFeedVitaminBottle.c:5
ActionFeedVitaminBottle
Definition
ActionFeedVitaminBottle.c:12
ActionFeedVitaminBottle::ActionFeedVitaminBottle
void ActionFeedVitaminBottle()
Definition
ActionFeedVitaminBottle.c:13
CAContinuousQuantityEdible
Definition
CAContinuousQuantityEdible.c:2
UATimeSpent
Definition
ActionConstants.c:27
UATimeSpent::DEFAULT
const float DEFAULT
Definition
ActionConstants.c:28
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
Medical
ActionFeedVitaminBottle.c
Generated by
1.10.0