Edit

MessageBoxResult Interface

The result returned when an MessageBox is closed. Contains the reason the message box was closed and the player's button selection, if applicable.

Properties

closeReason

closeReason: DataDrivenScreenClosedReason;

The reason the message box was closed.

Type: DataDrivenScreenClosedReason

selection

selection?: number;

The index of the button the player selected. Not set if the message box was closed without a button selection (e.g., the player was busy or the server closed it).

Type: number