Table of Contents

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

faction1 IFaction
faction2 IFaction

Fields

Faction1

[SaveableField(190)]
public readonly IFaction Faction1

Field Value

IFaction

Faction1Leader

[SaveableField(192)]
public readonly Hero Faction1Leader

Field Value

Hero

Faction2

[SaveableField(191)]
public readonly IFaction Faction2

Field Value

IFaction

Properties

IsVisibleNotification

public bool IsVisibleNotification { get; }

Property Value

bool

NotificationType

public override ChatNotificationType NotificationType { get; }

Property Value

ChatNotificationType

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

GetAsRumor(Settlement, ref TextObject)

public override int GetAsRumor(Settlement talkSettlement, ref TextObject comment)

Parameters

talkSettlement Settlement
comment TextObject

Returns

int

GetConversationScoreAndComment(Hero, bool, out string, out ImportanceEnum)

public override void GetConversationScoreAndComment(Hero talkTroop, bool findString, out string comment, out ImportanceEnum score)

Parameters

talkTroop Hero
findString bool
comment string
score ImportanceEnum

GetEncyclopediaText()

public TextObject GetEncyclopediaText()

Returns

TextObject

GetNotificationText()

public TextObject GetNotificationText()

Returns

TextObject
public bool IsRelatedToWar(StanceLink stance, out IFaction effector, out IFaction effected)

Parameters

stance StanceLink
effector IFaction
effected IFaction

Returns

bool

IsVisibleInEncyclopediaPageOf<T>(T)

public bool IsVisibleInEncyclopediaPageOf<T>(T obj) where T : MBObjectBase

Parameters

obj T

Returns

bool

Type Parameters

T

ToString()

public override string ToString()

Returns

string

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).