M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultMapDistanceModel.

Public Member Functions

abstract float GetDistance (Settlement fromSettlement, Settlement toSettlement)
 
abstract float GetDistance (MobileParty fromParty, Settlement toSettlement)
 
abstract float GetDistance (MobileParty fromParty, MobileParty toParty)
 
abstract bool GetDistance (Settlement fromSettlement, Settlement toSettlement, float maximumDistance, out float distance)
 
abstract bool GetDistance (MobileParty fromParty, Settlement toSettlement, float maximumDistance, out float distance)
 
abstract bool GetDistance (IMapPoint fromMapPoint, MobileParty toParty, float maximumDistance, out float distance)
 
abstract bool GetDistance (IMapPoint fromMapPoint, Settlement toSettlement, float maximumDistance, out float distance)
 
abstract bool GetDistance (IMapPoint fromMapPoint, in Vec2 toPoint, float maximumDistance, out float distance)
 
abstract Settlement GetClosestSettlementForNavigationMesh (PathFaceRecord face)
 

Properties

abstract float MaximumDistanceBetweenTwoSettlements [get, set]
 

Member Function Documentation

◆ GetDistance() [1/8]

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( Settlement  fromSettlement,
Settlement  toSettlement 
)
pure virtual

◆ GetDistance() [2/8]

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( MobileParty  fromParty,
Settlement  toSettlement 
)
pure virtual

◆ GetDistance() [3/8]

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( MobileParty  fromParty,
MobileParty  toParty 
)
pure virtual

◆ GetDistance() [4/8]

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( Settlement  fromSettlement,
Settlement  toSettlement,
float  maximumDistance,
out float  distance 
)
pure virtual

◆ GetDistance() [5/8]

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( MobileParty  fromParty,
Settlement  toSettlement,
float  maximumDistance,
out float  distance 
)
pure virtual

◆ GetDistance() [6/8]

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( IMapPoint  fromMapPoint,
MobileParty  toParty,
float  maximumDistance,
out float  distance 
)
pure virtual

◆ GetDistance() [7/8]

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( IMapPoint  fromMapPoint,
Settlement  toSettlement,
float  maximumDistance,
out float  distance 
)
pure virtual

◆ GetDistance() [8/8]

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetDistance ( IMapPoint  fromMapPoint,
in Vec2  toPoint,
float  maximumDistance,
out float  distance 
)
pure virtual

◆ GetClosestSettlementForNavigationMesh()

abstract Settlement TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.GetClosestSettlementForNavigationMesh ( PathFaceRecord  face)
pure virtual

Property Documentation

◆ MaximumDistanceBetweenTwoSettlements

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.MapDistanceModel.MaximumDistanceBetweenTwoSettlements
getset