Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
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
};
ActionBase::m_Text
string m_Text
Definition
actionbase.c:58
ActionBase::m_ConditionItem
ref CCIBase m_ConditionItem
Definition
actionbase.c:64
ActionBase::m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition
actionbase.c:65
ActionSingleUseBase
Definition
actionsingleusebase.c:30
ActionWorldCraftCancel
Definition
actionworldcraftcancel.c:2
CCINone
Definition
ccinone.c:2
CCTNone
Definition
cctnone.c:2
ItemBase
Definition
inventoryitem.c:731
PlayerBase
Definition
playerbaseclient.c:2
Start
void Start()
Plays all elements this effects consists of.
Definition
effect.c:157
Daten
4_world
classes
useractionscomponent
actions
singleuse
actionworldcraftcancel.c
Generated by
1.12.0