DayZ
1.28
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionWorldCraftCancel.c
См. документацию.
1
class
ActionWorldCraftCancel
:
ActionSingleUseBase
2
{
3
void
ActionWorldCraftCancel
()
4
{
5
m_Text
=
"#cancel"
;
6
}
7
8
override
void
CreateConditionComponents
()
9
{
10
m_ConditionItem
=
new
CCINone
;
11
m_ConditionTarget
=
new
CCTNone
;
12
}
13
14
override
bool
ActionCondition
(
PlayerBase
player,
ActionTarget
target,
ItemBase
item )
15
{
16
return
player.GetCraftingManager().IsInventoryCraft();
17
}
18
19
override
void
Start
(
ActionData
action_data )
//Setup on start of action
20
{
21
super.Start( action_data );
22
}
23
24
override
bool
IsLocal
()
25
{
26
return
true
;
27
}
28
};
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_Text
string m_Text
Определения
ActionBase.c:58
ActionBase::m_ConditionItem
ref CCIBase m_ConditionItem
Определения
ActionBase.c:64
ActionBase::m_ConditionTarget
ref CCTBase m_ConditionTarget
Определения
ActionBase.c:65
ActionSingleUseBase::ActionSingleUseBase
void ActionSingleUseBase()
Определения
ActionSingleUseBase.c:31
ActionWorldCraftCancel::ActionWorldCraftCancel
void ActionWorldCraftCancel()
Определения
ActionWorldCraftCancel.c:3
ActionWorldCraftCancel::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения
ActionWorldCraftCancel.c:14
ActionWorldCraftCancel::Start
override void Start(ActionData action_data)
Определения
ActionWorldCraftCancel.c:19
ActionWorldCraftCancel::CreateConditionComponents
override void CreateConditionComponents()
Определения
ActionWorldCraftCancel.c:8
ActionWorldCraftCancel::IsLocal
override bool IsLocal()
Определения
ActionWorldCraftCancel.c:24
CCINone
Определения
CCINone.c:2
CCTNone
Определения
CCTNone.c:2
ItemBase
Определения
4_World/Entities/Core/Inherited/InventoryItem.c:731
PlayerBase
Определения
PlayerBaseClient.c:2
Ishodniki
scripts
4_World
Classes
UserActionsComponent
Actions
SingleUse
ActionWorldCraftCancel.c
Создано системой
1.13.2