Inherited by TaleWorlds.MountAndBlade.AttackEntityOrderDetachment, TaleWorlds.MountAndBlade.StonePile, TaleWorlds.MountAndBlade.StrategicArea, and TaleWorlds.MountAndBlade.UsableMachine.
|
bool | IsAgentUsingOrMovingTo (Agent agent) |
|
float? | GetWeightOfNextSlot (BattleSideEnum side) |
| Null if there is no vacancy left. Otherwise it is a positive number. More...
|
|
float | GetDetachmentWeight (BattleSideEnum side) |
|
float | ComputeAndCacheDetachmentWeight (BattleSideEnum side) |
|
float | GetDetachmentWeightFromCache () |
|
List< ValueTuple< int, float > > | GetSlotIndexWeightTuples () |
|
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 (IEnumerable< Agent > candidates, out Agent match) |
|
float? | GetWeightOfAgentAtNextSlot (IEnumerable< AgentValuePair< float > > agentTemplateScores, out Agent match) |
|
float | GetTemplateWeightOfAgent (Agent candidate) |
|
float[] | GetTemplateCostsOfAgent (Agent candidate, float[] oldValue) |
|
float | GetExactCostOfAgentAtSlot (Agent candidate, int slotIndex) |
|
float | GetWeightOfOccupiedSlot (Agent detachedAgent) |
|
float? | GetWeightOfAgentAtOccupiedSlot (Agent detachedAgent, IEnumerable< 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. More...
|
|
void | ResetEvaluation () |
|
bool | IsEvaluated () |
|
void | SetAsEvaluated () |
|
void | OnFormationLeave (Formation formation) |
|
◆ IsAgentUsingOrMovingTo()
bool TaleWorlds.MountAndBlade.IDetachment.IsAgentUsingOrMovingTo |
( |
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()
List< ValueTuple< int, float > > TaleWorlds.MountAndBlade.IDetachment.GetSlotIndexWeightTuples |
( |
| ) |
|
◆ 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 |
( |
IEnumerable< Agent > |
candidates, |
|
|
out Agent |
match |
|
) |
| |
◆ GetWeightOfAgentAtNextSlot() [2/2]
float? TaleWorlds.MountAndBlade.IDetachment.GetWeightOfAgentAtNextSlot |
( |
IEnumerable< AgentValuePair< float > > |
agentTemplateScores, |
|
|
out Agent |
match |
|
) |
| |
◆ GetTemplateWeightOfAgent()
float TaleWorlds.MountAndBlade.IDetachment.GetTemplateWeightOfAgent |
( |
Agent |
candidate | ) |
|
◆ GetTemplateCostsOfAgent()
float[] TaleWorlds.MountAndBlade.IDetachment.GetTemplateCostsOfAgent |
( |
Agent |
candidate, |
|
|
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, |
|
|
IEnumerable< 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 | ) |
|
◆ Agents
IEnumerable<Agent> TaleWorlds.MountAndBlade.IDetachment.Agents |
|
get |
◆ UserFormations
IReadOnlyList<Formation> TaleWorlds.MountAndBlade.IDetachment.UserFormations |
|
get |
◆ IsLoose
bool TaleWorlds.MountAndBlade.IDetachment.IsLoose |
|
get |