Menu Class |
Namespace: SampSharp.Entities.SAMP
public sealed class Menu : Component
The Menu type exposes the following members.
Name | Description | |
---|---|---|
Col0Header |
Gets or sets the caption of the left column in this menu.
| |
Col0Width |
Gets the width of the left column in this menu.
| |
Col1Header |
Gets or sets the caption of the right column in this menu.
| |
Col1Width |
Gets the width of the right column in this menu.
| |
Columns |
Gets the number of columns in this menu.
| |
Entity |
Gets the entity to which this component has been attached.
(Inherited from Component.) | |
IsComponentAlive |
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.) | |
Parent |
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.) | |
Position |
Gets the position of this menu.
| |
Title |
Gets the title of this menu.
|
Name | Description | |
---|---|---|
AddComponentT |
Adds a component of the specified type T to the entity.
(Inherited from Component.) | |
AddComponentT(Object) |
Adds a component of the specified type T to the entity with the specified constructor args.
(Inherited from Component.) | |
AddItem |
Adds an item to this menu.
| |
Destroy |
Destroys this component.
(Inherited from Component.) | |
DestroyComponentsT |
Destroys the components of the specified type T attached to the entity.
(Inherited from Component.) | |
DestroyEntity |
Destroys the entity.
(Inherited from Component.) | |
Disable |
Disable input for this menu. Any item will lose the ability to be selected.
| |
DisableRow |
Disable a specific row in this menu for all players. It will be grayed-out and can't be selected by players.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetComponentT |
Gets a component of the specified type T attached to the entity.
(Inherited from Component.) | |
GetComponentInChildrenT |
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
(Inherited from Component.) | |
GetComponentInParentT |
Gets a component of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) | |
GetComponentsT |
Gets all components of the specified type T attached to the entity.
(Inherited from Component.) | |
GetComponentsInChildrenT |
Gets all components of the specified type T attached to a child entity of the entity.
(Inherited from Component.) | |
GetComponentsInParentT |
Gets all components of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) | |
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.
| |
Show |
Shows this menu for the specified player.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |