M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Public Member Functions | |
MultiSelectionInquiryData (string titleText, string descriptionText, List< InquiryElement > inquiryElements, bool isExitShown, int maxSelectableOptionCount, string affirmativeText, string negativeText, Action< List< InquiryElement > > affirmativeAction, Action< List< InquiryElement > > negativeAction, string soundEventPath="") | |
Parameter structure of the multi selection inquiry. | |
Public Attributes | |
readonly string | TitleText |
readonly string | DescriptionText |
readonly List< InquiryElement > | InquiryElements |
readonly bool | IsExitShown |
readonly int | MaxSelectableOptionCount |
readonly int | MinSelectableOptionCount |
readonly string | SoundEventPath |
readonly string | AffirmativeText |
readonly string | NegativeText |
readonly Action< List< InquiryElement > > | AffirmativeAction |
readonly Action< List< InquiryElement > > | NegativeAction |
TaleWorlds.Core.MultiSelectionInquiryData.MultiSelectionInquiryData | ( | string | titleText, |
string | descriptionText, | ||
List< InquiryElement > | inquiryElements, | ||
bool | isExitShown, | ||
int | maxSelectableOptionCount, | ||
string | affirmativeText, | ||
string | negativeText, | ||
Action< List< InquiryElement > > | affirmativeAction, | ||
Action< List< InquiryElement > > | negativeAction, | ||
string | soundEventPath = "" |
||
) |
titleText | Title of the inquiry. |
descriptionText | Description of the inquiry. |
inquiryElements | List of selection elements to show and select from. |
isExitShown | Determines of the exit action is shown. Forces user the make a selection to end the inquiry. |
maxSelectableOptionCount | Determines the number of selections can the user make. 1 is equal to ForceOneSelection of legacy. -1 is limitless. |
affirmativeText | Determines the text content of the positive action. |
negativeText | Determines the text content of the negative action |
affirmativeAction | Action that happens when positive action is selected. Passes the selection as a list. |
negativeAction | Action that happens when negative action is selected. Passes the selection as a list. |
soundEventPath | Path of a sound file in the project. Plays at the start of the inquiry. |
readonly string TaleWorlds.Core.MultiSelectionInquiryData.TitleText |
readonly string TaleWorlds.Core.MultiSelectionInquiryData.DescriptionText |
readonly List<InquiryElement> TaleWorlds.Core.MultiSelectionInquiryData.InquiryElements |
readonly bool TaleWorlds.Core.MultiSelectionInquiryData.IsExitShown |
readonly int TaleWorlds.Core.MultiSelectionInquiryData.MaxSelectableOptionCount |
readonly int TaleWorlds.Core.MultiSelectionInquiryData.MinSelectableOptionCount |
readonly string TaleWorlds.Core.MultiSelectionInquiryData.SoundEventPath |
readonly string TaleWorlds.Core.MultiSelectionInquiryData.AffirmativeText |
readonly string TaleWorlds.Core.MultiSelectionInquiryData.NegativeText |
readonly Action<List<InquiryElement> > TaleWorlds.Core.MultiSelectionInquiryData.AffirmativeAction |
readonly Action<List<InquiryElement> > TaleWorlds.Core.MultiSelectionInquiryData.NegativeAction |