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

Inherits TaleWorlds.CampaignSystem.LogEntries.LogEntry, TaleWorlds.CampaignSystem.LogEntries.IEncyclopediaLog, and TaleWorlds.CampaignSystem.LogEntries.IWarLog.

Public Member Functions

 ChangeSettlementOwnerLogEntry (Settlement settlement, Hero newOwner, Hero previousOwner, bool bySiege)
 
override ImportanceEnum GetImportanceForClan (Clan clan)
 
bool IsRelatedToWar (StanceLink stance, out IFaction effector, out IFaction effected)
 
override void GetConversationScoreAndComment (Hero talkTroop, bool findString, out string comment, out ImportanceEnum score)
 
override int GetAsRumor (Settlement talkSettlement, ref TextObject comment)
 
override string ToString ()
 
bool IsVisibleInEncyclopediaPageOf< T > (T obj)
 
TextObject GetEncyclopediaText ()
 
- Public Member Functions inherited from TaleWorlds.CampaignSystem.LogEntries.LogEntry
virtual ImportanceEnum GetImportanceForClan (Clan clan)
 
virtual void GetConversationScoreAndComment (Hero talkTroop, bool findString, out string comment, out ImportanceEnum score)
 
virtual int GetAsRumor (Settlement settlement, ref TextObject comment)
 
virtual TextObject GetHistoricComment (Hero talkTroop)
 
virtual int AsReasonForEnmity (Hero referenceHero1, Hero referenceHero2)
 
virtual int GetValueAsPoliticsAbuseOfPower (Hero referenceTroop, Hero liege)
 
virtual int GetValueAsPoliticsSlightedClan (Hero referenceTroop, Hero liege)
 
virtual int GetValueAsPoliticsShowedWeakness (Hero referenceTroop, Hero liege)
 
bool IsVisibleInEncyclopediaPageOf< T > (T obj)
 
TextObject GetEncyclopediaText ()
 
bool IsRelatedToWar (StanceLink stance, out IFaction effector, out IFaction effected)
 

Public Attributes

readonly Settlement Settlement
 
readonly Clan PreviousClan
 
readonly Clan NewClan
 

Additional Inherited Members

- Static Public Member Functions inherited from TaleWorlds.CampaignSystem.LogEntries.LogEntry
static void AddLogEntry (LogEntry logEntry)
 
static void AddLogEntry (LogEntry logEntry, CampaignTime gameTime)
 
- Protected Member Functions inherited from TaleWorlds.CampaignSystem.LogEntries.LogEntry
ChatNotificationType MilitaryNotification (IFaction benefiter, IFaction affected)
 
ChatNotificationType DiplomaticNotification (IFaction faction1, IFaction faction2)
 
ChatNotificationType AdversityNotification (IFaction faction1, IFaction faction2)
 
ChatNotificationType PoliticalNotification (IFaction faction)
 
ChatNotificationType CivilianNotification (IFaction faction)
 
- Static Protected Attributes inherited from TaleWorlds.CampaignSystem.LogEntries.LogEntry
const uint NotificationDefaultTextColor = 0x000000
 
- Properties inherited from TaleWorlds.CampaignSystem.LogEntries.LogEntry
long Id [get]
 
CampaignTime GameTime [get]
 
virtual CampaignTime KeepInHistoryTime [get]
 
virtual ChatNotificationType NotificationType [get]
 
- Properties inherited from TaleWorlds.CampaignSystem.LogEntries.IEncyclopediaLog
CampaignTime GameTime [get]
 

Constructor & Destructor Documentation

◆ ChangeSettlementOwnerLogEntry()

TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.ChangeSettlementOwnerLogEntry ( Settlement  settlement,
Hero  newOwner,
Hero  previousOwner,
bool  bySiege 
)

Member Function Documentation

◆ GetImportanceForClan()

override ImportanceEnum TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.GetImportanceForClan ( Clan  clan)
virtual

◆ IsRelatedToWar()

bool TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.IsRelatedToWar ( StanceLink  stance,
out IFaction  effector,
out IFaction  effected 
)

◆ GetConversationScoreAndComment()

override void TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.GetConversationScoreAndComment ( Hero  talkTroop,
bool  findString,
out string  comment,
out ImportanceEnum  score 
)
virtual

◆ GetAsRumor()

override int TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.GetAsRumor ( Settlement  talkSettlement,
ref TextObject  comment 
)
virtual

◆ ToString()

override string TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.ToString ( )

◆ IsVisibleInEncyclopediaPageOf< T >()

bool TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.IsVisibleInEncyclopediaPageOf< T > ( obj)

Implements TaleWorlds.CampaignSystem.LogEntries.IEncyclopediaLog.

Type Constraints
T :MBObjectBase 

◆ GetEncyclopediaText()

TextObject TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.GetEncyclopediaText ( )

Member Data Documentation

◆ Settlement

readonly Settlement TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.Settlement

◆ PreviousClan

readonly Clan TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.PreviousClan

◆ NewClan

readonly Clan TaleWorlds.CampaignSystem.LogEntries.ChangeSettlementOwnerLogEntry.NewClan