DayZ 1.24
Loading...
Searching...
No Matches
CASingleUseTurnOnPlugged Class Reference
Inheritance diagram for CASingleUseTurnOnPlugged:
[legend]
Collaboration diagram for CASingleUseTurnOnPlugged:
[legend]

Private Member Functions

override int Execute (ActionData action_data)
 

Detailed Description

Definition at line 1 of file CASingleUseTurnOnPlugged.c.

Member Function Documentation

◆ Execute()

override int CASingleUseTurnOnPlugged::Execute ( ActionData action_data)
inlineprivate

Definition at line 3 of file CASingleUseTurnOnPlugged.c.

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 }
const int UA_FINISHED
Definition constants.c:436
const int UA_ERROR
Definition constants.c:455

References UA_ERROR, and UA_FINISHED.


The documentation for this class was generated from the following file: