31 if ( player && shelter )
33 PluginRepairing module_repairing;
35 if (module_repairing.CanRepair(item,shelter))
50 PluginRepairing module_repairing;
52 module_repairing.Repair(action_data.m_Player,action_data.m_MainItem,shelter,
m_SpecialtyWeight);
class ActionTargets ActionTarget
PluginBase GetPlugin(typename plugin_type)
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionRepairShelter()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void CreateConditionComponents()
override bool IsUsingProxies()
override void OnFinishProgressServer(ActionData action_data)
Super root of all classes in Enforce script.
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.