Table of Contents

Struct InputDialogResponse

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

Represents a response to a InputDialog.

public struct InputDialogResponse
Inherited Members

Constructors

InputDialogResponse(DialogResponse, string?)

Initializes a new instance of the MessageDialogResponse struct.

public InputDialogResponse(DialogResponse response, string? inputText)

Parameters

response DialogResponse

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

inputText string

The text the player has entered into the input field.

Properties

InputText

Gets the text the player has entered into the input field.

public readonly string? InputText { get; }

Property Value

string

Response

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

public readonly DialogResponse Response { get; }

Property Value

DialogResponse