Class StonePile
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class StonePile : UsableMachine, IFocusable, IOrderable, IDetachment
- Inheritance
-
StonePile
- Implements
- Inherited Members
Constructors
StonePile()
protected StonePile()
Fields
GivenItemID
public string GivenItemID
Field Value
StartingAmmoCount
public int StartingAmmoCount
Field Value
Properties
AmmoCount
public int AmmoCount { get; protected set; }
Property Value
HasThrowingPointUsed
public bool HasThrowingPointUsed { get; }
Property Value
MaxUserCount
public override int MaxUserCount { get; }
Property Value
Side
public virtual BattleSideEnum Side { get; }
Property Value
Methods
AfterMissionStart()
public override void AfterMissionStart()
CheckAmmo()
protected virtual void CheckAmmo()
ConsumeAmmo()
protected void ConsumeAmmo()
CreateAIBehaviorObject()
public override UsableMachineAIBase CreateAIBehaviorObject()
Returns
GetActionTextForStandingPoint(UsableMissionObject)
public override TextObject GetActionTextForStandingPoint(UsableMissionObject usableGameObject)
Parameters
usableGameObject
UsableMissionObject
Returns
GetBestPointAlternativeTo(StandingPoint, Agent)
public override StandingPoint GetBestPointAlternativeTo(StandingPoint standingPoint, Agent agent)
Parameters
standingPoint
StandingPointagent
Agent
Returns
GetDescriptionText(GameEntity)
public override string GetDescriptionText(GameEntity gameEntity = null)
Parameters
gameEntity
GameEntity
Returns
GetDetachmentWeightAux(BattleSideEnum)
protected override float GetDetachmentWeightAux(BattleSideEnum side)
Parameters
side
BattleSideEnum
Returns
GetSuitableStandingPointFor(BattleSideEnum, Agent, List<Agent>, List<(Agent, float)>)
protected override StandingPoint GetSuitableStandingPointFor(BattleSideEnum side, Agent agent = null, List<Agent> agents = null, List<(Agent, float)> agentValuePairs = null)
Parameters
Returns
GetTickRequirement()
public override ScriptComponentBehavior.TickRequirement GetTickRequirement()
Returns
IsInRangeToCheckAlternativePoints(Agent)
public override bool IsInRangeToCheckAlternativePoints(Agent agent)
Parameters
agent
Agent
Returns
OnInit()
protected override void OnInit()
OnMissionReset()
protected override void OnMissionReset()
OnTick(float)
protected override void OnTick(float dt)
Parameters
dt
float
SetAmmo(int)
public void SetAmmo(int ammoLeft)
Parameters
ammoLeft
int
UpdateAmmoMesh()
protected virtual void UpdateAmmoMesh()
WriteToNetwork()
public override void WriteToNetwork()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).