Table of Contents

Class BattleEndLogic

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class BattleEndLogic : MissionLogic, IMissionBehavior, IBattleEndLogic
Inheritance
BattleEndLogic
Implements
Inherited Members

Constructors

BattleEndLogic()

public BattleEndLogic()

Properties

EnemyVictory

public bool EnemyVictory { get; }

Property Value

bool

IsEnemySideRetreating

public bool IsEnemySideRetreating { get; }

Property Value

bool

PlayerVictory

public bool PlayerVictory { get; }

Property Value

bool

Methods

ChangeCanCheckForEndCondition(bool)

public void ChangeCanCheckForEndCondition(bool canCheckForEndCondition)

Parameters

canCheckForEndCondition bool

EnableEnemyDefenderPullBack(int)

public void EnableEnemyDefenderPullBack(int neededTroopNumber)

Parameters

neededTroopNumber int

MissionEnded(ref MissionResult)

public override bool MissionEnded(ref MissionResult missionResult)

Parameters

missionResult MissionResult

Returns

bool

OnAgentRemoved(Agent, Agent, AgentState, KillingBlow)

public override void OnAgentRemoved(Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow killingBlow)

Parameters

affectedAgent Agent
affectorAgent Agent
agentState AgentState
killingBlow KillingBlow

OnBehaviorInitialize()

public override void OnBehaviorInitialize()

OnEndMission()

protected override void OnEndMission()

OnMissionTick(float)

public override void OnMissionTick(float dt)

Parameters

dt float

SetNotificationDisabled(bool)

public void SetNotificationDisabled(bool value)

Parameters

value bool

TryExit()

public BattleEndLogic.ExitResult TryExit()

Returns

BattleEndLogic.ExitResult

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