29 garden_base.GetActionComponentNameList(target.GetComponentIndex(), selections);
32 for (
int s = 0; s < selections.Count(); s++)
34 selection = selections[s];
35 slot = garden_base.GetSlotBySelection( selection );
40 if ( slot && slot.GetPlant() )
53 m_Plant.RemovePlantEx( action_data.m_Player.GetPosition() );
class ActionTargets ActionTarget
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionInteractBase()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnExecuteServer(ActionData action_data)
override void CreateConditionComponents()
Super root of all classes in Enforce script.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.