Skip to content

AcceptDialog.cs

Avrigeanu Laurian edited this page Apr 11, 2023 · 1 revision

AcceptDialog() Method

Accepts the current dialog if it is present.

Returns

  • A boolean value indicating whether a dialog was accepted. Returns true if a dialog was accepted, false otherwise.

Remarks

This method checks if a dialog is currently present. If a dialog is present, it logs an information message with the message of the dialog, accepts the dialog, and returns true. If no dialog is present, it returns false.

Clone this wiki locally