Table of Contents

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 string
text string
isAffirmativeOptionShown bool
isNegativeOptionShown bool
affirmativeText string
negativeText string
affirmativeAction Action
negativeAction Action
soundEventPath string
expireTime float
timeoutAction Action
isAffirmativeOptionEnabled Func<(bool, string)>
isNegativeOptionEnabled Func<(bool, string)>

Fields

AffirmativeAction

public Action AffirmativeAction

Field Value

Action

AffirmativeText

public readonly string AffirmativeText

Field Value

string

ExpireTime

public readonly float ExpireTime

Field Value

float

GetIsAffirmativeOptionEnabled

public readonly Func<(bool, string)> GetIsAffirmativeOptionEnabled

Field Value

Func<(bool, string)>

GetIsNegativeOptionEnabled

public readonly Func<(bool, string)> GetIsNegativeOptionEnabled

Field Value

Func<(bool, string)>

IsAffirmativeOptionShown

public readonly bool IsAffirmativeOptionShown

Field Value

bool

IsNegativeOptionShown

public readonly bool IsNegativeOptionShown

Field Value

bool

NegativeAction

public readonly Action NegativeAction

Field Value

Action

NegativeText

public readonly string NegativeText

Field Value

string

SoundEventPath

public readonly string SoundEventPath

Field Value

string

Text

public string Text

Field Value

string

TimeoutAction

public readonly Action TimeoutAction

Field Value

Action

TitleText

public string TitleText

Field Value

string

Methods

HasSameContentWith(object)

public bool HasSameContentWith(object other)

Parameters

other object

Returns

bool

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).