Dayz Explorer
1.28.160049
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
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
ActionForceFeedSmallCB
Definition
actionforcefeed.c:31
ActionForceFeedSmall
Definition
actionforcefeed.c:39
CAContinuousQuantityEdible
Definition
cacontinuousquantityedible.c:2
CCINonRuined
Definition
ccinonruined.c:2
CCTMan
Definition
cctman.c:2
UAMaxDistances
Definition
actionconstants.c:110
UAQuantityConsumed
Definition
actionconstants.c:4
UATimeSpent
Definition
actionconstants.c:28
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:602
Daten
4_world
classes
useractionscomponent
actions
continuous
actionforcefeed.c
Generated by
1.12.0