Class StrategicArea
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class StrategicArea : MissionObject, IDetachment
- Inheritance
-
StrategicArea
- Implements
- Inherited Members
Constructors
StrategicArea()
public StrategicArea()
Properties
DistanceToCheck
public float DistanceToCheck { get; }
Property Value
IgnoreHeight
public bool IgnoreHeight { get; }
Property Value
IsActive
public bool IsActive { get; set; }
Property Value
IsLoose
public bool IsLoose { get; }
Property Value
UserFormations
public MBReadOnlyList<Formation> UserFormations { get; }
Property Value
Methods
AddAgent(Agent, int)
public void AddAgent(Agent agent, int slotIndex)
Parameters
AddAgentAtSlotIndex(Agent, int)
public void AddAgentAtSlotIndex(Agent agent, int slotIndex)
Parameters
DetermineAssociatedDestructibleComponents(IEnumerable<DestructableComponent>)
public void DetermineAssociatedDestructibleComponents(IEnumerable<DestructableComponent> destructibleComponents)
Parameters
destructibleComponents
IEnumerable<DestructableComponent>
GetAgentFrame(Agent)
public WorldFrame? GetAgentFrame(Agent agent)
Parameters
agent
Agent
Returns
GetGroundPosition()
public Vec3 GetGroundPosition()
Returns
GetNumberOfUsableSlots()
public int GetNumberOfUsableSlots()
Returns
GetTemplateCostsOfAgent(Agent, List<float>)
public List<float> GetTemplateCostsOfAgent(Agent candidate, List<float> oldValue)
Parameters
Returns
GetTemplateWeightOfAgent(Agent)
public float GetTemplateWeightOfAgent(Agent candidate)
Parameters
candidate
Agent
Returns
GetWeightOfAgentAtNextSlot(List<(Agent, float)>, out Agent)
public float? GetWeightOfAgentAtNextSlot(List<(Agent, float)> agentTemplateScores, out Agent match)
Parameters
Returns
GetWeightOfAgentAtNextSlot(List<Agent>, out Agent)
public float? GetWeightOfAgentAtNextSlot(List<Agent> newAgents, out Agent match)
Parameters
Returns
GetWeightOfAgentAtOccupiedSlot(Agent, List<Agent>, out Agent)
public float? GetWeightOfAgentAtOccupiedSlot(Agent detachedAgent, List<Agent> newAgents, out Agent match)
Parameters
Returns
GetWeightOfNextSlot(BattleSideEnum)
public float? GetWeightOfNextSlot(BattleSideEnum side)
Parameters
side
BattleSideEnum
Returns
GetWeightOfOccupiedSlot(Agent)
public float GetWeightOfOccupiedSlot(Agent agent)
Parameters
agent
Agent
Returns
InitializeAutogenerated(float, int, BattleSideEnum)
public void InitializeAutogenerated(float width, int capacity, BattleSideEnum side)
Parameters
width
floatcapacity
intside
BattleSideEnum
IsAgentEligible(Agent)
public bool IsAgentEligible(Agent agent)
Parameters
agent
Agent
Returns
IsStandingPointAvailableForAgent(Agent)
public bool IsStandingPointAvailableForAgent(Agent agent)
Parameters
agent
Agent
Returns
IsUsableBy(BattleSideEnum)
public bool IsUsableBy(BattleSideEnum side)
Parameters
side
BattleSideEnum
Returns
IsUsedByFormation(Formation)
public bool IsUsedByFormation(Formation formation)
Parameters
formation
Formation
Returns
OnCheckForProblems()
protected override bool OnCheckForProblems()
Returns
OnInit()
protected override void OnInit()
OnParentGameEntityVisibilityChanged(bool)
public void OnParentGameEntityVisibilityChanged(bool isVisible)
Parameters
isVisible
bool
OnRemoved(int)
protected override void OnRemoved(int removeReason)
Parameters
removeReason
int
RemoveAgent(Agent)
public void RemoveAgent(Agent agent)
Parameters
agent
Agent
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).