Class DeclareWarLogEntry
- Namespace
- TaleWorlds.CampaignSystem.LogEntries
- Assembly
- TaleWorlds.CampaignSystem.dll
public class DeclareWarLogEntry : LogEntry, IEncyclopediaLog, IChatNotification, IWarLog
- Inheritance
-
DeclareWarLogEntry
- Implements
- Inherited Members
Constructors
DeclareWarLogEntry(IFaction, IFaction)
public DeclareWarLogEntry(IFaction faction1, IFaction faction2)
Parameters
Fields
Faction1
[SaveableField(190)]
public readonly IFaction Faction1
Field Value
Faction1Leader
[SaveableField(192)]
public readonly Hero Faction1Leader
Field Value
Faction2
[SaveableField(191)]
public readonly IFaction Faction2
Field Value
Properties
IsVisibleNotification
public bool IsVisibleNotification { get; }
Property Value
NotificationType
public override ChatNotificationType NotificationType { get; }
Property Value
Methods
AutoGeneratedInstanceCollectObjects(List<object>)
protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
GetAsRumor(Settlement, ref TextObject)
public override int GetAsRumor(Settlement talkSettlement, ref TextObject comment)
Parameters
talkSettlement
Settlementcomment
TextObject
Returns
GetConversationScoreAndComment(Hero, bool, out string, out ImportanceEnum)
public override void GetConversationScoreAndComment(Hero talkTroop, bool findString, out string comment, out ImportanceEnum score)
Parameters
talkTroop
HerofindString
boolcomment
stringscore
ImportanceEnum
GetEncyclopediaText()
public TextObject GetEncyclopediaText()
Returns
GetNotificationText()
public TextObject GetNotificationText()
Returns
IsRelatedToWar(StanceLink, out IFaction, out IFaction)
public bool IsRelatedToWar(StanceLink stance, out IFaction effector, out IFaction effected)
Parameters
stance
StanceLinkeffector
IFactioneffected
IFaction
Returns
IsVisibleInEncyclopediaPageOf<T>(T)
public bool IsVisibleInEncyclopediaPageOf<T>(T obj) where T : MBObjectBase
Parameters
obj
T
Returns
Type Parameters
T
ToString()
public override string ToString()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).