class ActionBuildPart
ActionBuildPart › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
Methods 22
override void CreateConditionComponents()override void OnActionInfoUpdate(PlayerBase player, ActionTarget target, ItemBase item)override void InitInfoData()override bool CanBeUsedLeaning()override bool CanBeUsedInFreelook()override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)References EntityAI.CanUseConstruction(), EntityAI.CanUseConstructionBuild(), Class.CastTo()
Show 12 more
, MiscGameplayFunctions.ComplexBuildCollideCheckClient(), GatherInfoData(), PlayerBase.GetBrokenLegs(), PlayerBase.GetConstructionActionData(), ConstructionActionData.GetFastConstructionMode(), GetGame(), ActionTarget.GetObject(), CGame.IsDedicatedServer(), PlayerBase.IsPlacingLocal(), PlayerBase.IsPlacingServer(), PositioningCheck(), and ActionBase.m_VariantIDoverride bool ActionConditionContinue(ActionData action_data)References ConstructionBase.CanBuildPart(), Class.Cast(), Class.Cast()
Show 14 more
, Class.Cast(), PlayerBase.GetConstructionActionData(), EntityAI.GetConstructionBasic(), ConstructionActionData.GetFastConstructionMode(), GetGame(), ActionTarget.GetObject(), array.Insert(), ConstructionBase.IsCollidingEx(), CGame.IsServer(), CollisionCheckData.m_AdditionalExcludes, ActionData.m_MainItem, CollisionCheckData.m_PartName, ActionData.m_Player, and ActionData.m_Targetoverride void OnFinishProgressServer(ActionData action_data)References Object.AddHealth(), BleedingSourcesManagerBase.AttemptAddBleedingSourceBySelection(), ConstructionBase.BuildPartServerEx()
Show 29 more
, ConstructionBase.CanBuildPart(), Class.Cast(), Class.Cast(), Class.Cast(), ConstructionPart.DamageHandsOnBuild(), ConstructionPart.DamageToolOnBuild(), Object.DecreaseHealth(), GameInventory.FindAttachment(), PlayerBase.GetBleedingManagerServer(), PlayerBase.GetConstructionActionData(), EntityAI.GetConstructionBasic(), ConstructionBase.GetConstructionPart(), ConstructionActionData.GetFastConstructionMode(), Object.GetHealthLevel(), EntityAI.GetInventory(), ActionTarget.GetObject(), array.Insert(), ConstructionBase.IsCollidingEx(), Math.RandomFloat01(), PlayerBase.RequestSoundEventEx(), ActionBase.UseMainItem(), UADamageApplied.BUILD, PlayerConstants.CHANCE_TO_BLEED_HAND_CONSTRUCTION, PlayerConstants.GLOVES_DAMAGE_HAND_CONSTRUCTION, CollisionCheckData.m_AdditionalExcludes, ActionData.m_MainItem, CollisionCheckData.m_PartName, ActionData.m_Player, and ActionData.m_Targetoverride string GetSoundCategory(ActionData action_data)override ActionData CreateActionData()override bool SetupAction(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data = NULL)References ComposeBuildActionDataClient(), CGame.IsDedicatedServer(), SetBuildingAnimationEx()
Show 1 more
, ActionBase.SetupAction()protected void ComposeBuildActionDataClient(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data = NULL)References Class.Cast(), ConstructionActionData.GetBuildPartAtIndex(), PlayerBase.GetConstructionActionData()
Show 3 more
, ConstructionPart.GetPartName(), ActionData.m_Player, and ActionBase.m_VariantIDReferenced by SetupAction()
protected void SetBuildingAnimationEx(PlayerBase player, ActionTarget target, ItemBase item, ActionData action_data, Param extra_data = NULL)override void WriteToContext(ParamsWriteContext ctx, ActionData action_data)override bool ReadFromContext(ParamsReadContext ctx, out ActionReciveData action_recive_data)override void HandleReciveData(ActionReciveData action_recive_data, ActionData action_data)override string GetAdminLogMessage(ActionData action_data)References Class.Cast(), string.Format(), Object.GetDisplayName()
Show 4 more
, Object.GetDisplayName(), ActionTarget.GetObject(), ActionData.m_MainItem, and ActionData.m_Targetprotected void ClearInfoData()protected bool GatherInfoData(PlayerBase player, ActionTarget target, ItemBase item)Referenced by ActionCondition()
protected bool PositioningCheck(PlayerBase player, ActionTarget target)Can build from the inside only, if applicable
References Class.Cast(), Class.Cast(), Class.Cast()
Show 9 more
, ConstructionBase.ConstructionDirectionCheck(), ConstructionBase.ConstructionInsiderBoxCheck(), PlayerBase.GetConstructionActionData(), EntityAI.GetConstructionBasic(), ActionTarget.GetObject(), ConstructionPart.GetPartName(), GetTargetPart(), EntityAI.IsPlayerInsideEx(), and BaseBuildingBase.MustBeBuiltFromOutside()protected ConstructionPart GetTargetPart(ConstructionActionData cad)Does not work on server, since variants are not updated there (invoker does not invoke)
Referenced by PositioningCheck()
protected void SetBuildingAnimation(ItemBase item)References SetBuildingAnimationEx()