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

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

Public Member Functions

 MakePeaceLogEntry (IFaction faction1, IFaction faction2)
 
override int GetAsRumor (Settlement talkSettlement, ref TextObject comment)
 
override string ToString ()
 
TextObject GetNotificationText ()
 
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 ()
 
TextObject GetNotificationText ()
 

Public Attributes

readonly IFaction Faction1
 
readonly IFaction Faction2
 

Properties

bool IsVisibleNotification [get]
 
override CampaignTime KeepInHistoryTime [get]
 
override ChatNotificationType NotificationType [get]
 
- 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]
 
- Properties inherited from TaleWorlds.CampaignSystem.LogEntries.IChatNotification
bool IsVisibleNotification [get]
 
ChatNotificationType NotificationType [get]
 

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
 

Constructor & Destructor Documentation

◆ MakePeaceLogEntry()

TaleWorlds.CampaignSystem.LogEntries.MakePeaceLogEntry.MakePeaceLogEntry ( IFaction  faction1,
IFaction  faction2 
)

Member Function Documentation

◆ GetAsRumor()

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

◆ ToString()

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

◆ GetNotificationText()

TextObject TaleWorlds.CampaignSystem.LogEntries.MakePeaceLogEntry.GetNotificationText ( )

◆ IsVisibleInEncyclopediaPageOf< T >()

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

Implements TaleWorlds.CampaignSystem.LogEntries.IEncyclopediaLog.

Type Constraints
T :MBObjectBase 

◆ GetEncyclopediaText()

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

Member Data Documentation

◆ Faction1

readonly IFaction TaleWorlds.CampaignSystem.LogEntries.MakePeaceLogEntry.Faction1

◆ Faction2

readonly IFaction TaleWorlds.CampaignSystem.LogEntries.MakePeaceLogEntry.Faction2

Property Documentation

◆ IsVisibleNotification

bool TaleWorlds.CampaignSystem.LogEntries.MakePeaceLogEntry.IsVisibleNotification
get

◆ KeepInHistoryTime

override CampaignTime TaleWorlds.CampaignSystem.LogEntries.MakePeaceLogEntry.KeepInHistoryTime
get

◆ NotificationType

override ChatNotificationType TaleWorlds.CampaignSystem.LogEntries.MakePeaceLogEntry.NotificationType
get