Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
casingleuseturnonplugged.c
Go to the documentation of this file.
2{
3 override int Execute( ActionData action_data )
4 {
5 if ( !action_data.m_MainItem )
6 {
7 return UA_ERROR;
8 }
9 if ( !action_data.m_MainItem.GetCompEM().CanWork() )
10 {
11 return UA_FINISHED;
12 }
13 return UA_FINISHED;
14 }
15};
const int UA_FINISHED
Definition constants.c:466
const int UA_ERROR
Definition constants.c:485