Table of Contents

Struct ListDialogResponse

Namespace
SampSharp.Entities.SAMP
Assembly
SampSharp.OpenMp.Entities.dll

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

response DialogResponse

The way in which the player has responded to the dialog.

itemIndex int

The index of the item the player selected in the dialog.

item ListDialogRow

The 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

ListDialogRow

ItemIndex

Gets the index of the item the player selected in the dialog.

public readonly int ItemIndex { get; }

Property Value

int

Response

Gets the way in which the player has responded to the dialog.

public readonly DialogResponse Response { get; }

Property Value

DialogResponse