class ActionSawPlanksSource
ActionSawPlanks › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
All members, including inherited
Constructors 1
void ActionSawPlanks()Constants 2
static const int DECREASE_HEALTH_OF_TOOL_DEFAULT = 10this constant is not use anymore see ActionConstants.c UADamageApplied
static const int YIELD = 3Referenced by OnFinishProgressServer()
Members 2
ItemBase m_Planksref InventoryLocation m_PlanksLocation = new InventoryLocationMethods 5
override void CreateConditionComponents()References new CCTNonRuined(), UAMaxDistances.DEFAULT, ActionBase.m_ConditionItem
Show 1 more
, ActionBase.m_ConditionTargetoverride bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)References ComponentEnergyManager.CanWork(), EntityAI.GetCompEM(), ActionTarget.GetObject()
Show 3 more
, Object.GetType(), EntityAI.HasEnergyManager(), and Class.IsInherited()override ActionData CreateActionData()References new SawPlanksActionData()
override void OnFinishProgressServer(ActionData action_data)References ItemBase.AddQuantity(), Class.Cast(), Class.Cast()
Show 12 more
, Object.DecreaseHealth(), ActionTarget.GetObject(), ItemBase.GetQuantity(), ItemBase.GetQuantityMax(), PileOfWoodenPlanks.RemovePlanks(), ItemBase.SetQuantity(), SpawnNewPlankPile(), SawPlanksActionData.m_LastPlanksPile, ActionData.m_MainItem, ActionData.m_Target, UADamageApplied.SAW_PLANKS, and YIELDprotected void SpawnNewPlankPile(SawPlanksActionData data, float quantity)Referenced by OnFinishProgressServer()