Class AttackEntityOrderDetachment
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class AttackEntityOrderDetachment : IDetachment
- Inheritance
-
AttackEntityOrderDetachment
- Implements
- Inherited Members
Constructors
AttackEntityOrderDetachment(GameEntity)
public AttackEntityOrderDetachment(GameEntity targetEntity)
Parameters
targetEntity
GameEntity
Properties
IsActive
public bool IsActive { get; }
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
GetAgentFrame(Agent)
public WorldFrame? GetAgentFrame(Agent agent)
Parameters
agent
Agent
Returns
GetNumberOfUsableSlots()
public int GetNumberOfUsableSlots()
Returns
GetPosition()
public Vec3 GetPosition()
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
IsStandingPointAvailableForAgent(Agent)
public bool IsStandingPointAvailableForAgent(Agent agent)
Parameters
agent
Agent
Returns
IsUsedByFormation(Formation)
public bool IsUsedByFormation(Formation formation)
Parameters
formation
Formation
Returns
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).