M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.IDetachment.
Public Member Functions | |
AttackEntityOrderDetachment (GameEntity targetEntity) | |
Vec3 | GetPosition () |
void | AddAgent (Agent agent, int slotIndex) |
void | AddAgentAtSlotIndex (Agent agent, int slotIndex) |
bool | IsUsedByFormation (Formation formation) |
bool | IsStandingPointAvailableForAgent (Agent agent) |
List< float > | GetTemplateCostsOfAgent (Agent candidate, List< float > oldValue) |
float | GetTemplateWeightOfAgent (Agent candidate) |
float? | GetWeightOfAgentAtNextSlot (List< Agent > newAgents, out Agent match) |
float? | GetWeightOfAgentAtNextSlot (List< ValueTuple< Agent, float > > agentTemplateScores, out Agent match) |
float? | GetWeightOfAgentAtOccupiedSlot (Agent detachedAgent, List< Agent > newAgents, out Agent match) |
void | RemoveAgent (Agent agent) |
WorldFrame? | GetAgentFrame (Agent agent) |
Returns null for siege weapons and other detachments that sets scripted frame for the agent. Returns a frame otherwise. | |
float? | GetWeightOfNextSlot (BattleSideEnum side) |
Null if there is no vacancy left. Otherwise it is a positive number. | |
float | GetWeightOfOccupiedSlot (Agent agent) |
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) |
Properties | |
MBReadOnlyList< Formation > | UserFormations [get] |
bool | IsLoose [get] |
bool | IsActive [get] |
![]() | |
MBReadOnlyList< Formation > | UserFormations [get] |
bool | IsLoose [get] |
TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.AttackEntityOrderDetachment | ( | GameEntity | targetEntity | ) |
Vec3 TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetPosition | ( | ) |
void TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.AddAgent | ( | Agent | agent, |
int | slotIndex | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
void TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.AddAgentAtSlotIndex | ( | Agent | agent, |
int | slotIndex | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
bool TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.IsUsedByFormation | ( | Formation | formation | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
bool TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.IsStandingPointAvailableForAgent | ( | Agent | agent | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
List< float > TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetTemplateCostsOfAgent | ( | Agent | candidate, |
List< float > | oldValue | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetTemplateWeightOfAgent | ( | Agent | candidate | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float? TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetWeightOfAgentAtNextSlot | ( | List< Agent > | newAgents, |
out Agent | match | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float? TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetWeightOfAgentAtNextSlot | ( | List< ValueTuple< Agent, float > > | agentTemplateScores, |
out Agent | match | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float? TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetWeightOfAgentAtOccupiedSlot | ( | Agent | detachedAgent, |
List< Agent > | newAgents, | ||
out Agent | match | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
void TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.RemoveAgent | ( | Agent | agent | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
WorldFrame? TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetAgentFrame | ( | Agent | detachedAgent | ) |
float? TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetWeightOfNextSlot | ( | BattleSideEnum | side | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float TaleWorlds.MountAndBlade.AttackEntityOrderDetachment.GetWeightOfOccupiedSlot | ( | Agent | agent | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
|
get |
Implements TaleWorlds.MountAndBlade.IDetachment.
|
get |
Implements TaleWorlds.MountAndBlade.IDetachment.
|
get |