M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
StoryMode.CampaignStoryMode Class Reference

Inherits TaleWorlds.CampaignSystem.Campaign.

Public Member Functions

 CampaignStoryMode (CampaignGameMode gameMode)
 
- Public Member Functions inherited from TaleWorlds.CampaignSystem.Campaign
 Campaign (CampaignGameMode gameMode)
 
void InitializeMainParty ()
 
void WaitAsyncTasks ()
 
CampaignTimeControlMode GetSimplifiedTimeControlMode ()
 
void OnGameOver ()
 
void SetTimeSpeed (int speed)
 
void RegisterFadingVisual (IPartyVisual visual)
 
void UnregisterFadingVisual (IPartyVisual visual)
 
TComponent GetEntityComponent< TComponent > ()
 
TComponent AddEntityComponent< TComponent > ()
 
GetCampaignBehavior< T > ()
 
IEnumerable< T > GetCampaignBehaviors< T > ()
 
void AddCampaignBehaviorManager (ICampaignBehaviorManager manager)
 
void UpdateMaximumDistanceBetweenTwoSettlements ()
 
override void OnDestroy ()
 
void InitializeSinglePlayerReferences ()
 
void InitializeGamePlayReferences ()
 
void SetLoadingParameters (GameLoadingType gameLoadingType)
 
void AddCampaignEventReceiver (CampaignEventReceiver receiver)
 
override void OnMissionIsStarting (string missionName, MissionInitializerRecord rec)
 
override void InitializeParameters ()
 
void SetTimeControlModeLock (bool isLocked)
 
void OnPlayerCharacterChanged (out bool isMainPartyChanged)
 
void SetPlayerFormationPreference (CharacterObject character, FormationClass formation)
 
override void OnStateChanged (Core.GameState oldState)
 
- Public Member Functions inherited from TaleWorlds.Core.GameType
 GameType ()
 
abstract void OnStateChanged (GameState oldState)
 
bool DoLoadingForGameType ()
 
abstract void OnDestroy ()
 
virtual void OnMissionIsStarting (string missionName, MissionInitializerRecord rec)
 
virtual void InitializeParameters ()
 

Protected Member Functions

override void BeforeRegisterTypes (MBObjectManager objectManager)
 
override void DoLoadingForGameType (GameTypeLoadingStates gameTypeLoadingState, out GameTypeLoadingStates nextState)
 
- Protected Member Functions inherited from TaleWorlds.CampaignSystem.Campaign
override void OnInitialize ()
 
override void BeforeRegisterTypes (MBObjectManager objectManager)
 
override void OnRegisterTypes (MBObjectManager objectManager)
 
override void DoLoadingForGameType (GameTypeLoadingStates gameTypeLoadingState, out GameTypeLoadingStates nextState)
 
abstract void DoLoadingForGameType (GameTypeLoadingStates gameTypeLoadingState, out GameTypeLoadingStates nextState)
 

Properties

StoryModeManager StoryMode [get]
 
- Properties inherited from TaleWorlds.CampaignSystem.Campaign
static float MapDiagonal [get]
 
static float MapDiagonalSquared [get]
 
static float MaximumDistanceBetweenTwoSettlements [get]
 
static Vec2 MapMinimumPosition [get]
 
static Vec2 MapMaximumPosition [get]
 
static float MapMaximumHeight [get]
 
static float AverageDistanceBetweenTwoFortifications [get]
 
float AverageWage [get]
 
string NewGameVersion [get]
 
MBReadOnlyList< string > PreviouslyUsedModules [get]
 
MBReadOnlyList< string > UsedGameVersions [get]
 
string PlatformID [get]
 
string UniqueGameId [get]
 
SaveHandler SaveHandler [get]
 
override bool SupportsSaving [get]
 
CampaignObjectManager CampaignObjectManager [get]
 
override bool IsDevelopment [get]
 
bool IsCraftingEnabled = true [get, set]
 
bool IsBannerEditorEnabled = true [get, set]
 
