This class will handle all battle simulations (normal battle, siege etc) where the player choose to order his troops to attack while the hero stays back.
Inherits TaleWorlds.Core.IBattleObserver.
|
| BattleSimulation (FlattenedTroopRoster selectedTroopsForPlayerSide, FlattenedTroopRoster selectedTroopsForOtherSide) |
|
void | Play () |
|
void | FastForward () |
|
void | Skip () |
|
void | OnReturn () |
|
void | Tick (float dt) |
|
void | ResetSimulation () |
|
void | TroopNumberChanged (BattleSideEnum side, IBattleCombatant battleCombatant, BasicCharacterObject character, int number=0, int numberKilled=0, int numberWounded=0, int numberRouted=0, int killCount=0, int numberReadyToUpgrade=0) |
|
void | HeroSkillIncreased (BattleSideEnum side, IBattleCombatant battleCombatant, BasicCharacterObject heroCharacter, SkillObject skill) |
|
void | BattleResultsReady () |
|
void | TroopSideChanged (BattleSideEnum prevSide, BattleSideEnum newSide, IBattleCombatant battleCombatant, BasicCharacterObject character) |
|
void | TroopNumberChanged (BattleSideEnum side, IBattleCombatant battleCombatant, BasicCharacterObject character, int number=0, int numberKilled=0, int numberWounded=0, int numberRouted=0, int killCount=0, int numberReadyToUpgrade=0) |
|
void | TroopSideChanged (BattleSideEnum prevSide, BattleSideEnum newSide, IBattleCombatant battleCombatant, BasicCharacterObject character) |
|
void | HeroSkillIncreased (BattleSideEnum side, IBattleCombatant battleCombatant, BasicCharacterObject heroCharacter, SkillObject skill) |
|
void | BattleResultsReady () |
|
◆ BattleSimulation()
◆ Play()
void TaleWorlds.CampaignSystem.BattleSimulation.Play |
( |
| ) |
|
◆ FastForward()
void TaleWorlds.CampaignSystem.BattleSimulation.FastForward |
( |
| ) |
|
◆ Skip()
void TaleWorlds.CampaignSystem.BattleSimulation.Skip |
( |
| ) |
|
◆ OnReturn()
void TaleWorlds.CampaignSystem.BattleSimulation.OnReturn |
( |
| ) |
|
◆ Tick()
void TaleWorlds.CampaignSystem.BattleSimulation.Tick |
( |
float |
dt | ) |
|
◆ SimulateBattleFromUi()
static void TaleWorlds.CampaignSystem.BattleSimulation.SimulateBattleFromUi |
( |
| ) |
|
|
static |
◆ ResetSimulation()
void TaleWorlds.CampaignSystem.BattleSimulation.ResetSimulation |
( |
| ) |
|
◆ TroopNumberChanged()
void TaleWorlds.CampaignSystem.BattleSimulation.TroopNumberChanged |
( |
BattleSideEnum |
side, |
|
|
IBattleCombatant |
battleCombatant, |
|
|
BasicCharacterObject |
character, |
|
|
int |
number = 0 , |
|
|
int |
numberKilled = 0 , |
|
|
int |
numberWounded = 0 , |
|
|
int |
numberRouted = 0 , |
|
|
int |
killCount = 0 , |
|
|
int |
numberReadyToUpgrade = 0 |
|
) |
| |
◆ HeroSkillIncreased()
◆ BattleResultsReady()
void TaleWorlds.CampaignSystem.BattleSimulation.BattleResultsReady |
( |
| ) |
|
◆ TroopSideChanged()
◆ tempRosterRefs
List<TroopRoster> TaleWorlds.CampaignSystem.BattleSimulation.tempRosterRefs |
◆ SelectedTroops
◆ IsSimulationPaused
bool TaleWorlds.CampaignSystem.BattleSimulation.IsSimulationPaused |
|
get |
◆ IsSimulationFinished
bool TaleWorlds.CampaignSystem.BattleSimulation.IsSimulationFinished |
|
get |
◆ MapEvent
MapEvent TaleWorlds.CampaignSystem.BattleSimulation.MapEvent |
|
get |
◆ BattleObserver
◆ Teams