Click or drag to resize

Dialog Class

Represents a SA:MP dialog.
Inheritance Hierarchy

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public abstract class Dialog

The Dialog type exposes the following members.

Constructors
  NameDescription
Protected methodDialog
Initializes a new instance of the Dialog class
Top
Properties
  NameDescription
Public propertyStatic memberAll
Gets all opened dialogs.
Public propertyButton1
Gets or sets the text on the left button.
Public propertyButton2
Gets or sets the text on the right button.
Public propertyCaption
Gets or sets the caption.
Protected propertyInfo
Gets the info displayed in the box.
Public propertyStyle
Gets or sets the style.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetOpenDialog
Gets the dialog currently being shown to the specified player.
Public methodGetType (Inherited from Object.)
Public methodStatic memberHide
Hides all dialogs for the specified player.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnResponse
Raises the Response event.
Public methodShow
Shows the dialog box to a Player.
Public methodShowAsync
Shows the dialog box to a Player asynchronously.
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventResponse
Occurs when a player responds to a dialog by either clicking a button, pressing ENTER/ESC or double-clicking a list item.
Top
See Also