Click or drag to resize

Menu Class

Represents a SA:MP menu.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.ToolsDisposable
    SampSharp.GameMode.PoolsPoolMenu
      SampSharp.GameMode.DisplayMenu

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class Menu : Pool<Menu>

The Menu type exposes the following members.

Constructors
  NameDescription
Public methodMenu
Initializes a new instance of the Menu class.
Top
Properties
  NameDescription
Public propertyColumns
Gets a collection of columns.
Public propertyId
Gets the Identity of this IIdentifiable.
Public propertyIsDisposed
Gets whether this resource has been disposed.
(Inherited from Disposable.)
Public propertyPosition
Gets the position.
Public propertyRows
Gets a collection of rows.
Public propertyTitle
Gets the title.
Public propertyViewers
Top
Methods
  NameDescription
Protected methodAssertNotDisposed
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.)
Public methodDispose
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.)
Protected methodDispose(Boolean)
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides PoolTInstanceDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Inherited from Disposable.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHide
Hides this Menu for the specified player.
Public methodHideForAll
Hides this Menu for all viewers.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnExit
Raises the Exit event.
Public methodOnResponse
Raises the Response event.
Public methodShow
Show this Menu to the specified player.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when this isntance has been disposed.
(Inherited from Disposable.)
Public eventExit
Occurs when this Menu was exited.
Public eventResponse
Occurs when there has been responded to this Menu.
Top
Fields
  NameDescription
Public fieldStatic memberInvalidId
Identifier indicating the handle is invalid.
Public fieldStatic memberMax
Maximum number of menus which can exist.
Top
See Also