M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
|
Inherits TaleWorlds.Core.IGameStarter.
Public Member Functions | |
CampaignGameStarter (GameMenuManager gameMenuManager, ConversationManager conversationManager, GameTextManager gameTextManager) | |
void | UnregisterNonReadyObjects () |
void | AddBehavior (CampaignBehaviorBase campaignBehavior) |
void | RemoveBehaviors< T > () |
bool | RemoveBehavior< T > (T behavior) |
void | AddModel (GameModel model) |
void | AddGameMenu (string menuId, string menuText, OnInitDelegate initDelegate, GameOverlays.MenuOverlayType overlay=GameOverlays.MenuOverlayType.None, GameMenu.MenuFlags menuFlags=GameMenu.MenuFlags.None, object relatedObject=null) |
void | AddWaitGameMenu (string idString, string text, OnInitDelegate initDelegate, OnConditionDelegate condition, OnConsequenceDelegate consequence, OnTickDelegate tick, GameMenu.MenuAndOptionType type, GameOverlays.MenuOverlayType overlay=GameOverlays.MenuOverlayType.None, float targetWaitHours=0.0f, GameMenu.MenuFlags flags=GameMenu.MenuFlags.None, object relatedObject=null) |
void | AddGameMenuOption (string menuId, string optionId, string optionText, GameMenuOption.OnConditionDelegate condition, GameMenuOption.OnConsequenceDelegate consequence, bool isLeave=false, int index=-1, bool isRepeatable=false, object relatedObject=null) |
GameMenu | GetPresumedGameMenu (string stringId) |
ConversationSentence | AddPlayerLine (string id, string inputToken, string outputToken, string text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnConsequenceDelegate consequenceDelegate, int priority=ConversationSentence.DefaultPriority, ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate=null, ConversationSentence.OnPersuasionOptionDelegate persuasionOptionDelegate=null) |
ConversationSentence | AddRepeatablePlayerLine (string id, string inputToken, string outputToken, string text, string continueListingRepeatedObjectsText, string continueListingOptionOutputToken, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnConsequenceDelegate consequenceDelegate, int priority=ConversationSentence.DefaultPriority, ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate=null) |
ConversationSentence | AddDialogLineWithVariation (string id, string inputToken, string outputToken, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnConsequenceDelegate consequenceDelegate, int priority=ConversationSentence.DefaultPriority, string idleActionId="", string idleFaceAnimId="", string reactionId="", string reactionFaceAnimId="", ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate=null) |
ConversationSentence | AddDialogLine (string id, string inputToken, string outputToken, string text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnConsequenceDelegate consequenceDelegate, int priority=ConversationSentence.DefaultPriority, ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate=null) |
ConversationSentence | AddDialogLineMultiAgent (string id, string inputToken, string outputToken, TextObject text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnConsequenceDelegate consequenceDelegate, int agentIndex, int nextAgentIndex, int priority=ConversationSentence.DefaultPriority, ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate=null) |
void | AddModel (GameModel gameModel) |
Properties | |
ICollection< CampaignBehaviorBase > | CampaignBehaviors [get] |
IEnumerable< GameModel > | Models [get] |
Properties inherited from TaleWorlds.Core.IGameStarter | |
IEnumerable< GameModel > | Models [get] |
TaleWorlds.CampaignSystem.CampaignGameStarter.CampaignGameStarter | ( | GameMenuManager | gameMenuManager, |
ConversationManager | conversationManager, | ||
GameTextManager | gameTextManager | ||
) |
void TaleWorlds.CampaignSystem.CampaignGameStarter.UnregisterNonReadyObjects | ( | ) |
void TaleWorlds.CampaignSystem.CampaignGameStarter.AddBehavior | ( | CampaignBehaviorBase | campaignBehavior | ) |
void TaleWorlds.CampaignSystem.CampaignGameStarter.RemoveBehaviors< T > | ( | ) |
T | : | CampaignBehaviorBase |
bool TaleWorlds.CampaignSystem.CampaignGameStarter.RemoveBehavior< T > | ( | T | behavior | ) |
T | : | CampaignBehaviorBase |
void TaleWorlds.CampaignSystem.CampaignGameStarter.AddModel | ( | GameModel | model | ) |
Implements TaleWorlds.Core.IGameStarter.
void TaleWorlds.CampaignSystem.CampaignGameStarter.AddGameMenu | ( | string | menuId, |
string | menuText, | ||
OnInitDelegate | initDelegate, | ||
GameOverlays::MenuOverlayType | overlay = GameOverlays::MenuOverlayType::None , |
||
GameMenu::MenuFlags | menuFlags = GameMenu::MenuFlags::None , |
||
object | relatedObject = null |
||
) |
void TaleWorlds.CampaignSystem.CampaignGameStarter.AddWaitGameMenu | ( | string | idString, |
string | text, | ||
OnInitDelegate | initDelegate, | ||
OnConditionDelegate | condition, | ||
OnConsequenceDelegate | consequence, | ||
OnTickDelegate | tick, | ||
GameMenu::MenuAndOptionType | type, | ||
GameOverlays::MenuOverlayType | overlay = GameOverlays::MenuOverlayType::None , |
||
float | targetWaitHours = 0::0f , |
||
GameMenu::MenuFlags | flags = GameMenu::MenuFlags::None , |
||
object | relatedObject = null |
||
) |
void TaleWorlds.CampaignSystem.CampaignGameStarter.AddGameMenuOption | ( | string | menuId, |
string | optionId, | ||
string | optionText, | ||
GameMenuOption::OnConditionDelegate | condition, | ||
GameMenuOption::OnConsequenceDelegate | consequence, | ||
bool | isLeave = false , |
||
int | index = -1 , |
||
bool | isRepeatable = false , |
||
object | relatedObject = null |
||
) |
GameMenu TaleWorlds.CampaignSystem.CampaignGameStarter.GetPresumedGameMenu | ( | string | stringId | ) |
ConversationSentence TaleWorlds.CampaignSystem.CampaignGameStarter.AddPlayerLine | ( | string | id, |
string | inputToken, | ||
string | outputToken, | ||
string | text, | ||
ConversationSentence::OnConditionDelegate | conditionDelegate, | ||
ConversationSentence::OnConsequenceDelegate | consequenceDelegate, | ||
int | priority = ConversationSentence::DefaultPriority , |
||
ConversationSentence::OnClickableConditionDelegate | clickableConditionDelegate = null , |
||
ConversationSentence::OnPersuasionOptionDelegate | persuasionOptionDelegate = null |
||
) |
ConversationSentence TaleWorlds.CampaignSystem.CampaignGameStarter.AddRepeatablePlayerLine | ( | string | id, |
string | inputToken, | ||
string | outputToken, | ||
string | text, | ||
string | continueListingRepeatedObjectsText, | ||
string | continueListingOptionOutputToken, | ||
ConversationSentence::OnConditionDelegate | conditionDelegate, | ||
ConversationSentence::OnConsequenceDelegate | consequenceDelegate, | ||
int | priority = ConversationSentence::DefaultPriority , |
||
ConversationSentence::OnClickableConditionDelegate | clickableConditionDelegate = null |
||
) |
ConversationSentence TaleWorlds.CampaignSystem.CampaignGameStarter.AddDialogLineWithVariation | ( | string | id, |
string | inputToken, | ||
string | outputToken, | ||
ConversationSentence::OnConditionDelegate | conditionDelegate, | ||
ConversationSentence::OnConsequenceDelegate | consequenceDelegate, | ||
int | priority = ConversationSentence::DefaultPriority , |
||
string | idleActionId = "" , |
||
string | idleFaceAnimId = "" , |
||
string | reactionId = "" , |
||
string | reactionFaceAnimId = "" , |
||
ConversationSentence::OnClickableConditionDelegate | clickableConditionDelegate = null |
||
) |
ConversationSentence TaleWorlds.CampaignSystem.CampaignGameStarter.AddDialogLine | ( | string | id, |
string | inputToken, | ||
string | outputToken, | ||
string | text, | ||
ConversationSentence::OnConditionDelegate | conditionDelegate, | ||
ConversationSentence::OnConsequenceDelegate | consequenceDelegate, | ||
int | priority = ConversationSentence::DefaultPriority , |
||
ConversationSentence::OnClickableConditionDelegate | clickableConditionDelegate = null |
||
) |
ConversationSentence TaleWorlds.CampaignSystem.CampaignGameStarter.AddDialogLineMultiAgent | ( | string | id, |
string | inputToken, | ||
string | outputToken, | ||
TextObject | text, | ||
ConversationSentence::OnConditionDelegate | conditionDelegate, | ||
ConversationSentence::OnConsequenceDelegate | consequenceDelegate, | ||
int | agentIndex, | ||
int | nextAgentIndex, | ||
int | priority = ConversationSentence::DefaultPriority , |
||
ConversationSentence::OnClickableConditionDelegate | clickableConditionDelegate = null |
||
) |
|
get |
|
get |
Implements TaleWorlds.Core.IGameStarter.