52 return item.HasEnergyManager() &&
item.GetCompEM().CanSwitchOn() &&
item.GetCompEM().CanWork();
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
override void OnStartClient(ActionData action_data)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnStartServer(ActionData action_data)
override bool HasTarget()
override void OnExecuteServer(ActionData action_data)
override void CreateConditionComponents()
void ActionTurnOnWhileInHands()
override bool HasProneException()
DayZPlayerConstants
defined in C++