Class InquiryData
- Namespace
- TaleWorlds.Library
- Assembly
- TaleWorlds.Library.dll
public class InquiryData
- Inheritance
-
InquiryData
- Inherited Members
Constructors
InquiryData(string, string, bool, bool, string, string, Action, Action, string, float, Action, Func<(bool, string)>, Func<(bool, string)>)
public InquiryData(string titleText, string text, bool isAffirmativeOptionShown, bool isNegativeOptionShown, string affirmativeText, string negativeText, Action affirmativeAction, Action negativeAction, string soundEventPath = "", float expireTime = 0, Action timeoutAction = null, Func<(bool, string)> isAffirmativeOptionEnabled = null, Func<(bool, string)> isNegativeOptionEnabled = null)
Parameters
titleText
stringtext
stringisAffirmativeOptionShown
boolisNegativeOptionShown
boolaffirmativeText
stringnegativeText
stringaffirmativeAction
ActionnegativeAction
ActionsoundEventPath
stringexpireTime
floattimeoutAction
ActionisAffirmativeOptionEnabled
Func<(bool, string)>isNegativeOptionEnabled
Func<(bool, string)>
Fields
AffirmativeAction
public Action AffirmativeAction
Field Value
AffirmativeText
public readonly string AffirmativeText
Field Value
ExpireTime
public readonly float ExpireTime
Field Value
GetIsAffirmativeOptionEnabled
public readonly Func<(bool, string)> GetIsAffirmativeOptionEnabled
Field Value
GetIsNegativeOptionEnabled
public readonly Func<(bool, string)> GetIsNegativeOptionEnabled
Field Value
IsAffirmativeOptionShown
public readonly bool IsAffirmativeOptionShown
Field Value
IsNegativeOptionShown
public readonly bool IsNegativeOptionShown
Field Value
NegativeAction
public readonly Action NegativeAction
Field Value
NegativeText
public readonly string NegativeText
Field Value
SoundEventPath
public readonly string SoundEventPath
Field Value
Text
public string Text
Field Value
TimeoutAction
public readonly Action TimeoutAction
Field Value
TitleText
public string TitleText
Field Value
Methods
HasSameContentWith(object)
public bool HasSameContentWith(object other)
Parameters
other
object
Returns
SetAffirmativeAction(Action)
public void SetAffirmativeAction(Action newAffirmativeAction)
Parameters
newAffirmativeAction
Action
SetText(string)
public void SetText(string text)
Parameters
text
string
SetTitleText(string)
public void SetTitleText(string titleText)
Parameters
titleText
string
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).