DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionCraftArmband.c
См. документацию.
1
class
ActionCraftArmbandCB
:
ActionContinuousBaseCB
2
{
3
override
void
CreateActionComponent
()
4
{
5
m_ActionData
.m_ActionComponent =
new
CAContinuousTime
(
UATimeSpent
.
BANDAGE
);
6
}
7
}
8
9
class
ActionCraftArmband
:
ActionContinuousBase
10
{
11
void
ActionCraftArmband
()
12
{
13
m_CallbackClass =
ActionCraftArmbandCB
;
14
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONFB_CRAFTING;
15
m_FullBody =
true
;
16
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_CROUCH;
17
m_SpecialtyWeight = UASoftSkillsWeight.PRECISE_LOW;
18
m_Text =
"#STR_craftarmband0"
;
19
}
20
21
override
void
CreateConditionComponents
()
22
{
23
m_ConditionItem =
new
CCINonRuined
();
24
m_ConditionTarget =
new
CCTSelf
();
25
}
26
27
override
bool
HasTarget
()
28
{
29
return
false
;
30
}
31
32
override
bool
ActionCondition
(
PlayerBase
player,
ActionTarget
target,
ItemBase
item)
33
{
34
return
true
;
35
}
36
37
override
void
OnFinishProgressServer
(
ActionData
action_data)
38
{
39
EntityAI
armband = action_data.m_Player.SpawnEntityOnGroundRaycastDispersed(
"Armband_White"
);
40
action_data.m_MainItem.AddQuantity(-1);
41
42
MiscGameplayFunctions.TransferItemProperties(action_data.m_MainItem, armband);
43
}
44
45
override
string
GetSoundCategory
(
ActionData
action_data)
46
{
47
return
"ImprovisedCloth_craft"
;
48
}
49
}
m_CommandUID
int m_CommandUID
Определения
ActionBase.c:31
m_StanceMask
int m_StanceMask
Определения
ActionBase.c:33
ActionData
ActionBase ActionData
Определения
ActionBase.c:30
ActionCraftArmband
ActionCraftArmbandCB ActionContinuousBaseCB ActionCraftArmband()
Определения
ActionCraftArmband.c:11
ActionTarget
class ActionTargets ActionTarget
ActionBase::HasTarget
bool HasTarget()
Определения
ActionBase.c:244
ActionBase::GetSoundCategory
string GetSoundCategory(ActionData action_data)
Определения
ActionBase.c:1219
ActionBase::CreateConditionComponents
void CreateConditionComponents()
Определения
ActionBase.c:230
ActionBaseCB::m_ActionData
ActionData m_ActionData
Определения
AnimatedActionBase.c:3
ActionContinuousBase::OnFinishProgressServer
void OnFinishProgressServer(ActionData action_data)
Определения
ActionContinuousBase.c:283
ActionContinuousBaseCB
Определения
ActionContinuousBase.c:2
ActionContinuousBase
Определения
ActionContinuousBase.c:121
ActionCraftArmbandCB::CreateActionComponent
override void CreateActionComponent()
Определения
ActionCraftArmband.c:3
ActionCraftArmbandCB
Определения
ActionCraftArmband.c:2
AnimatedActionBase::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения
AnimatedActionBase.c:240
CAContinuousTime
Определения
CAContinuousTime.c:2
CCINonRuined
Определения
CCINonRuined.c:2
CCTSelf
Определения
CCTSelf.c:2
EntityAI
Определения
Building.c:6
ItemBase
Определения
InventoryItem.c:731
PlayerBase
Определения
PlayerBaseClient.c:2
UATimeSpent::BANDAGE
const float BANDAGE
Определения
ActionConstants.c:43
UATimeSpent
Определения
ActionConstants.c:28
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Определения
dayzplayer.c:602
Ishodniki
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
ActionCraftArmband.c
Создано системой
1.13.2