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
SettlementnewOwner
HeropreviousOwner
HerobySiege
bool
Fields
NewClan
[SaveableField(82)]
public readonly Clan NewClan
Field Value
PreviousClan
[SaveableField(81)]
public readonly Clan PreviousClan
Field Value
Settlement
[SaveableField(80)]
public readonly Settlement Settlement
Field 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
GetImportanceForClan(Clan)
public override ImportanceEnum GetImportanceForClan(Clan clan)
Parameters
clan
Clan
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).