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
titleTextstringtextstringisAffirmativeOptionShownboolisNegativeOptionShownboolaffirmativeTextstringnegativeTextstringaffirmativeActionActionnegativeActionActionsoundEventPathstringexpireTimefloattimeoutActionActionisAffirmativeOptionEnabledFunc<(bool, string)>isNegativeOptionEnabledFunc<(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
otherobject
Returns
SetAffirmativeAction(Action)
public void SetAffirmativeAction(Action newAffirmativeAction)
Parameters
newAffirmativeActionAction
SetText(string)
public void SetText(string text)
Parameters
textstring
SetTitleText(string)
public void SetTitleText(string titleText)
Parameters
titleTextstring
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).