M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable Class Reference

Inherits TaleWorlds.CampaignSystem.BarterSystem.Barterables.Barterable.

Public Member Functions

 JoinKingdomAsClanBarterable (Hero owner, Kingdom targetKingdom, bool isDefecting=false)
 
override int GetUnitValueForFaction (IFaction factionForEvaluation)
 
override void CheckBarterLink (Barterable linkedBarterable)
 
override bool IsCompatible (Barterable barterable)
 
override ImageIdentifier GetVisualIdentifier ()
 
override string GetEncyclopediaLink ()
 
override void Apply ()
 
- Public Member Functions inherited from TaleWorlds.CampaignSystem.BarterSystem.Barterables.Barterable
int GetValueForFaction (IFaction faction)
 
virtual void CheckBarterLink (Barterable linkedBarterable)
 
abstract int GetUnitValueForFaction (IFaction faction)
 
void SetIsOffered (bool value)
 
void AddBarterLink (Barterable barterable)
 
void Initialize (BarterGroup barterGroup, bool isContextDependent)
 
virtual bool IsCompatible (Barterable barterable)
 
abstract ImageIdentifier GetVisualIdentifier ()
 
virtual string GetEncyclopediaLink ()
 
abstract void Apply ()
 

Public Attributes

readonly Kingdom TargetKingdom
 
readonly bool IsDefecting
 

Properties

override string StringID [get]
 
override TextObject Name [get]
 
- Properties inherited from TaleWorlds.CampaignSystem.BarterSystem.Barterables.Barterable
abstract string StringID [get]
 
Hero OriginalOwner [get]
 
PartyBase OriginalParty [get]
 
abstract TextObject Name [get]
 
virtual int MaxAmount [get]
 
int CurrentAmount [get, set]
 
bool IsOffered [get, protected set]
 
bool IsContextDependent [get, protected set]
 
BarterGroup Group [get, protected set]
 
MBReadOnlyList< BarterableLinkedBarterables [get]
 
BarterSide Side [get]
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.CampaignSystem.BarterSystem.Barterables.Barterable
enum  BarterSide {
  Left ,
  Right
}
 
- Protected Member Functions inherited from TaleWorlds.CampaignSystem.BarterSystem.Barterables.Barterable
 Barterable (Hero originalOwner, PartyBase originalParty)
 
- Protected Attributes inherited from TaleWorlds.CampaignSystem.BarterSystem.Barterables.Barterable
MBList< Barterable_linkedBarterables
 

Constructor & Destructor Documentation

◆ JoinKingdomAsClanBarterable()

TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.JoinKingdomAsClanBarterable ( Hero  owner,
Kingdom  targetKingdom,
bool  isDefecting = false 
)

Member Function Documentation

◆ GetUnitValueForFaction()

override int TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.GetUnitValueForFaction ( IFaction  factionForEvaluation)
virtual

◆ CheckBarterLink()

override void TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.CheckBarterLink ( Barterable  linkedBarterable)
virtual

◆ IsCompatible()

override bool TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.IsCompatible ( Barterable  barterable)
virtual

◆ GetVisualIdentifier()

override ImageIdentifier TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.GetVisualIdentifier ( )
virtual

◆ GetEncyclopediaLink()

override string TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.GetEncyclopediaLink ( )
virtual

◆ Apply()

override void TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.Apply ( )
virtual

Member Data Documentation

◆ TargetKingdom

readonly Kingdom TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.TargetKingdom

◆ IsDefecting

readonly bool TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.IsDefecting

Property Documentation

◆ StringID

override string TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.StringID
get

◆ Name

override TextObject TaleWorlds.CampaignSystem.BarterSystem.Barterables.JoinKingdomAsClanBarterable.Name
get