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

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

Public Member Functions

 VillageStateChangedLogEntry (Village village, Village.VillageStates oldState, Village.VillageStates newState, MobileParty raiderParty)
 
bool IsRelatedToWar (StanceLink stance, out IFaction effector, out IFaction effected)
 
override string ToString ()
 
override int GetAsRumor (Settlement talkSettlement, ref TextObject comment)
 
override void GetConversationScoreAndComment (Hero talkTroop, bool findString, out string comment, out ImportanceEnum score)
 
- 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 IsRelatedToWar (StanceLink stance, out IFaction effector, out IFaction effected)
 

Public Attributes

readonly Village Village
 
readonly Village.VillageStates OldState
 
readonly Village.VillageStates NewState
 
readonly IFaction RaiderPartyMapFaction
 
readonly IFaction VillageRealmWhenRaided
 
readonly bool RealmsAtWarWhenRaided
 
readonly Hero RaidLeader
 

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]
 

Constructor & Destructor Documentation

◆ VillageStateChangedLogEntry()

TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.VillageStateChangedLogEntry ( Village  village,
Village::VillageStates  oldState,
Village::VillageStates  newState,
MobileParty  raiderParty 
)

Member Function Documentation

◆ IsRelatedToWar()

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

◆ ToString()

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

◆ GetAsRumor()

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

◆ GetConversationScoreAndComment()

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

Member Data Documentation

◆ Village

readonly Village TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.Village

◆ OldState

readonly Village.VillageStates TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.OldState

◆ NewState

readonly Village.VillageStates TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.NewState

◆ RaiderPartyMapFaction

readonly IFaction TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.RaiderPartyMapFaction

◆ VillageRealmWhenRaided

readonly IFaction TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.VillageRealmWhenRaided

◆ RealmsAtWarWhenRaided

readonly bool TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.RealmsAtWarWhenRaided

◆ RaidLeader

readonly Hero TaleWorlds.CampaignSystem.LogEntries.VillageStateChangedLogEntry.RaidLeader