DayZ
1.28
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionCraftRopeBelt.c
См. документацию.
1
class
ActionCraftRopeBeltCB
:
ActionContinuousBaseCB
2
{
3
override
void
CreateActionComponent
()
4
{
5
m_ActionData
.m_ActionComponent =
new
CAContinuousTime
(3);
6
}
7
};
8
9
class
ActionCraftRopeBelt
:
ActionContinuousBase
10
{
11
void
ActionCraftRopeBelt
()
12
{
13
m_CallbackClass
=
ActionCraftRopeBeltCB
;
14
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONFB_CRAFTING;
15
m_FullBody
=
true
;
16
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_CROUCH;
17
m_SpecialtyWeight
= UASoftSkillsWeight.ROUGH_HIGH;
18
m_Text
=
"#STR_CraftRopeBelt"
;
19
}
20
21
override
void
CreateConditionComponents
()
22
{
23
m_ConditionItem
=
new
CCINonRuined
;
24
m_ConditionTarget
=
new
CCTNone
;
25
}
26
27
override
bool
ActionCondition
(
PlayerBase
player,
ActionTarget
target,
ItemBase
item )
28
{
29
return
true
;
30
}
31
32
override
bool
HasTarget
()
33
{
34
return
false
;
35
}
36
37
override
void
OnFinishProgressServer
(
ActionData
action_data )
38
{
39
EntityAI
item_ingredient = action_data.m_MainItem;
40
EntityAI
belt = action_data.m_Player.SpawnEntityOnGroundRaycastDispersed(
"RopeBelt"
);
41
action_data.m_MainItem.Delete();
42
43
MiscGameplayFunctions.TransferItemProperties(item_ingredient, belt);
44
45
}
46
};
ActionData
ActionBase ActionData
Определения
ActionBase.c:30
ActionTarget
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
Определения
ActionTargets.c:121
ActionBase::m_SpecialtyWeight
float m_SpecialtyWeight
Определения
ActionBase.c:77
ActionBase::m_StanceMask
int m_StanceMask
Определения
ActionBase.c:62
ActionBase::m_Text
string m_Text
Определения
ActionBase.c:58
ActionBase::m_ConditionItem
ref CCIBase m_ConditionItem
Определения
ActionBase.c:64
ActionBase::m_FullBody
bool m_FullBody
Определения
ActionBase.c:61
ActionBase::m_ConditionTarget
ref CCTBase m_ConditionTarget
Определения
ActionBase.c:65
ActionBaseCB::m_ActionData
ActionData m_ActionData
Определения
AnimatedActionBase.c:3
ActionContinuousBase::ActionContinuousBase
void ActionContinuousBase()
Определения
ActionContinuousBase.c:124
ActionContinuousBaseCB
Определения
ActionContinuousBase.c:2
ActionCraftRopeBelt::HasTarget
override bool HasTarget()
Определения
ActionCraftRopeBelt.c:32
ActionCraftRopeBelt::CreateConditionComponents
override void CreateConditionComponents()
Определения
ActionCraftRopeBelt.c:21
ActionCraftRopeBelt::OnFinishProgressServer
override void OnFinishProgressServer(ActionData action_data)
Определения
ActionCraftRopeBelt.c:37
ActionCraftRopeBelt::ActionCraftRopeBelt
void ActionCraftRopeBelt()
Определения
ActionCraftRopeBelt.c:11
ActionCraftRopeBelt::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения
ActionCraftRopeBelt.c:27
ActionCraftRopeBeltCB::CreateActionComponent
override void CreateActionComponent()
Определения
ActionCraftRopeBelt.c:3
ActionCraftRopeBeltCB
Определения
ActionCraftRopeBelt.c:2
AnimatedActionBase::m_CommandUID
int m_CommandUID
Определения
AnimatedActionBase.c:143
AnimatedActionBase::m_CallbackClass
m_CallbackClass
Определения
AnimatedActionBase.c:145
CAContinuousTime
Определения
CAContinuousTime.c:2
CCINonRuined
Определения
CCINonRuined.c:2
CCTNone
Определения
CCTNone.c:2
EntityAI
Определения
3_Game/Entities/Building.c:6
ItemBase
Определения
4_World/Entities/Core/Inherited/InventoryItem.c:731
PlayerBase
Определения
PlayerBaseClient.c:2
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Определения
dayzplayer.c:602
Ishodniki
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
ActionCraftRopeBelt.c
Создано системой
1.13.2