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

Represents a campaign culture.

Inherits TaleWorlds.Core.BasicCultureObject.

Public Types

enum  BoardGameType {
  None = -1 ,
  Seega = 0 ,
  Puluc = 1 ,
  Konane = 2 ,
  MuTorere = 3 ,
  Tablut = 4 ,
  BaghChal = 5 ,
  Total
}
 

Public Member Functions

bool HasTrait (CultureTrait trait)
 
bool HasFeat (FeatObject feat)
 
IEnumerable< FeatObjectGetCulturalFeats (Func< FeatObject, bool > predicate=null)
 
override string ToString ()
 
override void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override TextObject GetName ()
 
- Public Member Functions inherited from TaleWorlds.Core.BasicCultureObject
override string ToString ()
 
override void Deserialize (MBObjectManager objectManager, XmlNode node)
 
CultureCode GetCultureCode ()
 
- Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
 MBObjectBase ()
 
 MBObjectBase (MBObjectBase other)
 
 MBObjectBase (string stringId)
 
void AfterInitialized ()
 
virtual void AfterRegister ()
 
virtual void Initialize ()
 
virtual void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override int GetHashCode ()
 
virtual TextObject GetName ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 

Properties

CultureTrait[] Traits [get]
 
String BodyPropertiesValue [get]
 
CharacterObject BasicTroop [get]
 
CharacterObject EliteBasicTroop [get]
 
CharacterObject MeleeMilitiaTroop [get]
 
CharacterObject MeleeEliteMilitiaTroop [get]
 
CharacterObject RangedEliteMilitiaTroop [get]
 
CharacterObject RangedMilitiaTroop [get]
 
CharacterObject TournamentMaster [get]
 
CharacterObject Villager [get]
 
CharacterObject CaravanMaster [get]
 
CharacterObject ArmedTrader [get]
 
CharacterObject CaravanGuard [get]
 
CharacterObject PrisonGuard [get]
 
CharacterObject Guard [get]
 
CharacterObject Steward [get]
 
CharacterObject Blacksmith [get]
 
CharacterObject Weaponsmith [get]
 
CharacterObject Townswoman [get]
 
CharacterObject TownswomanInfant [get]
 
CharacterObject TownswomanChild [get]
 
CharacterObject TownswomanTeenager [get]
 
CharacterObject VillageWoman [get]
 
CharacterObject VillagerMaleChild [get]
 
CharacterObject VillagerMaleTeenager [get]
 
CharacterObject VillagerFemaleChild [get]
 
CharacterObject VillagerFemaleTeenager [get]
 
CharacterObject Townsman [get]
 
CharacterObject TownsmanInfant [get]
 
CharacterObject TownsmanChild [get]
 
CharacterObject TownsmanTeenager [get]
 
CharacterObject RansomBroker [get]
 
CharacterObject GangleaderBodyguard [get]
 
CharacterObject MerchantNotary [get]
 
CharacterObject ArtisanNotary [get]
 
CharacterObject PreacherNotary [get]
 
CharacterObject RuralNotableNotary [get]
 
CharacterObject ShopWorker [get]
 
CharacterObject Tavernkeeper [get]
 
CharacterObject TavernGamehost [get]
 
CharacterObject Musician [get]
 
CharacterObject TavernWench [get]
 
CharacterObject Armorer [get]
 
CharacterObject HorseMerchant [get]
 
CharacterObject Barber [get]
 
CharacterObject Merchant [get]
 
CharacterObject Beggar [get]
 
CharacterObject FemaleBeggar [get]
 
CharacterObject FemaleDancer [get]
 
CharacterObject MilitiaArcher [get]
 
CharacterObject MilitiaVeteranArcher [get]
 
CharacterObject MilitiaSpearman [get]
 
CharacterObject MilitiaVeteranSpearman [get]
 
CharacterObject GearPracticeDummy [get]
 
CharacterObject WeaponPracticeStage1 [get]
 
CharacterObject WeaponPracticeStage2 [get]
 
CharacterObject WeaponPracticeStage3 [get]
 
CharacterObject GearDummy [get]
 
MBEquipmentRoster DefaultBattleEquipmentRoster [get]
 
MBEquipmentRoster DefaultCivilianEquipmentRoster [get]
 
MBEquipmentRoster DuelPresetEquipmentRoster [get]
 
CharacterObject BanditChief [get]
 
CharacterObject BanditRaider [get]
 
CharacterObject BanditBandit [get]
 
CharacterObject BanditBoss [get]
 
TextObject EncyclopediaText [get]
 
PartyTemplateObject DefaultPartyTemplate [get]
 
PartyTemplateObject VillagerPartyTemplate [get]
 
PartyTemplateObject MilitiaPartyTemplate [get]
 
