- Ingame configurator -> script settings
- fixed local records plugin - fixed systeminfo command - FML update
This commit is contained in:
43
application/core/Configurators/ConfiguratorMenu.php
Normal file
43
application/core/Configurators/ConfiguratorMenu.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace ManiaControl\Configurators;
|
||||
|
||||
use FML\Script\Pages;
|
||||
use FML\Script\Tooltips;
|
||||
use ManiaControl\Players\Player;
|
||||
|
||||
/**
|
||||
* Interface for configurator menus
|
||||
*
|
||||
* @author steeffeen & kremsy
|
||||
*/
|
||||
interface ConfiguratorMenu {
|
||||
|
||||
/**
|
||||
* Get the menu title
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle();
|
||||
|
||||
/**
|
||||
* Get the configurator menu
|
||||
*
|
||||
* @param float $width
|
||||
* @param float $height
|
||||
* @param Pages $pages
|
||||
* @param Tooltips $tooltips
|
||||
* @return \FML\Controls\Control
|
||||
*/
|
||||
public function getMenu($width, $height, Pages $pages, Tooltips $tooltips);
|
||||
|
||||
/**
|
||||
* Save the config data
|
||||
*
|
||||
* @param array $configData
|
||||
* @param Player $player
|
||||
*/
|
||||
public function saveConfigData(array $configData, Player $player);
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user