DayZ
1.24
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
};
m_Text
string m_Text
Definition
ActionBase.c:49
m_ConditionItem
ref CCIBase m_ConditionItem
Definition
ActionBase.c:55
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition
ActionBase.c:56
ActionData
Definition
ActionBase.c:21
ActionSingleUseBase
Definition
ActionSingleUseBase.c:40
ActionWorldCraftCancel
Definition
ActionWorldCraftCancel.c:2
ActionWorldCraftCancel::ActionWorldCraftCancel
void ActionWorldCraftCancel()
Definition
ActionWorldCraftCancel.c:3
ActionWorldCraftCancel::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Definition
ActionWorldCraftCancel.c:14
ActionWorldCraftCancel::Start
override void Start(ActionData action_data)
Definition
ActionWorldCraftCancel.c:19
ActionWorldCraftCancel::CreateConditionComponents
override void CreateConditionComponents()
Definition
ActionWorldCraftCancel.c:8
ActionWorldCraftCancel::IsLocal
override bool IsLocal()
Definition
ActionWorldCraftCancel.c:24
CCINone
Definition
CCINone.c:2
CCTNone
Definition
CCTNone.c:2
ItemBase
Definition
InventoryItem.c:697
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
scripts
4_World
Classes
UserActionsComponent
Actions
SingleUse
ActionWorldCraftCancel.c
Generated by
1.10.0