Table of Contents

Struct TablistDialogResponse

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

Represents a response to a TablistDialog.

public struct TablistDialogResponse
Inherited Members

Constructors

TablistDialogResponse(DialogResponse, int, TablistDialogRow?)

Initializes a new instance of the MessageDialogResponse struct.

public TablistDialogResponse(DialogResponse response, int itemIndex, TablistDialogRow? 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 TablistDialogRow

The item the player selected in the dialog.

Properties

Item

Gets the item the player selected in the dialog.

public readonly TablistDialogRow? Item { get; }

Property Value

TablistDialogRow

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