PartyTemplateObject RebelsPartyTemplate [get]
 
PartyTemplateObject CaravanPartyTemplate [get]
 
PartyTemplateObject EliteCaravanPartyTemplate [get]
 
PartyTemplateObject BanditBossPartyTemplate [get]
 
PartyTemplateObject VassalRewardTroopsPartyTemplate [get]
 
MBReadOnlyList< ItemObjectVassalRewardItems [get]
 
MBReadOnlyList< ItemObjectBannerBearerReplacementWeapons [get]
 
MBReadOnlyList< TextObjectMaleNameList [get]
 
MBReadOnlyList< TextObjectFemaleNameList [get]
 
MBReadOnlyList< TextObjectClanNameList [get]
 
MBReadOnlyList< FeatObjectCultureFeats [get]
 
MBReadOnlyList< PolicyObjectDefaultPolicyList [get]
 
MBReadOnlyList< int > PossibleClanBannerIconsIDs [get]
 
MBReadOnlyList< CharacterObjectNotableAndWandererTemplates [get]
 
MBReadOnlyList< CharacterObjectRebelliousHeroTemplates [get]
 
MBReadOnlyList< CharacterObjectLordTemplates [get]
 
MBReadOnlyList< CharacterObjectTournamentTeamTemplatesForOneParticipant [get]
 
MBReadOnlyList< CharacterObjectTournamentTeamTemplatesForTwoParticipant [get]
 
MBReadOnlyList< CharacterObjectTournamentTeamTemplatesForFourParticipant [get]
 
MBReadOnlyList< CharacterObjectBasicMercenaryTroops [get]
 
int TownEdgeNumber [get, set]
 
int MilitiaBonus [get, set]
 
int ProsperityBonus [get, set]
 
BoardGameType BoardGame [get]
 
- Properties inherited from TaleWorlds.Core.BasicCultureObject
TextObject Name [get]
 
bool IsMainCulture [get]
 
bool IsBandit [get]
 
bool CanHaveSettlement [get]
 
uint Color [get]
 
uint Color2 [get]
 
uint ClothAlternativeColor [get]
 
uint ClothAlternativeColor2 [get]
 
uint BackgroundColor1 [get]
 
uint ForegroundColor1 [get]
 
uint BackgroundColor2 [get]
 
uint ForegroundColor2 [get]
 
string EncounterBackgroundMesh [get, set]
 
string BannerKey [get, set]
 
- Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase
string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Member Enumeration Documentation

◆ BoardGameType

Enumerator
None 
Seega 
Puluc 
Konane 
MuTorere 
Tablut 
BaghChal 
Total 

Member Function Documentation

◆ HasTrait()

bool TaleWorlds.CampaignSystem.CultureObject.HasTrait ( CultureTrait  trait)

◆ HasFeat()

bool TaleWorlds.CampaignSystem.CultureObject.HasFeat ( FeatObject  feat)

◆ GetCulturalFeats()

IEnumerable< FeatObject > TaleWorlds.CampaignSystem.CultureObject.GetCulturalFeats ( Func< FeatObject, bool >  predicate = null)

◆ ToString()

override string TaleWorlds.CampaignSystem.CultureObject.ToString ( )

◆ Deserialize()

override void TaleWorlds.CampaignSystem.CultureObject.Deserialize ( MBObjectManager  objectManager,
XmlNode  node 
)
virtual

◆ GetName()

override TextObject TaleWorlds.CampaignSystem.CultureObject.GetName ( )
virtual

Property Documentation

◆ Traits

CultureTrait [] TaleWorlds.CampaignSystem.CultureObject.Traits
get

◆ BodyPropertiesValue

String TaleWorlds.CampaignSystem.CultureObject.BodyPropertiesValue
get

◆ BasicTroop

CharacterObject TaleWorlds.CampaignSystem.CultureObject.BasicTroop
get

◆ EliteBasicTroop

CharacterObject TaleWorlds.CampaignSystem.CultureObject.EliteBasicTroop
get

◆ MeleeMilitiaTroop

CharacterObject TaleWorlds.CampaignSystem.CultureObject.MeleeMilitiaTroop
get

◆ MeleeEliteMilitiaTroop

CharacterObject TaleWorlds.CampaignSystem.CultureObject.MeleeEliteMilitiaTroop
get

◆ RangedEliteMilitiaTroop

CharacterObject TaleWorlds.CampaignSystem.CultureObject.RangedEliteMilitiaTroop
get

◆ RangedMilitiaTroop

CharacterObject TaleWorlds.CampaignSystem.CultureObject.RangedMilitiaTroop
get

◆ TournamentMaster

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TournamentMaster
get

◆ Villager

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Villager
get

◆ CaravanMaster

