This commit is contained in:
kremsy
2013-11-10 16:17:41 +01:00
parent 5bcf0ac4e7
commit 4da55c383e
2 changed files with 215 additions and 192 deletions

View File

@ -0,0 +1,21 @@
<?php
/**
* @author Lukas Kremsmayr and steeffeen
*/
namespace ManiaControl;
class settingConfigurator {
private $maniaControl = null;
public function __construct(ManiaControl $maniaControl){
$this->maniaControl = $maniaControl;
$this->maniaControl->callbacks->registerCallbackHandler(Callbacks::CB_MC_ONINIT, $this, 'onInit');
}
private function onInit(){
$this->maniaControl->chat->sendChat("test");
}
}