M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemComparerBase Class Referenceabstract

Inherits IComparer< KingdomArmyItemVM >.

Inherited by TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemDistanceComparer, TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemNameComparer, TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemOwnerComparer, TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemPartiesComparer, and TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemStrengthComparer.

Public Member Functions

void SetSortMode (bool isAscending)
 
abstract int Compare (KingdomArmyItemVM x, KingdomArmyItemVM y)
 

Protected Member Functions

int ResolveEquality (KingdomArmyItemVM x, KingdomArmyItemVM y)
 

Protected Attributes

bool _isAscending
 

Member Function Documentation

◆ SetSortMode()

void TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemComparerBase.SetSortMode ( bool  isAscending)

◆ Compare()

◆ ResolveEquality()

int TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemComparerBase.ResolveEquality ( KingdomArmyItemVM  x,
KingdomArmyItemVM  y 
)
protected

Member Data Documentation

◆ _isAscending

bool TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Armies.KingdomArmySortControllerVM.ItemComparerBase._isAscending
protected