Table of Contents

Class MapEventManager

Namespace
TaleWorlds.CampaignSystem.MapEvents
Assembly
TaleWorlds.CampaignSystem.dll
public class MapEventManager
Inheritance
MapEventManager
Inherited Members

Properties

MapEvents

public MBReadOnlyList<MapEvent> MapEvents { get; }

Property Value

MBReadOnlyList<MapEvent>

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

FinalizePlayerMapEvent(MapEvent)

public void FinalizePlayerMapEvent(MapEvent mapEvent = null)

Parameters

mapEvent MapEvent

GetMapEvent(int)

public MapEvent GetMapEvent(int attackerPartyIndex)

Parameters

attackerPartyIndex int

Returns

MapEvent

GetMapEventsBetweenFactions(IFaction, IFaction)

public List<MapEvent> GetMapEventsBetweenFactions(IFaction faction1, IFaction faction2)

Parameters

faction1 IFaction
faction2 IFaction

Returns

List<MapEvent>

OnMapEventCreated(MapEvent)

public void OnMapEventCreated(MapEvent mapEvent)

Parameters

mapEvent MapEvent

StartSallyOutMapEvent(PartyBase, PartyBase)

public MapEvent StartSallyOutMapEvent(PartyBase attackerParty, PartyBase defenderParty)

Parameters

attackerParty PartyBase
defenderParty PartyBase

Returns

MapEvent

StartSiegeMapEvent(PartyBase, PartyBase)

public MapEvent StartSiegeMapEvent(PartyBase attackerParty, PartyBase defenderParty)

Parameters

attackerParty PartyBase
defenderParty PartyBase

Returns

MapEvent

StartSiegeOutsideMapEvent(PartyBase, PartyBase)

public MapEvent StartSiegeOutsideMapEvent(PartyBase attackerParty, PartyBase defenderParty)

Parameters

attackerParty PartyBase
defenderParty PartyBase

Returns

MapEvent

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