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-local+709673996c0cc3c0733358a87691d1009326afa7
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