38 if (slot && slot.GetPlant())
52 m_Plant = PlantBase.Cast(slot.GetPlant());
73 m_Plant = PlantBase.Cast(slot.GetPlant());
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
override void OnExecuteServer(ActionData action_data)
override void CreateConditionComponents()
override void OnActionInfoUpdate(PlayerBase player, ActionTarget target, ItemBase item)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Slot GetPlantSlot(ActionTarget target)
void ActionHarvestCrops()
Super root of all classes in Enforce script.
const float PRECISE_MEDIUM
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.