47 return item.HasEnergyManager() &&
item.GetCompEM().CanSwitchOff();
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionTurnOffWhileInHands()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnExecuteServer(ActionData action_data)
override void CreateConditionComponents()
override bool HasTarget()
override bool HasProneException()
DayZPlayerConstants
defined in C++