17 if (
player.IsPlacingLocal())
25 if (
item.HasEnergyManager() && !
item.GetCompEM().IsPlugged() &&
targetIB.HasEnergyManager() &&
targetIB.GetCompEM().CanReceivePlugFrom(
item))
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
ItemBase GetAttachedDevice(ItemBase parent)
override void OnExecuteServer(ActionData action_data)
override void OnExecuteClient(ActionData action_data)
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
void Process(ActionData action_data)
DayZPlayerConstants
defined in C++