DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionForceDrink.c
См. документацию.
1
class
ActionForceDrinkCB
:
ActionContinuousBaseCB
2
{
3
override
void
CreateActionComponent
()
4
{
5
m_ActionData
.m_ActionComponent =
new
CAContinuousQuantityEdible
(
UAQuantityConsumed
.
DRINK
,
UATimeSpent
.
DEFAULT
);
6
}
7
};
8
9
class
ActionForceDrink
:
ActionForceConsume
10
{
11
void
ActionForceDrink
()
12
{
13
m_CallbackClass =
ActionForceDrinkCB
;
14
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONFB_EMPTY_VESSEL;
15
m_FullBody =
true
;
16
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_ERECT |
DayZPlayerConstants
.STANCEMASK_CROUCH;
17
m_Text =
"#give_drink"
;
18
}
19
20
override
void
CreateConditionComponents
()
21
{
22
m_ConditionTarget =
new
CCTMan
(
UAMaxDistances
.
DEFAULT
);
23
m_ConditionItem =
new
CCINonRuined
;
24
}
25
26
override
protected
void
PlaySound
(
PlayerBase
player)
27
{
28
if
(player)
29
player.RequestSoundEventEx(
EPlayerSoundEventID
.FORCE_DRINK);
30
}
31
};
32
33
m_CommandUID
int m_CommandUID
Определения
ActionBase.c:31
m_StanceMask
int m_StanceMask
Определения
ActionBase.c:33
ActionForceConsume
void ActionForceConsume()
Определения
ActionForceConsume.c:13
EPlayerSoundEventID
EPlayerSoundEventID
Определения
PlayerSoundEventHandler.c:3
ActionBaseCB::m_ActionData
ActionData m_ActionData
Определения
AnimatedActionBase.c:3
ActionContinuousBaseCB
Определения
ActionContinuousBase.c:2
ActionForceDrink::PlaySound
void PlaySound(PlayerBase player)
Определения
ActionForceDrink.c:26
ActionForceDrink::ActionForceDrink
void ActionForceDrink()
Определения
ActionForceDrink.c:11
ActionForceDrink::CreateConditionComponents
override void CreateConditionComponents()
Определения
ActionForceDrink.c:20
ActionForceDrinkCB::CreateActionComponent
override void CreateActionComponent()
Определения
ActionForceDrink.c:3
ActionForceDrinkCB
Определения
ActionForceDrink.c:2
CAContinuousQuantityEdible
Определения
CAContinuousQuantityEdible.c:2
CCINonRuined
Определения
CCINonRuined.c:2
CCTMan
Определения
CCTMan.c:2
PlayerBase
Определения
PlayerBaseClient.c:2
UAMaxDistances::DEFAULT
const float DEFAULT
Определения
ActionConstants.c:112
UAMaxDistances
Определения
ActionConstants.c:110
UAQuantityConsumed::DRINK
const float DRINK
Определения
ActionConstants.c:14
UAQuantityConsumed
Определения
ActionConstants.c:4
UATimeSpent::DEFAULT
const float DEFAULT
Определения
ActionConstants.c:29
UATimeSpent
Определения
ActionConstants.c:28
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Определения
dayzplayer.c:602
Ishodniki
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
ActionForceDrink.c
Создано системой
1.13.2