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

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

Public Member Functions

 CharacterKilledLogEntry (Hero victim, Hero killer, KillCharacterAction.KillCharacterActionDetail detail)
 
override int AsReasonForEnmity (Hero potentialKiller, Hero potentialRelative)
 
override string ToString ()
 
override TextObject GetHistoricComment (Hero talkTroop)
 
TextObject GetNotificationText ()
 
bool IsVisibleInEncyclopediaPageOf< T > (T obj)
 
TextObject GetEncyclopediaText ()
 
bool IsRelatedToWar (StanceLink stance, out IFaction effector, out IFaction effected)
 
- 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 Hero Victim
 
readonly Hero Killer
 

Properties

bool IsVisibleNotification [get]
 
override ChatNotificationType NotificationType [get]
 
override CampaignTime KeepInHistoryTime [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

◆ CharacterKilledLogEntry()

TaleWorlds.CampaignSystem.LogEntries.CharacterKilledLogEntry.CharacterKilledLogEntry ( Hero  victim,
Hero  killer,
KillCharacterAction::KillCharacterActionDetail  detail 
)

Member Function Documentation

◆ AsReasonForEnmity()

override int TaleWorlds.CampaignSystem.LogEntries.CharacterKilledLogEntry.AsReasonForEnmity ( Hero  potentialKiller,
Hero  potentialRelative 
)
virtual

◆ ToString()

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

◆ GetHistoricComment()

override TextObject TaleWorlds.CampaignSystem.LogEntries.CharacterKilledLogEntry.GetHistoricComment ( Hero  talkTroop)
virtual

◆ GetNotificationText()

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

◆ IsVisibleInEncyclopediaPageOf< T >()

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

Implements TaleWorlds.CampaignSystem.LogEntries.IEncyclopediaLog.

Type Constraints
T :MBObjectBase 

◆ GetEncyclopediaText()

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

◆ IsRelatedToWar()

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

Member Data Documentation

◆ Victim

readonly Hero TaleWorlds.CampaignSystem.LogEntries.CharacterKilledLogEntry.Victim

◆ Killer

readonly Hero TaleWorlds.CampaignSystem.LogEntries.CharacterKilledLogEntry.Killer

Property Documentation

◆ IsVisibleNotification

bool TaleWorlds.CampaignSystem.LogEntries.CharacterKilledLogEntry.IsVisibleNotification
get

◆ NotificationType

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

◆ KeepInHistoryTime

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