settingsConfigurator

This commit is contained in:
kremsy 2013-11-10 16:36:09 +01:00
parent 4da55c383e
commit 10939b0104

View File

@ -11,11 +11,11 @@ class settingConfigurator {
public function __construct(ManiaControl $maniaControl){ public function __construct(ManiaControl $maniaControl){
$this->maniaControl = $maniaControl; $this->maniaControl = $maniaControl;
$this->maniaControl->callbacks->registerCallbackHandler(Callbacks::CB_MC_ONINIT, $this, 'onInit'); $this->maniaControl->callbacks->registerCallbackHandler(Callbacks::CB_MC_ONINIT, $this, 'onInit');
$this->maniaControl->manialinkIdHandler->reserveManiaLinkIds(100);
} }
private function onInit(){ public function onInit(array $callback){
// $this->maniaControl->manialinkUtil->
$this->maniaControl->chat->sendChat("test"); // $this->maniaControl->chat->sendChat("test");
} }
} }