M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
|
Public Member Functions | |
InquiryData (string titleText, string text, bool isAffirmativeOptionShown, bool isNegativeOptionShown, string affirmativeText, string negativeText, Action affirmativeAction, Action negativeAction, string soundEventPath="", float expireTime=0f, Action timeoutAction=null, Func<(bool, string)> isAffirmativeOptionEnabled=null, Func<(bool, string)> isNegativeOptionEnabled=null) | |
Parameter structure of the inquiry. | |
void | SetText (string text) |
void | SetTitleText (string titleText) |
void | SetAffirmativeAction (Action newAffirmativeAction) |
bool | HasSameContentWith (object other) |
Public Attributes | |
string | TitleText |
string | Text |
readonly float | ExpireTime |
readonly bool | IsAffirmativeOptionShown |
readonly bool | IsNegativeOptionShown |
readonly string | AffirmativeText |
readonly string | NegativeText |
readonly string | SoundEventPath |
Action | AffirmativeAction |
readonly Action | NegativeAction |
readonly Action | TimeoutAction |
readonly Func<(bool, string)> | GetIsAffirmativeOptionEnabled |
readonly Func<(bool, string)> | GetIsNegativeOptionEnabled |
TaleWorlds.Library.InquiryData.InquiryData | ( | string | titleText, |
string | text, | ||
bool | isAffirmativeOptionShown, | ||
bool | isNegativeOptionShown, | ||
string | affirmativeText, | ||
string | negativeText, | ||
Action | affirmativeAction, | ||
Action | negativeAction, | ||
string | soundEventPath = "" , |
||
float | expireTime = 0f , |
||
Action | timeoutAction = null , |
||
Func<(bool, string)> | isAffirmativeOptionEnabled = null , |
||
Func<(bool, string)> | isNegativeOptionEnabled = null |
||
) |
titleText | Title of the inquiry. |
text | Inner text of the inquiry. |
expireTime | Expiration time of the inquiry. |
isAffirmativeOptionShown | Determines if the positive action is shown. |
isNegativeOptionShown | Determines if the negative action is shown. |
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. |
negativeAction | Action that happens when negative action is selected. |
timeoutAction | Action that happens when inquiry is expired. |
soundEventPath | Path of a sound file in the project. Plays at the start of the inquiry. |
void TaleWorlds.Library.InquiryData.SetText | ( | string | text | ) |
void TaleWorlds.Library.InquiryData.SetTitleText | ( | string | titleText | ) |
void TaleWorlds.Library.InquiryData.SetAffirmativeAction | ( | Action | newAffirmativeAction | ) |
bool TaleWorlds.Library.InquiryData.HasSameContentWith | ( | object | other | ) |
string TaleWorlds.Library.InquiryData.TitleText |
string TaleWorlds.Library.InquiryData.Text |
readonly float TaleWorlds.Library.InquiryData.ExpireTime |
readonly bool TaleWorlds.Library.InquiryData.IsAffirmativeOptionShown |
readonly bool TaleWorlds.Library.InquiryData.IsNegativeOptionShown |
readonly string TaleWorlds.Library.InquiryData.AffirmativeText |
readonly string TaleWorlds.Library.InquiryData.NegativeText |
readonly string TaleWorlds.Library.InquiryData.SoundEventPath |
Action TaleWorlds.Library.InquiryData.AffirmativeAction |
readonly Action TaleWorlds.Library.InquiryData.NegativeAction |
readonly Action TaleWorlds.Library.InquiryData.TimeoutAction |
readonly Func<(bool, string)> TaleWorlds.Library.InquiryData.GetIsAffirmativeOptionEnabled |
readonly Func<(bool, string)> TaleWorlds.Library.InquiryData.GetIsNegativeOptionEnabled |