bool IsFaceGenEnabled = true [get, set]
 
ICampaignBehaviorManager CampaignBehaviorManager [get]
 
QuestManager QuestManager [get]
 
IssueManager IssueManager [get]
 
FactionManager FactionManager [get]
 
CharacterRelationManager CharacterRelationManager [get]
 
Romance Romance [get]
 
PlayerCaptivity PlayerCaptivity [get]
 
ICampaignMissionManager CampaignMissionManager [get, set]
 
ISkillLevelingManager SkillLevelingManager [get, set]
 
IMapSceneCreator MapSceneCreator [get, set]
 
override bool IsInventoryAccessibleAtMission [get]
 
GameMenuCallbackManager GameMenuCallbackManager [get]
 
VisualCreator VisualCreator [get, set]
 
MapStateData MapStateData [get]
 
DefaultPerks DefaultPerks [get]
 
DefaultTraits DefaultTraits [get]
 
DefaultPolicies DefaultPolicies [get]
 
DefaultBuildingTypes DefaultBuildingTypes [get]
 
DefaultIssueEffects DefaultIssueEffects [get]
 
DefaultItems DefaultItems [get]
 
DefaultSiegeStrategies DefaultSiegeStrategies [get]
 
PlayerUpdateTracker PlayerUpdateTracker [get]
 
DefaultSkillEffects DefaultSkillEffects [get]
 
DefaultVillageTypes DefaultVillageTypes [get]
 
DefaultCulturalFeats DefaultFeats [get]
 
bool TimeControlModeLock [get]
 
CampaignTimeControlMode TimeControlMode [get, set]
 
bool IsMapTooltipLongForm [get, set]
 
float SpeedUpMultiplier = 4.0f [get, set]
 
float CampaignDt [get]
 
bool TrueSight [get, set]
 
static Campaign Current [get]
 
CampaignTime CampaignStartTime [get]
 
CampaignGameMode GameMode [get]
 
float PlayerProgress [get]
 
GameMenuManager GameMenuManager [get]
 
GameModels Models [get]
 
SandBoxManager SandBoxManager [get]
 
GameLoadingType CampaignGameLoadingType [get]
 
SiegeEventManager SiegeEventManager [get]
 
MapEventManager MapEventManager [get]
 
MenuContext CurrentMenuContext [get]
 
bool IsMainPartyWaiting [get]
 
IMapScene MapSceneWrapper [get]
 
PlayerEncounter PlayerEncounter [get]
 
BarterManager BarterManager [get]
 
bool IsMainHeroDisguised [get, set]
 
bool DesertionEnabled [get, set]
 
Vec2 DefaultStartingPosition [get]
 
static float CurrentTime [get]
 DEPRECATED! Do not use! Time should be held as CampaignTime. Current time is simply CamapignTime.Now.
 
MBReadOnlyList< CampaignEntityComponentCampaignEntityComponents [get]
 
MBReadOnlyList< HeroAliveHeroes [get]
 
MBReadOnlyList< HeroDeadOrDisabledHeroes [get]
 
MBReadOnlyList< MobilePartyMobileParties [get]
 
MBReadOnlyList< MobilePartyCaravanParties [get]
 
MBReadOnlyList< MobilePartyVillagerParties [get]
 
MBReadOnlyList< MobilePartyMilitiaParties [get]
 
MBReadOnlyList< MobilePartyGarrisonParties [get]
 
MBReadOnlyList< MobilePartyCustomParties [get]
 
MBReadOnlyList< MobilePartyLordParties [get]
 
MBReadOnlyList< MobilePartyBanditParties [get]
 
MBReadOnlyList< MobilePartyPartiesWithoutPartyComponent [get]
 
MBReadOnlyList< SettlementSettlements [get]
 
IEnumerable< IFactionFactions [get]
 
MBReadOnlyList< KingdomKingdoms [get]
 
MBReadOnlyList< ClanClans [get]
 
MBReadOnlyList< CharacterObjectCharacters [get]
 
