TrackManiaControl/application/core/settingConfigurator.php
2013-11-10 16:17:41 +01:00

21 lines
458 B
PHP

<?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");
}
}