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
IsEnemySideRetreating
public bool IsEnemySideRetreating { get; }
Property Value
PlayerVictory
public bool PlayerVictory { get; }
Property Value
Methods
ChangeCanCheckForEndCondition(bool)
public void ChangeCanCheckForEndCondition(bool canCheckForEndCondition)
Parameters
canCheckForEndConditionbool
EnableEnemyDefenderPullBack(int)
public void EnableEnemyDefenderPullBack(int neededTroopNumber)
Parameters
neededTroopNumberint
MissionEnded(ref MissionResult)
public override bool MissionEnded(ref MissionResult missionResult)
Parameters
missionResultMissionResult
Returns
OnAgentRemoved(Agent, Agent, AgentState, KillingBlow)
public override void OnAgentRemoved(Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow killingBlow)
Parameters
affectedAgentAgentaffectorAgentAgentagentStateAgentStatekillingBlowKillingBlow
OnBehaviorInitialize()
public override void OnBehaviorInitialize()
OnEndMission()
protected override void OnEndMission()
OnMissionTick(float)
public override void OnMissionTick(float dt)
Parameters
dtfloat
SetNotificationDisabled(bool)
public void SetNotificationDisabled(bool value)
Parameters
valuebool
TryExit()
public BattleEndLogic.ExitResult TryExit()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).