CharacterObject TaleWorlds.CampaignSystem.CultureObject.CaravanMaster
get

◆ ArmedTrader

CharacterObject TaleWorlds.CampaignSystem.CultureObject.ArmedTrader
get

◆ CaravanGuard

CharacterObject TaleWorlds.CampaignSystem.CultureObject.CaravanGuard
get

◆ PrisonGuard

CharacterObject TaleWorlds.CampaignSystem.CultureObject.PrisonGuard
get

◆ Guard

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Guard
get

◆ Steward

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Steward
get

◆ Blacksmith

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Blacksmith
get

◆ Weaponsmith

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Weaponsmith
get

◆ Townswoman

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Townswoman
get

◆ TownswomanInfant

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TownswomanInfant
get

◆ TownswomanChild

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TownswomanChild
get

◆ TownswomanTeenager

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TownswomanTeenager
get

◆ VillageWoman

CharacterObject TaleWorlds.CampaignSystem.CultureObject.VillageWoman
get

◆ VillagerMaleChild

CharacterObject TaleWorlds.CampaignSystem.CultureObject.VillagerMaleChild
get

◆ VillagerMaleTeenager

CharacterObject TaleWorlds.CampaignSystem.CultureObject.VillagerMaleTeenager
get

◆ VillagerFemaleChild

CharacterObject TaleWorlds.CampaignSystem.CultureObject.VillagerFemaleChild
get

◆ VillagerFemaleTeenager

CharacterObject TaleWorlds.CampaignSystem.CultureObject.VillagerFemaleTeenager
get

◆ Townsman

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Townsman
get

◆ TownsmanInfant

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TownsmanInfant
get

◆ TownsmanChild

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TownsmanChild
get

◆ TownsmanTeenager

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TownsmanTeenager
get

◆ RansomBroker

CharacterObject TaleWorlds.CampaignSystem.CultureObject.RansomBroker
get

◆ GangleaderBodyguard

CharacterObject TaleWorlds.CampaignSystem.CultureObject.GangleaderBodyguard
get

◆ MerchantNotary

CharacterObject TaleWorlds.CampaignSystem.CultureObject.MerchantNotary
get

◆ ArtisanNotary

CharacterObject TaleWorlds.CampaignSystem.CultureObject.ArtisanNotary
get

◆ PreacherNotary

CharacterObject TaleWorlds.CampaignSystem.CultureObject.PreacherNotary
get

◆ RuralNotableNotary

CharacterObject TaleWorlds.CampaignSystem.CultureObject.RuralNotableNotary
get

◆ ShopWorker

CharacterObject TaleWorlds.CampaignSystem.CultureObject.ShopWorker
get

◆ Tavernkeeper

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Tavernkeeper
get

◆ TavernGamehost

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TavernGamehost
get

◆ Musician

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Musician
get

◆ TavernWench

CharacterObject TaleWorlds.CampaignSystem.CultureObject.TavernWench
get

◆ Armorer

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Armorer
get

◆ HorseMerchant

CharacterObject TaleWorlds.CampaignSystem.CultureObject.HorseMerchant
get

◆ Barber

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Barber
get

◆ Merchant

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Merchant
get

◆ Beggar

CharacterObject TaleWorlds.CampaignSystem.CultureObject.Beggar
get

◆ FemaleBeggar

CharacterObject TaleWorlds.CampaignSystem.CultureObject.FemaleBeggar
get

◆ FemaleDancer

CharacterObject TaleWorlds.CampaignSystem.CultureObject.FemaleDancer
get

◆ MilitiaArcher

CharacterObject TaleWorlds.CampaignSystem.CultureObject.MilitiaArcher
get

◆ MilitiaVeteranArcher

CharacterObject TaleWorlds.CampaignSystem.CultureObject.MilitiaVeteranArcher
get

◆ MilitiaSpearman

CharacterObject TaleWorlds.CampaignSystem.CultureObject.MilitiaSpearman
get

◆ MilitiaVeteranSpearman

CharacterObject TaleWorlds.CampaignSystem.CultureObject.MilitiaVeteranSpearman
get

◆ GearPracticeDummy

CharacterObject TaleWorlds.CampaignSystem.CultureObject.GearPracticeDummy
get

◆ WeaponPracticeStage1

CharacterObject TaleWorlds.CampaignSystem.CultureObject.WeaponPracticeStage1
get

◆ WeaponPracticeStage2

CharacterObject TaleWorlds.CampaignSystem.CultureObject.WeaponPracticeStage2
get

◆ WeaponPracticeStage3

CharacterObject TaleWorlds.CampaignSystem.CultureObject.WeaponPracticeStage3
get

◆ GearDummy

CharacterObject TaleWorlds.CampaignSystem.CultureObject.GearDummy
get

◆ DefaultBattleEquipmentRoster

