Table of Contents

Class VillageStateChangedLogEntry

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

Constructors

VillageStateChangedLogEntry(Village, VillageStates, VillageStates, MobileParty)

public VillageStateChangedLogEntry(Village village, Village.VillageStates oldState, Village.VillageStates newState, MobileParty raiderParty)

Parameters

village Village
oldState Village.VillageStates
newState Village.VillageStates
raiderParty MobileParty

Fields

NewState

[SaveableField(342)]
public readonly Village.VillageStates NewState

Field Value

Village.VillageStates

OldState

[SaveableField(341)]
public readonly Village.VillageStates OldState

Field Value

Village.VillageStates

RaidLeader

[SaveableField(347)]
public readonly Hero RaidLeader

Field Value

Hero

RaiderPartyMapFaction

[SaveableField(343)]
public readonly IFaction RaiderPartyMapFaction

Field Value

IFaction

RealmsAtWarWhenRaided

[SaveableField(345)]
public readonly bool RealmsAtWarWhenRaided

Field Value

bool

Village

[SaveableField(340)]
public readonly Village Village

Field Value

Village

VillageRealmWhenRaided

[SaveableField(344)]
public readonly IFaction VillageRealmWhenRaided

Field Value

IFaction

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
public bool IsRelatedToWar(StanceLink stance, out IFaction effector, out IFaction effected)

Parameters

stance StanceLink
effector IFaction
effected IFaction

Returns

bool

ToString()

public override string ToString()

Returns

string

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