DayZ
1.30
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionWashHeadWater .c
См. документацию.
1
class
ActionWashHeadWaterCB
:
ActionContinuousBaseCB
2
{
3
override
void
CreateActionComponent
()
4
{
5
m_ActionData
.m_ActionComponent =
new
CAContinuousRepeat
(
UATimeSpent
.
WASH_HANDS
);
6
}
7
}
8
9
class
ActionWashHeadWater
:
ActionWashHeadWettingClothesBase
10
{
11
void
ActionWashHeadWater
()
12
{
13
m_CallbackClass =
ActionWashHeadWaterCB
;
14
m_CommandUID =
DayZPlayerConstants
.CMD_ACTIONFB_WASHFACEPOND;
15
m_FullBody
=
true
;
16
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_CROUCH;
17
m_Text
=
"#STR_Wash_Head"
;
18
}
19
20
override
typename
GetInputType
()
21
{
22
return
ContinuousInteractActionInput
;
23
}
24
25
override
void
CreateConditionComponents
()
26
{
27
m_ConditionItem
=
new
CCINone
();
28
m_ConditionTarget
=
new
CCTLiquid
(
LIQUID_GROUP_WATER
-
LIQUID_SNOW
-
LIQUID_HOTWATER
,
UAMaxDistances
.
DEFAULT
,
UAMaxDistances
.
DEFAULT
);
29
}
30
31
override
bool
ActionCondition
(
PlayerBase
player,
ActionTarget
target,
ItemBase
item)
32
{
33
return
true
;
34
}
35
36
override
void
OnStart
(
ActionData
action_data)
37
{
38
super.OnStart(action_data);
39
40
action_data.
m_Player
.TryHideItemInHands(
true
);
41
}
42
43
override
void
OnEnd
(
ActionData
action_data)
44
{
45
action_data.
m_Player
.TryHideItemInHands(
false
);
46
}
47
48
override
bool
IsLockTargetOnUse
()
49
{
50
return
false
;
51
}
52
53
override
protected
float
GetEyeIrritationReduction
() {
return
50.0; }
54
}
m_FullBody
bool m_FullBody
Определения
ActionBase.c:60
m_Text
string m_Text
Определения
ActionBase.c:57
IsLockTargetOnUse
bool IsLockTargetOnUse()
Определения
ActionBase.c:102
CreateConditionComponents
void CreateConditionComponents()
Определения
ActionBase.c:245
m_ConditionItem
ref CCIBase m_ConditionItem
Определения
ActionBase.c:63
m_ConditionTarget
ref CCTBase m_ConditionTarget
Определения
ActionBase.c:64
m_StanceMask
int m_StanceMask
Определения
ActionBase.c:61
ActionTarget
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
Определения
ActionTargets.c:125
ActionWashHeadWater
ActionWashHeadWaterCB ActionContinuousBaseCB ActionWashHeadWater()
Определения
ActionWashHeadWater .c:11
OnStart
void OnStart(Param par=null)
Определения
PPERequestPlatformsBase.c:787
ActionBaseCB::m_ActionData
ActionData m_ActionData
Определения
AnimatedActionBase.c:3
ActionContinuousBase::GetInputType
override GetInputType()
Определения
ActionContinuousBase.c:179
ActionContinuousBaseCB
Определения
ActionContinuousBase.c:2
ActionData::m_Player
PlayerBase m_Player
Определения
ActionBase.c:40
ActionData
Определения
ActionBase.c:22
ActionWashHeadWaterCB::CreateActionComponent
override void CreateActionComponent()
Определения
ActionWashHeadWater .c:3
ActionWashHeadWaterCB
Определения
ActionWashHeadWater .c:2
ActionWashHeadWettingClothesBase::GetEyeIrritationReduction
float GetEyeIrritationReduction()
Определения
ActionWashHeadWettingClothesBase.c:46
ActionWashHeadWettingClothesBase
Определения
ActionWashHeadWettingClothesBase.c:2
AnimatedActionBase::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения
AnimatedActionBase.c:244
CAContinuousRepeat
Определения
CAContinuousRepeat.c:2
CCINone
Определения
CCINone.c:2
CCTLiquid
Определения
CCTLiquid.c:2
ContinuousInteractActionInput
Определения
ActionInput.c:546
ItemBase
Определения
4_World/DayZ/Entities/Core/Inherited/InventoryItem.c:878
PlayerBase
Определения
PlayerBaseClient.c:2
UAMaxDistances::DEFAULT
const float DEFAULT
Определения
ActionConstants.c:114
UAMaxDistances
Определения
ActionConstants.c:112
UATimeSpent::WASH_HANDS
const float WASH_HANDS
Определения
ActionConstants.c:87
UATimeSpent
Определения
ActionConstants.c:28
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Определения
dayzplayer.c:602
LIQUID_HOTWATER
const int LIQUID_HOTWATER
Определения
3_Game/DayZ/constants.c:590
LIQUID_GROUP_WATER
const int LIQUID_GROUP_WATER
Определения
3_Game/DayZ/constants.c:594
LIQUID_SNOW
const int LIQUID_SNOW
Определения
3_Game/DayZ/constants.c:586
OnEnd
void OnEnd()
Определения
Sound.c:226
Ishodniki
scripts
4_World
DayZ
Classes
UserActionsComponent
Actions
Continuous
ActionWashHeadWater .c
Создано системой
1.13.2