Inherited by TaleWorlds.MountAndBlade.AttackEntityOrderDetachment, TaleWorlds.MountAndBlade.StonePile, TaleWorlds.MountAndBlade.StrategicArea, and TaleWorlds.MountAndBlade.UsableMachine.
|
bool | IsAgentUsingOrInterested (Agent agent) |
|
float? | GetWeightOfNextSlot (BattleSideEnum side) |
| Null if there is no vacancy left. Otherwise it is a positive number.
|
|
float | GetDetachmentWeight (BattleSideEnum side) |
|
float | ComputeAndCacheDetachmentWeight (BattleSideEnum side) |
|
float | GetDetachmentWeightFromCache () |
|
void | GetSlotIndexWeightTuples (List< ValueTuple< int, float > > slotIndexWeightTuples) |
|
bool | IsSlotAtIndexAvailableForAgent (int slotIndex, Agent agent) |
|
bool | IsAgentEligible (Agent agent) |
|
void | AddAgentAtSlotIndex (Agent agent, int slotIndex) |
|
Agent | GetMovingAgentAtSlotIndex (int slotIndex) |
|
void | MarkSlotAtIndex (int slotIndex) |
|
bool | IsDetachmentRecentlyEvaluated () |
|
void | UnmarkDetachment () |
|
float? | GetWeightOfAgentAtNextSlot (List< Agent > candidates, out Agent match) |
|
float? | GetWeightOfAgentAtNextSlot (List< ValueTuple< Agent, float > > agentTemplateScores, out Agent match) |
|
float | GetTemplateWeightOfAgent (Agent candidate) |
|
List< float > | GetTemplateCostsOfAgent (Agent candidate, List< float > oldValue) |
|
float | GetExactCostOfAgentAtSlot (Agent candidate, int slotIndex) |
|
float | GetWeightOfOccupiedSlot (Agent detachedAgent) |
|
float? | GetWeightOfAgentAtOccupiedSlot (Agent detachedAgent, List< Agent > candidates, out Agent match) |
|
bool | IsStandingPointAvailableForAgent (Agent agent) |
|
void | AddAgent (Agent agent, int slotIndex=-1) |
|
void | RemoveAgent (Agent detachedAgent) |
|
void | FormationStartUsing (Formation formation) |
|
void | FormationStopUsing (Formation formation) |
|
bool | IsUsedByFormation (Formation formation) |
|
WorldFrame? | GetAgentFrame (Agent detachedAgent) |
| Returns null for siege weapons and other detachments that sets scripted frame for the agent. Returns a frame otherwise.
|
|
void | ResetEvaluation () |
|
bool | IsEvaluated () |
|
void | SetAsEvaluated () |
|
void | OnFormationLeave (Formation formation) |
|
◆ IsAgentUsingOrInterested()
bool TaleWorlds.MountAndBlade.IDetachment.IsAgentUsingOrInterested |
( |
Agent |
agent | ) |
|
◆ GetWeightOfNextSlot()
float? TaleWorlds.MountAndBlade.IDetachment.GetWeightOfNextSlot |
( |
BattleSideEnum |
side | ) |
|
◆ GetDetachmentWeight()
float TaleWorlds.MountAndBlade.IDetachment.GetDetachmentWeight |
( |
BattleSideEnum |
side | ) |
|
◆ ComputeAndCacheDetachmentWeight()
float TaleWorlds.MountAndBlade.IDetachment.ComputeAndCacheDetachmentWeight |
( |
BattleSideEnum |
side | ) |
|
◆ GetDetachmentWeightFromCache()
float TaleWorlds.MountAndBlade.IDetachment.GetDetachmentWeightFromCache |
( |
| ) |
|
◆ GetSlotIndexWeightTuples()
void TaleWorlds.MountAndBlade.IDetachment.GetSlotIndexWeightTuples |
( |
List< ValueTuple< int, float > > |
slotIndexWeightTuples | ) |
|
◆ IsSlotAtIndexAvailableForAgent()
bool TaleWorlds.MountAndBlade.IDetachment.IsSlotAtIndexAvailableForAgent |
( |
int |
slotIndex, |
|
|
Agent |
agent |
|
) |
| |
◆ IsAgentEligible()
bool TaleWorlds.MountAndBlade.IDetachment.IsAgentEligible |
( |
Agent |
agent | ) |
|
◆ AddAgentAtSlotIndex()
void TaleWorlds.MountAndBlade.IDetachment.AddAgentAtSlotIndex |
( |
Agent |
agent, |
|
|
int |
slotIndex |
|
) |
| |
◆ GetMovingAgentAtSlotIndex()
Agent TaleWorlds.MountAndBlade.IDetachment.GetMovingAgentAtSlotIndex |
( |
int |
slotIndex | ) |
|
◆ MarkSlotAtIndex()
void TaleWorlds.MountAndBlade.IDetachment.MarkSlotAtIndex |
( |
int |
slotIndex | ) |
|
◆ IsDetachmentRecentlyEvaluated()
bool TaleWorlds.MountAndBlade.IDetachment.IsDetachmentRecentlyEvaluated |
( |
| ) |
|
◆ UnmarkDetachment()
void TaleWorlds.MountAndBlade.IDetachment.UnmarkDetachment |
( |
| ) |
|
◆ GetWeightOfAgentAtNextSlot() [1/2]
float? TaleWorlds.MountAndBlade.IDetachment.GetWeightOfAgentAtNextSlot |
( |
List< Agent > |
candidates, |
|
|
out Agent |
match |
|
) |
| |
◆ GetWeightOfAgentAtNextSlot() [2/2]
float? TaleWorlds.MountAndBlade.IDetachment.GetWeightOfAgentAtNextSlot |
( |
List< ValueTuple< Agent, float > > |
agentTemplateScores, |
|
|
out Agent |
match |
|
) |
| |
◆ GetTemplateWeightOfAgent()
float TaleWorlds.MountAndBlade.IDetachment.GetTemplateWeightOfAgent |
( |
Agent |
candidate | ) |
|
◆ GetTemplateCostsOfAgent()
List< float > TaleWorlds.MountAndBlade.IDetachment.GetTemplateCostsOfAgent |
( |
Agent |
candidate, |
|
|
List< float > |
oldValue |
|
) |
| |
◆ GetExactCostOfAgentAtSlot()
float TaleWorlds.MountAndBlade.IDetachment.GetExactCostOfAgentAtSlot |
( |
Agent |
candidate, |
|
|
int |
slotIndex |
|
) |
| |
◆ GetWeightOfOccupiedSlot()
float TaleWorlds.MountAndBlade.IDetachment.GetWeightOfOccupiedSlot |
( |
Agent |
detachedAgent | ) |
|
◆ GetWeightOfAgentAtOccupiedSlot()
float? TaleWorlds.MountAndBlade.IDetachment.GetWeightOfAgentAtOccupiedSlot |
( |
Agent |
detachedAgent, |
|
|
List< Agent > |
candidates, |
|
|
out Agent |
match |
|
) |
| |
◆ IsStandingPointAvailableForAgent()
bool TaleWorlds.MountAndBlade.IDetachment.IsStandingPointAvailableForAgent |
( |
Agent |
agent | ) |
|
◆ AddAgent()
void TaleWorlds.MountAndBlade.IDetachment.AddAgent |
( |
Agent |
agent, |
|
|
int |
slotIndex = -1 |
|
) |
| |
◆ RemoveAgent()
void TaleWorlds.MountAndBlade.IDetachment.RemoveAgent |
( |
Agent |
detachedAgent | ) |
|
◆ FormationStartUsing()
void TaleWorlds.MountAndBlade.IDetachment.FormationStartUsing |
( |
Formation |
formation | ) |
|
◆ FormationStopUsing()
void TaleWorlds.MountAndBlade.IDetachment.FormationStopUsing |
( |
Formation |
formation | ) |
|
◆ IsUsedByFormation()
bool TaleWorlds.MountAndBlade.IDetachment.IsUsedByFormation |
( |
Formation |
formation | ) |
|
◆ GetAgentFrame()
WorldFrame? TaleWorlds.MountAndBlade.IDetachment.GetAgentFrame |
( |
Agent |
detachedAgent | ) |
|
◆ ResetEvaluation()
void TaleWorlds.MountAndBlade.IDetachment.ResetEvaluation |
( |
| ) |
|
◆ IsEvaluated()
bool TaleWorlds.MountAndBlade.IDetachment.IsEvaluated |
( |
| ) |
|
◆ SetAsEvaluated()
void TaleWorlds.MountAndBlade.IDetachment.SetAsEvaluated |
( |
| ) |
|
◆ OnFormationLeave()
void TaleWorlds.MountAndBlade.IDetachment.OnFormationLeave |
( |
Formation |
formation | ) |
|
◆ UserFormations
◆ IsLoose
bool TaleWorlds.MountAndBlade.IDetachment.IsLoose |
|
get |