Constants

MLID_MENU

MLID_MENU

SETTING_MENU_POSX

SETTING_MENU_POSX

SETTING_MENU_POSY

SETTING_MENU_POSY

SETTING_MENU_ITEMSIZE

SETTING_MENU_ITEMSIZE

ACTION_OPEN_ADMIN_MENU

ACTION_OPEN_ADMIN_MENU

ACTION_OPEN_PLAYER_MENU

ACTION_OPEN_PLAYER_MENU

Properties

$adminMenuItems

$adminMenuItems : 

Type

$playerMenuItems

$playerMenuItems : 

Type

$initCompleted

$initCompleted : 

Type

Methods

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl) 

Construct a new Actions Menu instance

Parameters

\ManiaControl\ManiaControl $maniaControl

addMenuItem()

addMenuItem(\FML\Controls\Control  $control, boolean  $playerAction = true, integer  $order, string  $description = null) 

Add a new Menu Item

Parameters

\FML\Controls\Control $control
boolean $playerAction
integer $order
string $description

addPlayerMenuItem()

addPlayerMenuItem(\FML\Controls\Control  $control, integer  $order, string  $description = null) 

Add a new Player Menu Item

Parameters

\FML\Controls\Control $control
integer $order
string $description

rebuildAndShowMenu()

rebuildAndShowMenu() 

Build and show the menus to everyone (if a menu get made after the init)

addAdminMenuItem()

addAdminMenuItem(\FML\Controls\Control  $control, integer  $order, string  $description = null) 

Add a new Admin Menu Item

Parameters

\FML\Controls\Control $control
integer $order
string $description

removeMenuItem()

removeMenuItem(integer  $order, boolean  $playerAction = true) 

Removes a Menu Item

Parameters

integer $order
boolean $playerAction