M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.CampaignMission Class Reference

Classes

interface  ICampaignMissionManager
 

Static Public Member Functions

static IMission OpenBattleMission (string scene, bool usesTownDecalAtlas)
 
static IMission OpenAlleyFightMission (string scene, int upgradeLevel, Location location, TroopRoster playerSideTroops, TroopRoster rivalSideTroops)
 
static IMission OpenCombatMissionWithDialogue (string scene, CharacterObject characterToTalkTo, int upgradeLevel)
 
static IMission OpenBattleMissionWhileEnteringSettlement (string scene, int upgradeLevel, int numberOfMaxTroopToBeSpawnedForPlayer, int numberOfMaxTroopToBeSpawnedForOpponent)
 
static IMission OpenHideoutBattleMission (string scene, FlattenedTroopRoster playerTroops)
 
static IMission OpenSiegeMissionWithDeployment (string scene, float[] wallHitPointsPercentages, bool hasAnySiegeTower, List< MissionSiegeWeapon > siegeWeaponsOfAttackers, List< MissionSiegeWeapon > siegeWeaponsOfDefenders, bool isPlayerAttacker, int upgradeLevel=0, bool isSallyOut=false, bool isReliefForceAttack=false)
 
static IMission OpenSiegeMissionNoDeployment (string scene, bool isSallyOut=false, bool isReliefForceAttack=false)
 
static IMission OpenSiegeLordsHallFightMission (string scene, FlattenedTroopRoster attackerPriorityList)
 
static IMission OpenBattleMission (MissionInitializerRecord rec)
 
static IMission OpenCaravanBattleMission (MissionInitializerRecord rec, bool isCaravan)
 
static IMission OpenTownCenterMission (string scene, Location location, CharacterObject talkToChar, int townUpgradeLevel, string playerSpawnTag)
 
static IMission OpenCastleCourtyardMission (string scene, Location location, CharacterObject talkToChar, int castleUpgradeLevel)
 
static IMission OpenVillageMission (string scene, Location location, CharacterObject talkToChar)
 
static IMission OpenIndoorMission (string scene, int upgradeLevel, Location location, CharacterObject talkToChar)
 
static IMission OpenPrisonBreakMission (string scene, Location location, CharacterObject prisonerCharacter, CharacterObject companionCharacter=null)
 
static IMission OpenArenaStartMission (string scene, Location location, CharacterObject talkToChar)
 
static IMission OpenArenaDuelMission (string scene, Location location, CharacterObject talkToChar, bool requireCivilianEquipment, bool spawnBothSidesWithHorse, Action< CharacterObject > onDuelEnd, float customAgentHealth)
 
static IMission OpenConversationMission (ConversationCharacterData playerCharacterData, ConversationCharacterData conversationPartnerData, string specialScene="", string sceneLevels="")
 
static IMission OpenRetirementMission (string scene, Location location, CharacterObject talkToChar=null, string sceneLevels=null)
 

Properties

static ICampaignMission Current [get, set]
 

Member Function Documentation

◆ OpenBattleMission() [1/2]

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenBattleMission ( string  scene,
bool  usesTownDecalAtlas 
)
static

◆ OpenAlleyFightMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenAlleyFightMission ( string  scene,
int  upgradeLevel,
Location  location,
TroopRoster  playerSideTroops,
TroopRoster  rivalSideTroops 
)
static

◆ OpenCombatMissionWithDialogue()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenCombatMissionWithDialogue ( string  scene,
CharacterObject  characterToTalkTo,
int  upgradeLevel 
)
static

◆ OpenBattleMissionWhileEnteringSettlement()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenBattleMissionWhileEnteringSettlement ( string  scene,
int  upgradeLevel,
int  numberOfMaxTroopToBeSpawnedForPlayer,
int  numberOfMaxTroopToBeSpawnedForOpponent 
)
static

◆ OpenHideoutBattleMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenHideoutBattleMission ( string  scene,
FlattenedTroopRoster  playerTroops 
)
static

◆ OpenSiegeMissionWithDeployment()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenSiegeMissionWithDeployment ( string  scene,
float[]  wallHitPointsPercentages,
bool  hasAnySiegeTower,
List< MissionSiegeWeapon siegeWeaponsOfAttackers,
List< MissionSiegeWeapon siegeWeaponsOfDefenders,
bool  isPlayerAttacker,
int  upgradeLevel = 0,
bool  isSallyOut = false,
bool  isReliefForceAttack = false 
)
static

◆ OpenSiegeMissionNoDeployment()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenSiegeMissionNoDeployment ( string  scene,
bool  isSallyOut = false,
bool  isReliefForceAttack = false 
)
static

◆ OpenSiegeLordsHallFightMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenSiegeLordsHallFightMission ( string  scene,
FlattenedTroopRoster  attackerPriorityList 
)
static

◆ OpenBattleMission() [2/2]

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenBattleMission ( MissionInitializerRecord  rec)
static

◆ OpenCaravanBattleMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenCaravanBattleMission ( MissionInitializerRecord  rec,
bool  isCaravan 
)
static

◆ OpenTownCenterMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenTownCenterMission ( string  scene,
Location  location,
CharacterObject  talkToChar,
int  townUpgradeLevel,
string  playerSpawnTag 
)
static

◆ OpenCastleCourtyardMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenCastleCourtyardMission ( string  scene,
Location  location,
CharacterObject  talkToChar,
int  castleUpgradeLevel 
)
static

◆ OpenVillageMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenVillageMission ( string  scene,
Location  location,
CharacterObject  talkToChar 
)
static

◆ OpenIndoorMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenIndoorMission ( string  scene,
int  upgradeLevel,
Location  location,
CharacterObject  talkToChar 
)
static

◆ OpenPrisonBreakMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenPrisonBreakMission ( string  scene,
Location  location,
CharacterObject  prisonerCharacter,
CharacterObject  companionCharacter = null 
)
static

◆ OpenArenaStartMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenArenaStartMission ( string  scene,
Location  location,
CharacterObject  talkToChar 
)
static

◆ OpenArenaDuelMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenArenaDuelMission ( string  scene,
Location  location,
CharacterObject  talkToChar,
bool  requireCivilianEquipment,
bool  spawnBothSidesWithHorse,
Action< CharacterObject onDuelEnd,
float  customAgentHealth 
)
static

◆ OpenConversationMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenConversationMission ( ConversationCharacterData  playerCharacterData,
ConversationCharacterData  conversationPartnerData,
string  specialScene = "",
string  sceneLevels = "" 
)
static

◆ OpenRetirementMission()

static IMission TaleWorlds.CampaignSystem.CampaignMission.OpenRetirementMission ( string  scene,
Location  location,
CharacterObject  talkToChar = null,
string  sceneLevels = null 
)
static

Property Documentation

◆ Current

ICampaignMission TaleWorlds.CampaignSystem.CampaignMission.Current
staticgetset