Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actionworldcraftcancel.c
Go to the documentation of this file.
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
};
ItemBase
Definition:
inventoryitem.c:730
CCINone
Definition:
ccinone.c:1
CCTNone
Definition:
cctnone.c:1
PlayerBase
Definition:
playerbaseclient.c:1
ActionTarget
class ActionTargets ActionTarget
ActionData
Definition:
actionbase.c:20
ActionWorldCraftCancel
Definition:
actionworldcraftcancel.c:1
m_Text
protected string m_Text
Definition:
actionbase.c:49
ActionSingleUseBase
Definition:
actionsingleusebase.c:41
m_ConditionItem
ref CCIBase m_ConditionItem
Definition:
actionbase.c:55
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition:
actionbase.c:56
DAYZ
scripts_v1.24.157551
scripts
world
classes
useractionscomponent
actions
singleuse
actionworldcraftcancel.c
Generated by
1.8.17