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
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
OnAgentRemoved(Agent, Agent, AgentState, KillingBlow)
public override void OnAgentRemoved(Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow killingBlow)
Parameters
affectedAgent
AgentaffectorAgent
AgentagentState
AgentStatekillingBlow
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
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).