A Faction Object.
|
void | UpdateStrength () |
|
bool | IsAtWarWith (IFaction other) |
|
| Clan () |
|
void | InitializeClan (TextObject name, TextObject informalName, CultureObject culture, Banner banner, Vec2 initialPosition=default, bool isDeserialize=false) |
|
override void | Deserialize (MBObjectManager objectManager, XmlNode node) |
| De-serializes the object from an XmlNode.
|
|
void | OnGameCreated () |
|
int | GetRelationWithClan (Clan other) |
|
void | SetLeader (Hero leader) |
|
void | UpdateHomeSettlement (Settlement updatedSettlement) |
|
override TextObject | GetName () |
|
void | ChangeClanName (TextObject name, TextObject informalName) |
|
override string | ToString () |
|
StanceLink | GetStanceWith (IFaction other) |
|
void | ClanLeaveKingdom (bool giveBackFiefs=false) |
|
float | CalculateTotalSettlementBaseValue () |
|
void | StartMercenaryService () |
|
void | EndMercenaryService (bool isByLeavingKingdom) |
|
float | CalculateTotalSettlementValueForFaction (Kingdom kingdom) |
|
void | OnBoundVillageAdded (Village village) |
|
void | AddRenown (float value, bool shouldNotify=true) |
|
void | ResetClanRenown () |
|
void | OnSupportedByClan (Clan supporterClan) |
|
MobileParty | CreateNewMobileParty (Hero hero) |
|
MobileParty | CreateNewMobilePartyAtPosition (Hero hero, Vec2 spawnPosition) |
|
Dictionary< Hero, int > | GetHeirApparents () |
|
void | UpdateBannerColor (uint backgroundColor, uint iconColor) |
|
| 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 () |
|
bool | IsAtWarWith (IFaction other) |
|
StanceLink | GetStanceWith (IFaction other) |
|
|
TextObject | Name [get] |
|
TextObject | InformalName [get] |
|
CultureObject | Culture [get, set] |
|
CampaignTime | LastFactionChangeTime [get, set] |
|
PartyTemplateObject | DefaultPartyTemplate [get] |
|
int | AutoRecruitmentExpenses [get, set] |
|
TextObject | EncyclopediaText [get] |
|
bool | IsNoble [get, set] |
|
bool | IsEliminated [get] |
|
IList< CharacterObject > | MinorFactionCharacterTemplates [get] |
|
string | EncyclopediaLink [get] |
|
TextObject | EncyclopediaLinkWithName [get] |
|
Kingdom | Kingdom [get, set] |
| Gets kingdom of this clan.
|
|
IEnumerable< CharacterObject > | DungeonPrisonersOfClan [get] |
|
MBReadOnlyList< Town > | Fiefs [get] |
|
MBReadOnlyList< Village > | Villages [get] |
|
MBReadOnlyList< Settlement > | Settlements [get] |
|
MBReadOnlyList< Hero > | SupporterNotables [get] |
|
MBReadOnlyList< Hero > | Lords [get] |
|
MBReadOnlyList< Hero > | Heroes [get] |
|
MBReadOnlyList< Hero > | Companions [get] |
|
MBReadOnlyList< WarPartyComponent > | WarPartyComponents [get] |
|
float | Influence [get, set] |
|
ExplainedNumber | InfluenceChangeExplained [get] |
|
float | TotalStrength [get] |
|
int | MercenaryAwardMultiplier [get, set] |
|
bool | IsMapFaction [get] |
|
uint | LabelColor [get, set] |
| Label color.
|
|
Vec2 | InitialPosition [get, set] |
| Point to spawn around if no settlement remained.
|
|
bool | IsRebelClan [get, set] |
|
bool | IsMinorFaction [get] |
|
bool | IsOutlaw [get] |
|
bool | IsNomad [get] |
|
bool | IsMafia [get] |
|
bool | IsClanTypeMercenary [get] |
|
bool | IsSect [get] |
|
bool | IsUnderMercenaryService [get] |
|
uint | Color [get, set] |
| Primary color.
|
|
uint | Color2 [get, set] |
| Secondary color.
|
|
uint | AlternativeColor [get, set] |
| Primary alternative color.
|
|
uint | AlternativeColor2 [get, set] |
| Secondary alternative color.
|
|
CharacterObject | BasicTroop [get, set] |
|
static Clan | PlayerClan [get] |
|
Hero | Leader [get] |
|
int | Gold [get] |
|
Banner | Banner [get] |
|
bool | IsBanditFaction [get] |
|
bool | IsClan [get] |
|
float | Renown [get, set] |
|
float | MainHeroCrimeRating [get, set] |
|
float | DailyCrimeRatingChange [get] |
|
ExplainedNumber | DailyCrimeRatingChangeExplained [get] |
|
int | Tier [get] |
|
IFaction | MapFaction [get] |
|
CampaignTime | NotAttackableByPlayerUntilTime [get, set] |
|
float | Aggressiveness [get] |
| Kingdom Aggressiveness between 0 and 100 This is used for AI in evaluating peace offers and war proposals A kingdom with high aggressiveness can be declared war at without penalty.
|
|
int | TributeWallet [get, set] |
| Gold for spending on tributes. Can be negative which means tribute debt.
|
|
Settlement | HomeSettlement [get] |
|
int | DebtToKingdom [get, set] |
|
IEnumerable< StanceLink > | Stances [get] |
|
int | RenownRequirementForNextTier [get] |
|
int | CompanionLimit [get] |
|
float | DistanceToClosestNonAllyFortification [get] |
|
int | CommanderLimit [get] |
|
Settlement | FactionMidSettlement [get] |
|
static MBReadOnlyList< Clan > | All [get] |
|
static IEnumerable< Clan > | NonBanditFactions [get] |
|
static IEnumerable< Clan > | BanditFactions [get] |
|
string | StringId [get, set] |
|
MBGUID | Id [get, set] |
|
bool | IsInitialized [get] |
|
bool | IsReady [get, set] |
|
TextObject | Name [get] |
|
string | StringId [get] |
|
MBGUID | Id [get] |
|
TextObject | InformalName [get] |
|
string | EncyclopediaLink [get] |
|
TextObject | EncyclopediaLinkWithName [get] |
|
TextObject | EncyclopediaText [get] |
|
CultureObject | Culture [get] |
|
Vec2 | InitialPosition [get] |
| Point to spawn around if no settlement remained.
|
|
uint | LabelColor [get] |
|
uint | Color [get] |
|
uint | Color2 [get] |
|
uint | AlternativeColor [get] |
|
uint | AlternativeColor2 [get] |
|
CharacterObject | BasicTroop [get] |
|
Hero | Leader [get] |
|
Banner | Banner [get] |
|
MBReadOnlyList< Settlement > | Settlements [get] |
|
MBReadOnlyList< Town > | Fiefs [get] |
|
MBReadOnlyList< Hero > | Lords [get] |
|
MBReadOnlyList< Hero > | Heroes [get] |
|
MBReadOnlyList< WarPartyComponent > | WarPartyComponents [get] |
|
bool | IsBanditFaction [get] |
|
bool | IsMinorFaction [get] |
|
bool | IsKingdomFaction [get] |
|
bool | IsRebelClan [get] |
|
bool | IsClan [get] |
|
bool | IsOutlaw [get] |
|
bool | IsMapFaction [get] |
|
IFaction | MapFaction [get] |
|
float | TotalStrength [get] |
|
Settlement | FactionMidSettlement [get] |
|
float | DistanceToClosestNonAllyFortification [get] |
|
IEnumerable< StanceLink > | Stances [get] |
|
int | TributeWallet [get, set] |
| Gold for spending on tributes. Can be negative which means tribute debt.
|
|
float | MainHeroCrimeRating [get, set] |
|
float | DailyCrimeRatingChange [get] |
|
float | Aggressiveness [get] |
|
bool | IsEliminated [get] |
|
ExplainedNumber | DailyCrimeRatingChangeExplained [get] |
|
CampaignTime | NotAttackableByPlayerUntilTime [get, set] |
|