M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Static Public Member Functions | |
static void | DisplayMessage (InformationMessage message) |
Adds a new message line to the chatlog. | |
static void | ClearAllMessages () |
Clears all lines in the chatlog. | |
static void | AddSystemNotification (string message) |
Displays text on the top of the screen, notifying the player. Used for system/backend notifications. Not Used in Singleplayer. | |
static void | ShowTooltip (Type type, params object[] args) |
Shows the tooltip that is associated to the given type. | |
static void | HideTooltip () |
Hides currently active tooltips. | |
static void | ShowInquiry (InquiryData data, bool pauseGameActiveState=false, bool prioritize=false) |
Shows an inquiry panel with OK-Cancel options depending on Data. | |
static void | ShowTextInquiry (TextInquiryData textData, bool pauseGameActiveState=false, bool prioritize=false) |
Shows an inquiry panel with OK-Cancel options and text input area depending on Data. | |
static void | HideInquiry () |
Removes on-screen inquiry if there is one. | |
static void | RegisterIsAnyTooltipActiveCallback (Func< bool > callback) |
static void | UnregisterIsAnyTooltipActiveCallback (Func< bool > callback) |
static void | RegisterIsAnyTooltipExtendedCallback (Func< bool > callback) |
static void | UnregisterIsAnyTooltipExtendedCallback (Func< bool > callback) |
static bool | GetIsAnyTooltipActive () |
Returns true if any tooltip is currently active. | |
static bool | GetIsAnyTooltipExtended () |
Returns true if any tooltip is currently extended. | |
static bool | GetIsAnyTooltipActiveAndExtended () |
Returns true if any tooltip is currently active and extended. | |
static void | Clear () |
Clears event registries of all information events. | |
Static Public Attributes | |
static Func< bool > | IsAnyInquiryActive |
Returns if any inquiry is currently active. The system that implements ShowInquiry events, should also respond to this call. | |
Events | |
static Action< InformationMessage > | DisplayMessageInternal |
static Action | ClearAllMessagesInternal |
static Action< string > | OnAddSystemNotification |
static Action< Type, object[]> | OnShowTooltip |
static Action | OnHideTooltip |
static Action< InquiryData, bool, bool > | OnShowInquiry |
static Action< TextInquiryData, bool, bool > | OnShowTextInquiry |
static Action | OnHideInquiry |
|
static |
message | Parameters of the message. |
|
static |
message | Parameters of the message. |
|
static |
message | Main message/text of the system notification. |
|
static |
type | Type that is associated with a tooltip. |
args | Arguments that will be used by the tooltip. |
|
static |
|
static |
data | Parameters of the inquiry. |
pauseGameActiveState | Pauses the game's current active state while the inquiry is active. |
prioritize | Determines if the new query should be shown immediately if another query is active. |
|
static |
textData | Parameters of the inquiry. |
pauseGameActiveState | Pauses the game's current active state while the inquiry is active. |
prioritize | Determines if the new query should be shown immediately if another query is active. |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |