Menu Class |
Namespace: SampSharp.GameMode.Display
public class Menu : Pool<Menu>
The Menu type exposes the following members.
Name | Description | |
---|---|---|
Columns |
Gets a collection of columns.
| |
Id |
Gets the Identity of this IIdentifiable.
| |
IsDisposed |
Gets whether this resource has been disposed.
(Inherited from Disposable.) | |
Position |
Gets the position.
| |
Rows |
Gets a collection of rows.
| |
Title |
Gets the title.
| |
Viewers |
Gets an IReadOnlyCollectionT of BasePlayer instances which are viewing this
instance.
|
Name | Description | |
---|---|---|
AssertNotDisposed |
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.) | |
Dispose |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.) | |
Dispose(Boolean) |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides PoolTInstanceDispose(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the Disposable class.
(Inherited from Disposable.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Hide |
Hides this Menu for the specified player.
| |
HideForAll |
Hides this Menu for all viewers.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnExit |
Raises the Exit event.
| |
OnResponse |
Raises the Response event.
| |
Show |
Show this Menu to the specified player.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Disposed |
Occurs when this isntance has been disposed.
(Inherited from Disposable.) | |
Exit |
Occurs when this Menu was exited.
| |
Response |
Occurs when there has been responded to this Menu.
|
Name | Description | |
---|---|---|
InvalidId |
Identifier indicating the handle is invalid.
| |
Max |
Maximum number of menus which can exist.
|