M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.MissionObject, and TaleWorlds.MountAndBlade.IDetachment.
Public Member Functions | |
Vec3 | GetGroundPosition () |
void | DetermineAssociatedDestructibleComponents (IEnumerable< DestructableComponent > destructibleComponents) |
void | OnParentGameEntityVisibilityChanged (bool isVisible) |
void | InitializeAutogenerated (float width, int capacity, BattleSideEnum side) |
void | AddAgent (Agent agent, int slotIndex) |
void | AddAgentAtSlotIndex (Agent agent, int slotIndex) |
bool | IsUsedByFormation (Formation formation) |
bool | IsAgentEligible (Agent agent) |
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 | IsUsableBy (BattleSideEnum side) |
![]() | |
MissionObject () | |
virtual void | SetAbilityOfFaces (bool enabled) |
override int | GetHashCode () |
virtual void | AfterMissionStart () |
void | SetDisabled (bool isParentObject=false) |
Only disables the mission object script and removes it from active mission objects list but the object entity remains visible with active physics. | |
void | SetDisabledAndMakeInvisible (bool isParentObject=false) |
Mission object is disabled and removed from active mission objects list, its entity is made invisible and therefore its physics is turned off. | |
virtual void | OnEndMission () |
virtual void | AddStuckMissile (GameEntity missileEntity) |
![]() | |
void | SetScriptComponentToTick (TickRequirement value) |
void | SetScriptComponentToTickMT (TickRequirement value) |
virtual TickRequirement | GetTickRequirement () |
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) |
Protected Member Functions | |
override void | OnRemoved (int removeReason) |
![]() | |
virtual void | AttachDynamicNavmeshToEntity () |
virtual GameEntity | GetEntityToAttachNavMeshFaces () |
override void | OnRemoved (int removeReason) |
![]() | |
void | InvalidateWeakPointersIfValid () |
ScriptComponentBehavior () | |
virtual void | OnRemoved (int removeReason) |
Properties | |
bool | IsLoose [get] |
MBReadOnlyList< Formation > | UserFormations [get] |
float | DistanceToCheck [get] |
bool | IgnoreHeight [get] |
bool | IsActive [get, set] |
![]() | |
MissionObjectId | Id [get, set] |
bool | IsDisabled [get] |
bool | CreatedAtRuntime [get] |
![]() | |
GameEntity | GameEntity [get] |
ManagedScriptComponent | ScriptComponent [get] |
ManagedScriptHolder | ManagedScriptHolder [get] |
Scene | Scene [get] |
![]() | |
MBReadOnlyList< Formation > | UserFormations [get] |
bool | IsLoose [get] |
Additional Inherited Members | |
![]() | |
enum | TickRequirement : uint { None = 0x00000000 , TickOccasionally = 0x00000001 , Tick = 0x00000002 , TickParallel = 0x00000004 , TickParallel2 = 0x00000008 } |
![]() | |
string | NavMeshPrefabName = "" |
int | DynamicNavmeshIdStart = 0 |
![]() | |
const int | InsideNavMeshIdLocal = 1 |
const int | EnterNavMeshIdLocal = 2 |
const int | ExitNavMeshIdLocal = 3 |
const int | BlockerNavMeshIdLocal = 4 |
const int | ExtraNavMesh1IdLocal = 5 |
const int | ExtraNavMesh2IdLocal = 6 |
const int | ExtraNavMesh3IdLocal = 7 |
Vec3 TaleWorlds.MountAndBlade.StrategicArea.GetGroundPosition | ( | ) |
void TaleWorlds.MountAndBlade.StrategicArea.DetermineAssociatedDestructibleComponents | ( | IEnumerable< DestructableComponent > | destructibleComponents | ) |
void TaleWorlds.MountAndBlade.StrategicArea.OnParentGameEntityVisibilityChanged | ( | bool | isVisible | ) |
|
protectedvirtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
void TaleWorlds.MountAndBlade.StrategicArea.InitializeAutogenerated | ( | float | width, |
int | capacity, | ||
BattleSideEnum | side | ||
) |
void TaleWorlds.MountAndBlade.StrategicArea.AddAgent | ( | Agent | agent, |
int | slotIndex | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
void TaleWorlds.MountAndBlade.StrategicArea.AddAgentAtSlotIndex | ( | Agent | agent, |
int | slotIndex | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
bool TaleWorlds.MountAndBlade.StrategicArea.IsUsedByFormation | ( | Formation | formation | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
bool TaleWorlds.MountAndBlade.StrategicArea.IsAgentEligible | ( | Agent | agent | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
bool TaleWorlds.MountAndBlade.StrategicArea.IsStandingPointAvailableForAgent | ( | Agent | agent | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
List< float > TaleWorlds.MountAndBlade.StrategicArea.GetTemplateCostsOfAgent | ( | Agent | candidate, |
List< float > | oldValue | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float TaleWorlds.MountAndBlade.StrategicArea.GetTemplateWeightOfAgent | ( | Agent | candidate | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float? TaleWorlds.MountAndBlade.StrategicArea.GetWeightOfAgentAtNextSlot | ( | List< Agent > | newAgents, |
out Agent | match | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float? TaleWorlds.MountAndBlade.StrategicArea.GetWeightOfAgentAtNextSlot | ( | List< ValueTuple< Agent, float > > | agentTemplateScores, |
out Agent | match | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float? TaleWorlds.MountAndBlade.StrategicArea.GetWeightOfAgentAtOccupiedSlot | ( | Agent | detachedAgent, |
List< Agent > | newAgents, | ||
out Agent | match | ||
) |
Implements TaleWorlds.MountAndBlade.IDetachment.
void TaleWorlds.MountAndBlade.StrategicArea.RemoveAgent | ( | Agent | agent | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
WorldFrame? TaleWorlds.MountAndBlade.StrategicArea.GetAgentFrame | ( | Agent | detachedAgent | ) |
float? TaleWorlds.MountAndBlade.StrategicArea.GetWeightOfNextSlot | ( | BattleSideEnum | side | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
float TaleWorlds.MountAndBlade.StrategicArea.GetWeightOfOccupiedSlot | ( | Agent | agent | ) |
Implements TaleWorlds.MountAndBlade.IDetachment.
bool TaleWorlds.MountAndBlade.StrategicArea.IsUsableBy | ( | BattleSideEnum | side | ) |
|
get |
Implements TaleWorlds.MountAndBlade.IDetachment.
|
get |
Implements TaleWorlds.MountAndBlade.IDetachment.
|
get |
|
get |
|
getset |