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

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

Public Member Functions

 DeclareWarLogEntry (IFaction faction1, IFaction faction2)
 
bool IsRelatedToWar (StanceLink stance, out IFaction effector, out IFaction effected)
 
TextObject GetNotificationText ()
 
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 ()
 
TextObject GetNotificationText ()
 
bool IsRelatedToWar (StanceLink stance, out IFaction effector, out IFaction effected)
 

Public Attributes

readonly IFaction Faction1
 
readonly IFaction Faction2
 
readonly Hero Faction1Leader
 

Properties

bool IsVisibleNotification [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

◆ DeclareWarLogEntry()

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

Member Function Documentation

◆ IsRelatedToWar()

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

◆ GetNotificationText()

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

◆ GetConversationScoreAndComment()

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

◆ GetAsRumor()

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

◆ ToString()

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

◆ IsVisibleInEncyclopediaPageOf< T >()

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

Implements TaleWorlds.CampaignSystem.LogEntries.IEncyclopediaLog.

Type Constraints
T :MBObjectBase 

◆ GetEncyclopediaText()

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

Member Data Documentation

◆ Faction1

readonly IFaction TaleWorlds.CampaignSystem.LogEntries.DeclareWarLogEntry.Faction1

◆ Faction2

readonly IFaction TaleWorlds.CampaignSystem.LogEntries.DeclareWarLogEntry.Faction2

◆ Faction1Leader

readonly Hero TaleWorlds.CampaignSystem.LogEntries.DeclareWarLogEntry.Faction1Leader

Property Documentation

◆ IsVisibleNotification

bool TaleWorlds.CampaignSystem.LogEntries.DeclareWarLogEntry.IsVisibleNotification
get

◆ NotificationType

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