Constants

ACTION_ADD_MAP

ACTION_ADD_MAP

ACTION_SEARCH_MAPNAME

ACTION_SEARCH_MAPNAME

ACTION_SEARCH_AUTHOR

ACTION_SEARCH_AUTHOR

ACTION_GET_MAPS_FROM_AUTHOR

ACTION_GET_MAPS_FROM_AUTHOR

ACTION_TOGGLE_MP4

ACTION_TOGGLE_MP4

MAX_MX_MAPS_PER_PAGE

MAX_MX_MAPS_PER_PAGE

CACHE_SHOWMP4ONLY

CACHE_SHOWMP4ONLY

Properties

$mapListShown

$mapListShown : 

Type

Methods

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl) 

Construct a new MX List instance

Parameters

\ManiaControl\ManiaControl $maniaControl

handleManialinkPageAnswer()

handleManialinkPageAnswer(array  $callback) 

Handle ManialinkPageAnswer Callback

Parameters

array $callback

showListCommand()

showListCommand(array  $chatCallback, \ManiaControl\Players\Player  $player) 

Shows the List

Parameters

array $chatCallback
\ManiaControl\Players\Player $player

toggleMP4MapsOnly()

toggleMP4MapsOnly(array  $callback, \ManiaControl\Players\Player  $player) 

Toggle to view mp4 maps only for a player

Parameters

array $callback
\ManiaControl\Players\Player $player

handleWidgetOpened()

handleWidgetOpened(\ManiaControl\Players\Player  $player,   $openedWidget) 

Unset the player if he opened another Main Widget

Parameters

\ManiaControl\Players\Player $player
$openedWidget

getMXMapsAndShowList()

getMXMapsAndShowList(\ManiaControl\Players\Player  $player, string  $author = '', string  $environment = '', string  $searchString = '') 

Gets MX Maps and displays maplist

Parameters

\ManiaControl\Players\Player $player
string $author
string $environment
string $searchString