Click or drag to resize

Menu Constructor

Initializes a new instance of the Menu class.

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public Menu(
	string title,
	Vector2 position,
	IList<MenuColumn> columns = null,
	IList<MenuRow> rows = null
)

Parameters

title
Type: SystemString
The title of the menu.
position
Type: SampSharp.GameModeVector2
The position of the menu on the screen.
columns (Optional)
Type: System.Collections.GenericIListMenuColumn
The columns to display in the menu.
rows (Optional)
Type: System.Collections.GenericIListMenuRow
The rows to display in the menu.
See Also