MBReadOnlyList< WorkshopTypeWorkshops [get]
 
MBReadOnlyList< ItemModifierItemModifiers [get]
 
MBReadOnlyList< ItemModifierGroupItemModifierGroups [get]
 
MBReadOnlyList< ConceptConcepts [get]
 
MobileParty MainParty [get]
 
PartyBase CameraFollowParty [get, set]
 
CampaignInformationManager CampaignInformationManager [get, set]
 
VisualTrackerManager VisualTrackerManager [get, set]
 
LogEntryHistory LogEntryHistory [get]
 
EncyclopediaManager EncyclopediaManager [get]
 
InventoryManager InventoryManager [get]
 
PartyScreenManager PartyScreenManager [get]
 
ConversationManager ConversationManager [get]
 
bool IsDay [get]
 
bool IsNight [get]
 
HeroTraitDeveloper PlayerTraitDeveloper [get]
 
override bool IsPartyWindowAccessibleAtMission [get]
 
- Properties inherited from TaleWorlds.Core.GameType
virtual bool SupportsSaving [get]
 
Game CurrentGame [get]
 
MBObjectManager ObjectManager [get]
 
GameManagerBase GameManager [get]
 
virtual bool IsInventoryAccessibleAtMission [get]
 
virtual bool IsQuestScreenAccessibleAtMission [get]
 
virtual bool IsCharacterWindowAccessibleAtMission [get]
 
virtual bool IsPartyWindowAccessibleAtMission [get]
 
virtual bool IsKingdomWindowAccessibleAtMission [get]
 
virtual bool IsClanWindowAccessibleAtMission [get]
 
virtual bool IsEncyclopediaWindowAccessibleAtMission [get]
 
virtual bool IsBannerWindowAccessibleAtMission [get]
 
virtual bool IsDevelopment [get]
 
virtual bool IsCoreOnlyGameMode [get]
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.CampaignSystem.Campaign
enum  PartyRestFlags : uint {
  None = 0x00000000 ,
  SafeMode = 0x00000001
}
 
enum  GameLoadingType {
  Tutorial ,
  NewCampaign ,
  SavedCampaign ,
  Editor
}
 
- Static Public Member Functions inherited from TaleWorlds.CampaignSystem.Campaign
static void LateAITick ()
 
- Public Attributes inherited from TaleWorlds.CampaignSystem.Campaign
ITask CampaignLateAITickTask
 
readonly CampaignOptions Options
 
MBReadOnlyDictionary< CharacterObject, FormationClassPlayerFormationPreferences
 
ITournamentManager TournamentManager
 
float MinSettlementX
 
float MaxSettlementX
 
float MinSettlementY
 
float MaxSettlementY
 
bool IsInitializedSinglePlayerReferences
 
CampaignTimeControlMode LastTimeControlMode = CampaignTimeControlMode.UnstoppablePlay
 
bool GameStarted = false
 
PartyBase autoEnterTown
 
ConversationContext CurrentConversationContext
 
int MainHeroIllDays = -1
 
KingdomManager KingdomManager
 
- Static Public Attributes inherited from TaleWorlds.CampaignSystem.Campaign
const float ConfigTimeMultiplier = 0.25f
 

Constructor & Destructor Documentation

◆ CampaignStoryMode()

StoryMode.CampaignStoryMode.CampaignStoryMode ( CampaignGameMode  gameMode)

Member Function Documentation

◆ BeforeRegisterTypes()

override void StoryMode.CampaignStoryMode.BeforeRegisterTypes ( MBObjectManager  objectManager)
protectedvirtual

◆ DoLoadingForGameType()

override void StoryMode.CampaignStoryMode.DoLoadingForGameType ( GameTypeLoadingStates  gameTypeLoadingState,
out GameTypeLoadingStates  nextState 
)
protectedvirtual

Property Documentation

◆ StoryMode

StoryModeManager StoryMode.CampaignStoryMode.StoryMode
get