Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
actionforcefeed.c
Go to the documentation of this file.
2{
3 override void CreateActionComponent()
4 {
5 m_ActionData.m_ActionComponent = new CAContinuousQuantityEdible(UAQuantityConsumed.EAT_NORMAL, UATimeSpent.DEFAULT);
6 }
7}
8
9class 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
21 {
22 m_ConditionTarget = new CCTMan(UAMaxDistances.DEFAULT);
23 m_ConditionItem = new CCINonRuined();
24 }
25}
26
27
28//-----------------SMALL BITES VARIANT-------------------
29
31{
32 override void CreateActionComponent()
33 {
34 m_ActionData.m_ActionComponent = new CAContinuousQuantityEdible(UAQuantityConsumed.EAT_NORMAL,UATimeSpent.DEFAULT);
35 }
36};
37
38class 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}
override void CreateConditionComponents()
int m_CommandUID
Definition actionbase.c:31
int m_StanceMask
Definition actionbase.c:33
ActionForceFeedSmallCB ActionForceFeed
ActionData m_ActionData
Definition cctman.c:2
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602