Table of Contents

Class ChangeSettlementOwnerLogEntry

Namespace
TaleWorlds.CampaignSystem.LogEntries
Assembly
TaleWorlds.CampaignSystem.dll
public class ChangeSettlementOwnerLogEntry : LogEntry, IEncyclopediaLog, IWarLog
Inheritance
ChangeSettlementOwnerLogEntry
Implements
Inherited Members

Constructors

ChangeSettlementOwnerLogEntry(Settlement, Hero, Hero, bool)

public ChangeSettlementOwnerLogEntry(Settlement settlement, Hero newOwner, Hero previousOwner, bool bySiege)

Parameters

settlement Settlement
newOwner Hero
previousOwner Hero
bySiege bool

Fields

NewClan

[SaveableField(82)]
public readonly Clan NewClan

Field Value

Clan

PreviousClan

[SaveableField(81)]
public readonly Clan PreviousClan

Field Value

Clan

Settlement

[SaveableField(80)]
public readonly Settlement Settlement

Field Value

Settlement

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

GetImportanceForClan(Clan)

public override ImportanceEnum GetImportanceForClan(Clan clan)

Parameters

clan Clan

Returns

ImportanceEnum
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).