DayZ
1.24
Loading...
Searching...
No Matches
CASingleUseTurnOnPlugged.c
Go to the documentation of this file.
1
class
CASingleUseTurnOnPlugged
:
CASingleUse
2
{
3
override
int
Execute
(
ActionData
action_data
)
4
{
5
if
(!
action_data
.m_MainItem)
6
return
UA_ERROR
;
7
if
(!
action_data
.m_MainItem.GetCompEM().CanWork())
8
return
UA_FINISHED
;
9
return
UA_FINISHED
;
10
}
11
};
ActionData
Definition
ActionBase.c:21
CASingleUse
Definition
CASingleUse.c:2
CASingleUseTurnOnPlugged
Definition
CASingleUseTurnOnPlugged.c:2
CASingleUseTurnOnPlugged::Execute
override int Execute(ActionData action_data)
Definition
CASingleUseTurnOnPlugged.c:3
Param3
Definition
EntityAI.c:95
UA_FINISHED
const int UA_FINISHED
Definition
constants.c:436
UA_ERROR
const int UA_ERROR
Definition
constants.c:455
scripts
4_World
Classes
UserActionsComponent
ActionComponents
CASingleUseTurnOnPlugged.c
Generated by
1.10.0