Table of Contents

Interface IDialog<TResponse>

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

Provides the functionality of a dialog definition with a specialized dialog response struct of type TResponse.

public interface IDialog<out TResponse> : IDialog where TResponse : struct

Type Parameters

TResponse

The type of the specialized response struct.

Inherited Members

Methods

Translate(DialogResult)

Translates the specified dialogResult to a specialized response of type TResponse.

TResponse Translate(DialogResult dialogResult)

Parameters

dialogResult DialogResult

The dialog result to translate.

Returns

TResponse

The translated dialog result.