Dialog Class |
Namespace: SampSharp.GameMode.Display
public abstract class Dialog
The Dialog type exposes the following members.
Name | Description | |
---|---|---|
All |
Gets all opened dialogs.
| |
Button1 |
Gets or sets the text on the left button.
| |
Button2 |
Gets or sets the text on the right button.
| |
Caption |
Gets or sets the caption.
| |
Info |
Gets the info displayed in the box.
| |
Style |
Gets or sets the style.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetOpenDialog |
Gets the dialog currently being shown to the specified player.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Hide |
Hides all dialogs for the specified player.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnResponse |
Raises the Response event.
| |
Show |
Shows the dialog box to a Player.
| |
ShowAsync |
Shows the dialog box to a Player asynchronously.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Response |
Occurs when a player responds to a dialog by either clicking a button, pressing ENTER/ESC or double-clicking a list
item.
|