Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
actionforcefeed.c
Go to the documentation of this file.
1
class
ActionForceFeedCB
:
ActionContinuousBaseCB
2
{
3
override
void
CreateActionComponent
()
4
{
5
m_ActionData
.m_ActionComponent =
new
CAContinuousQuantityEdible
(
UAQuantityConsumed
.
EAT_NORMAL
,
UATimeSpent
.
DEFAULT
);
6
}
7
}
8
9
class
ActionForceFeed
:
ActionForceConsume
10
{
11
void
ActionForceFeed
()
12
{
13
m_CallbackClass =
ActionForceFeedCB
;
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
}
26
27
28
//-----------------SMALL BITES VARIANT-------------------
29
30
class
ActionForceFeedSmallCB
:
ActionContinuousBaseCB
31
{
32
override
void
CreateActionComponent
()
33
{
34
m_ActionData
.m_ActionComponent =
new
CAContinuousQuantityEdible
(
UAQuantityConsumed
.
EAT_NORMAL
,
UATimeSpent
.
DEFAULT
);
35
}
36
};
37
38
class
ActionForceFeedSmall
:
ActionForceConsume
39
{
40
void
ActionForceFeed
()
41
{
42
m_CallbackClass =
ActionForceFeedSmallCB
;
43
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONFB_FORCEFEED;
44
m_FullBody =
true
;
45
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_ERECT |
DayZPlayerConstants
.STANCEMASK_CROUCH;
46
}
47
48
override
void
CreateConditionComponents
()
49
{
50
m_ConditionTarget =
new
CCTMan
(
UAMaxDistances
.
DEFAULT
);
51
m_ConditionItem =
new
CCINonRuined
();
52
}
53
54
override
string
GetText
()
55
{
56
return
"#feed"
;
57
}
58
}
CreateConditionComponents
override void CreateConditionComponents()
Definition
actionactivatetrap.c:30
m_CommandUID
int m_CommandUID
Definition
actionbase.c:31
m_StanceMask
int m_StanceMask
Definition
actionbase.c:33
ActionForceConsume
void ActionForceConsume()
Definition
actionforceconsume.c:13
ActionForceFeed
ActionForceFeedSmallCB ActionForceFeed
Definition
actionforcefeed.c:11
ActionBaseCB::m_ActionData
ActionData m_ActionData
Definition
animatedactionbase.c:3
ActionContinuousBaseCB
Definition
actioncontinuousbase.c:2
ActionForceFeedCB
Definition
actionforcefeed.c:2
ActionForceFeedCB::CreateActionComponent
override void CreateActionComponent()
Definition
actionforcefeed.c:3
ActionForceFeedSmallCB
Definition
actionforcefeed.c:31
ActionForceFeedSmallCB::CreateActionComponent
override void CreateActionComponent()
Definition
actionforcefeed.c:32
ActionForceFeedSmall
Definition
actionforcefeed.c:39
ActionForceFeedSmall::CreateConditionComponents
override void CreateConditionComponents()
Definition
actionforcefeed.c:48
ActionForceFeedSmall::ActionForceFeed
void ActionForceFeed()
Definition
actionforcefeed.c:40
ActionForceFeedSmall::GetText
override string GetText()
Definition
actionforcefeed.c:54
CAContinuousQuantityEdible
Definition
cacontinuousquantityedible.c:2
CCINonRuined
Definition
ccinonruined.c:2
CCTMan
Definition
cctman.c:2
UAMaxDistances
Definition
actionconstants.c:110
UAMaxDistances::DEFAULT
const float DEFAULT
Definition
actionconstants.c:112
UAQuantityConsumed
Definition
actionconstants.c:4
UAQuantityConsumed::EAT_NORMAL
const float EAT_NORMAL
Definition
actionconstants.c:8
UATimeSpent
Definition
actionconstants.c:28
UATimeSpent::DEFAULT
const float DEFAULT
Definition
actionconstants.c:29
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:602
Games
Dayz
scripts
4_world
classes
useractionscomponent
actions
continuous
actionforcefeed.c
Generated by
1.17.0