Click or drag to resize

DialogServiceShowTResponse Method (EntityId, IDialogTResponse, ActionTResponse)

Shows the specified dialog to the player.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public void Show<TResponse>(
	EntityId player,
	IDialog<TResponse> dialog,
	Action<TResponse> responseHandler
)
where TResponse : struct, new()

Parameters

player
Type: SampSharp.EntitiesEntityId
The player to show the dialog to.
dialog
Type: SampSharp.Entities.SAMPIDialogTResponse
The dialog to show to the player.
responseHandler
Type: SystemActionTResponse
A handler for the dialog response.

Type Parameters

TResponse
The type of the response returned by the dialog.

Implements

IDialogServiceShowTResponse(EntityId, IDialogTResponse, ActionTResponse)
See Also