Struct ListDialogResponse
Represents a response to a ListDialog.
public struct ListDialogResponse
- Inherited Members
Constructors
ListDialogResponse(DialogResponse, int, ListDialogRow?)
Initializes a new instance of the MessageDialogResponse struct.
public ListDialogResponse(DialogResponse response, int itemIndex, ListDialogRow? item)
Parameters
responseDialogResponseThe way in which the player has responded to the dialog.
itemIndexintThe index of the item the player selected in the dialog.
itemListDialogRowThe item the player selected in the dialog.
Properties
Item
Gets the item the player selected in the dialog.
public readonly ListDialogRow? Item { get; }
Property Value
ItemIndex
Gets the index of the item the player selected in the dialog.
public readonly int ItemIndex { get; }
Property Value
Response
Gets the way in which the player has responded to the dialog.
public readonly DialogResponse Response { get; }