DayZ
1.24
Loading...
Searching...
No Matches
ActionForceFeedMeat.c
Go to the documentation of this file.
1
class
ActionForceFeedMeatCB
:
ActionContinuousBaseCB
2
{
3
override
void
CreateActionComponent
()
4
{
5
m_ActionData
.
m_ActionComponent
=
new
CAContinuousQuantityEdible
(
UAQuantityConsumed
.
EAT_NORMAL
,
UATimeSpent
.
DEFAULT
);
6
}
7
};
8
9
class
ActionForceFeedMeat
: ActionForceConsume
10
{
11
void
ActionForceFeedMeat
()
12
{
13
m_CallbackClass =
ActionForceFeedMeatCB
;
14
m_CommandUID =
DayZPlayerConstants
.CMD_ACTIONFB_FORCEFEED;
15
m_FullBody
=
true
;
16
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_ERECT |
DayZPlayerConstants
.STANCEMASK_CROUCH;
17
m_Text
=
"#feed"
;
18
}
19
20
override
void
CreateConditionComponents
()
21
{
22
m_ConditionTarget
=
new
CCTMan
(
UAMaxDistances
.
DEFAULT
);
23
m_ConditionItem
=
new
CCINonRuined
;
24
}
25
};
m_FullBody
bool m_FullBody
Definition
ActionBase.c:52
m_Text
string m_Text
Definition
ActionBase.c:49
m_ConditionItem
ref CCIBase m_ConditionItem
Definition
ActionBase.c:55
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition
ActionBase.c:56
m_StanceMask
int m_StanceMask
Definition
ActionBase.c:53
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
ActionForceFeedMeatCB
Definition
ActionForceFeedMeat.c:2
ActionForceFeedMeatCB::CreateActionComponent
override void CreateActionComponent()
Definition
ActionForceFeedMeat.c:3
ActionForceFeedMeat
Definition
ActionForceFeedMeat.c:10
ActionForceFeedMeat::ActionForceFeedMeat
void ActionForceFeedMeat()
Definition
ActionForceFeedMeat.c:11
ActionForceFeedMeat::CreateConditionComponents
override void CreateConditionComponents()
Definition
ActionForceFeedMeat.c:20
CAContinuousQuantityEdible
Definition
CAContinuousQuantityEdible.c:2
CCINonRuined
Definition
CCINonRuined.c:2
CCTMan
Definition
CCTMan.c:2
UAMaxDistances
Definition
ActionConstants.c:105
UAMaxDistances::DEFAULT
const float DEFAULT
Definition
ActionConstants.c:107
UAQuantityConsumed
Definition
ActionConstants.c:4
UAQuantityConsumed::EAT_NORMAL
const float EAT_NORMAL
Definition
ActionConstants.c:8
UATimeSpent
Definition
ActionConstants.c:27
UATimeSpent::DEFAULT
const float DEFAULT
Definition
ActionConstants.c:28
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:597
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
ActionForceFeedMeat.c
Generated by
1.10.0