M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Core.MBInformationManager Class Reference

Static Public Member Functions

static void AddQuickInformation (TextObject message, int priorty=0, BasicCharacterObject announcerCharacter=null, string soundEventPath="")
 Shows a header-banner-notification in Campaign and Multiplayer. More...
 
static void ShowMultiSelectionInquiry (MultiSelectionInquiryData data, bool pauseGameActiveState=false, bool prioritize=false)
 Shows an inquiry panel with multiple elements to choose from. More...
 
static void AddNotice (InformationData data)
 Adds a new map notification in Campaign and not used in Multiplayer. More...
 
static void MapNoticeRemoved (InformationData data)
 
static void ShowHint (string hint)
 Shows a hint that contains the given string. More...
 
static void HideInformations ()
 Hides currently active hints and tooltips. More...
 
static void ShowSceneNotification (SceneNotificationData data)
 Shows a panel with a scene panel inside. More...
 
static void HideSceneNotification ()
 Hide the panel with a scene panel inside if there is one visible. More...
 
static ? bool GetIsAnySceneNotificationActive ()
 Returns if any scene notification is currently active. Returns null if no scene notification manager is registered. More...
 
static void Clear ()
 

Events

static Action< string, int, BasicCharacterObject, string > FiringQuickInformation
 
static Action< MultiSelectionInquiryData, bool, bool > OnShowMultiSelectionInquiry
 
static Action< InformationDataOnAddMapNotice
 
static Action< InformationDataOnRemoveMapNotice
 
static Action< SceneNotificationDataOnShowSceneNotification
 
static Action OnHideSceneNotification
 
static Func< bool > IsAnySceneNotificationActive
 

Member Function Documentation

◆ AddQuickInformation()

static void TaleWorlds.Core.MBInformationManager.AddQuickInformation ( TextObject  message,
int  priorty = 0,
BasicCharacterObject  announcerCharacter = null,
string  soundEventPath = "" 
)
static
Parameters
messageMain message/text of the information.
priortyThe amount of time that the message additionally stays on screen.
announcerCharacterPortrait of the annoncer.
soundEventPathPath of a sound file.

◆ ShowMultiSelectionInquiry()

static void TaleWorlds.Core.MBInformationManager.ShowMultiSelectionInquiry ( MultiSelectionInquiryData  data,
bool  pauseGameActiveState = false,
bool  prioritize = false 
)
static
Parameters
dataParameters of the multiselection inquiry.
pauseGameActiveStatePauses the game's current active state while the inquiry is active.
prioritizeDetermines if the new query should be shown immediately if another query is active.

◆ AddNotice()

static void TaleWorlds.Core.MBInformationManager.AddNotice ( InformationData  data)
static
Parameters
dataParameters of the message.
pauseGameActiveStatePauses the game's current active state while the information is active.

◆ MapNoticeRemoved()

static void TaleWorlds.Core.MBInformationManager.MapNoticeRemoved ( InformationData  data)
static

◆ ShowHint()

static void TaleWorlds.Core.MBInformationManager.ShowHint ( string  hint)
static
Parameters
hintContent of the hint.

◆ HideInformations()

static void TaleWorlds.Core.MBInformationManager.HideInformations ( )
static

◆ ShowSceneNotification()

static void TaleWorlds.Core.MBInformationManager.ShowSceneNotification ( SceneNotificationData  data)
static
Parameters
dataParameters of the Scene Nofication.

◆ HideSceneNotification()

static void TaleWorlds.Core.MBInformationManager.HideSceneNotification ( )
static

◆ GetIsAnySceneNotificationActive()

static ? bool TaleWorlds.Core.MBInformationManager.GetIsAnySceneNotificationActive ( )
static

◆ Clear()

static void TaleWorlds.Core.MBInformationManager.Clear ( )
static

Event Documentation

◆ FiringQuickInformation

Action<string, int, BasicCharacterObject, string> TaleWorlds.Core.MBInformationManager.FiringQuickInformation
static

◆ OnShowMultiSelectionInquiry

Action<MultiSelectionInquiryData, bool, bool> TaleWorlds.Core.MBInformationManager.OnShowMultiSelectionInquiry
static

◆ OnAddMapNotice

Action<InformationData> TaleWorlds.Core.MBInformationManager.OnAddMapNotice
static

◆ OnRemoveMapNotice

Action<InformationData> TaleWorlds.Core.MBInformationManager.OnRemoveMapNotice
static

◆ OnShowSceneNotification

Action<SceneNotificationData> TaleWorlds.Core.MBInformationManager.OnShowSceneNotification
static

◆ OnHideSceneNotification

Action TaleWorlds.Core.MBInformationManager.OnHideSceneNotification
static

◆ IsAnySceneNotificationActive

Func<bool> TaleWorlds.Core.MBInformationManager.IsAnySceneNotificationActive
static