MBEquipmentRoster TaleWorlds.CampaignSystem.CultureObject.DefaultBattleEquipmentRoster
get

◆ DefaultCivilianEquipmentRoster

MBEquipmentRoster TaleWorlds.CampaignSystem.CultureObject.DefaultCivilianEquipmentRoster
get

◆ DuelPresetEquipmentRoster

MBEquipmentRoster TaleWorlds.CampaignSystem.CultureObject.DuelPresetEquipmentRoster
get

◆ BanditChief

CharacterObject TaleWorlds.CampaignSystem.CultureObject.BanditChief
get

◆ BanditRaider

CharacterObject TaleWorlds.CampaignSystem.CultureObject.BanditRaider
get

◆ BanditBandit

CharacterObject TaleWorlds.CampaignSystem.CultureObject.BanditBandit
get

◆ BanditBoss

CharacterObject TaleWorlds.CampaignSystem.CultureObject.BanditBoss
get

◆ EncyclopediaText

TextObject TaleWorlds.CampaignSystem.CultureObject.EncyclopediaText
get

◆ DefaultPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.DefaultPartyTemplate
get

◆ VillagerPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.VillagerPartyTemplate
get

◆ MilitiaPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.MilitiaPartyTemplate
get

◆ RebelsPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.RebelsPartyTemplate
get

◆ CaravanPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.CaravanPartyTemplate
get

◆ EliteCaravanPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.EliteCaravanPartyTemplate
get

◆ BanditBossPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.BanditBossPartyTemplate
get

◆ VassalRewardTroopsPartyTemplate

PartyTemplateObject TaleWorlds.CampaignSystem.CultureObject.VassalRewardTroopsPartyTemplate
get

◆ VassalRewardItems

MBReadOnlyList<ItemObject> TaleWorlds.CampaignSystem.CultureObject.VassalRewardItems
get

◆ BannerBearerReplacementWeapons

MBReadOnlyList<ItemObject> TaleWorlds.CampaignSystem.CultureObject.BannerBearerReplacementWeapons
get

◆ MaleNameList

MBReadOnlyList<TextObject> TaleWorlds.CampaignSystem.CultureObject.MaleNameList
get

◆ FemaleNameList

MBReadOnlyList<TextObject> TaleWorlds.CampaignSystem.CultureObject.FemaleNameList
get

◆ ClanNameList

MBReadOnlyList<TextObject> TaleWorlds.CampaignSystem.CultureObject.ClanNameList
get

◆ CultureFeats

MBReadOnlyList<FeatObject> TaleWorlds.CampaignSystem.CultureObject.CultureFeats
get

◆ DefaultPolicyList

MBReadOnlyList<PolicyObject> TaleWorlds.CampaignSystem.CultureObject.DefaultPolicyList
get

◆ PossibleClanBannerIconsIDs

MBReadOnlyList<int> TaleWorlds.CampaignSystem.CultureObject.PossibleClanBannerIconsIDs
get

◆ NotableAndWandererTemplates

MBReadOnlyList<CharacterObject> TaleWorlds.CampaignSystem.CultureObject.NotableAndWandererTemplates
get

◆ RebelliousHeroTemplates

MBReadOnlyList<CharacterObject> TaleWorlds.CampaignSystem.CultureObject.RebelliousHeroTemplates
get

◆ LordTemplates

MBReadOnlyList<CharacterObject> TaleWorlds.CampaignSystem.CultureObject.LordTemplates
get

◆ TournamentTeamTemplatesForOneParticipant

MBReadOnlyList<CharacterObject> TaleWorlds.CampaignSystem.CultureObject.TournamentTeamTemplatesForOneParticipant
get

◆ TournamentTeamTemplatesForTwoParticipant

MBReadOnlyList<CharacterObject> TaleWorlds.CampaignSystem.CultureObject.TournamentTeamTemplatesForTwoParticipant
get

◆ TournamentTeamTemplatesForFourParticipant

MBReadOnlyList<CharacterObject> TaleWorlds.CampaignSystem.CultureObject.TournamentTeamTemplatesForFourParticipant
get

◆ BasicMercenaryTroops

MBReadOnlyList<CharacterObject> TaleWorlds.CampaignSystem.CultureObject.BasicMercenaryTroops
get

◆ TownEdgeNumber

int TaleWorlds.CampaignSystem.CultureObject.TownEdgeNumber
getset

◆ MilitiaBonus

int TaleWorlds.CampaignSystem.CultureObject.MilitiaBonus
getset

◆ ProsperityBonus

int TaleWorlds.CampaignSystem.CultureObject.ProsperityBonus
getset

◆ BoardGame

BoardGameType TaleWorlds.CampaignSystem.CultureObject.BoardGame
get