finished timermanager
This commit is contained in:
committed by
Steffen Schröder
parent
140c77441e
commit
7518eec9eb
@ -76,13 +76,8 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(PlayerManager::CB_PLAYERDISCONNECTED, $this, 'updateWidget');
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(PlayerManager::CB_PLAYERJOINED, $this, 'updateWidget');
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(AuthenticationManager::CB_AUTH_LEVEL_CHANGED, $this, 'updateWidget');
|
||||
|
||||
$this->maniaControl->timerManager->registerTimerListening($this, 'test', 1); //TODo just a test
|
||||
}
|
||||
|
||||
public function test($triggerTime){
|
||||
var_dump($triggerTime);
|
||||
}
|
||||
|
||||
public function addPlayerToShownList(Player $player, $showStatus = self::SHOWN_MAIN_WINDOW) {
|
||||
$this->playersListShown[$player->login] = $showStatus;
|
||||
|
Reference in New Issue
Block a user