added authchanged callback and change authent level in the player object
This commit is contained in:
1 parent
f0d78d5de6
commit
52c6a677e4
2 files changed
+10
-1
No files matched your search
@@ -74,6 +74,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(PlayerManager::CB_PLAYERINFOCHANGED, $this, 'updateWidget');
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MP_PLAYERCONNECT, $this, 'updateWidget');
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MP_PLAYERDISCONNECT, $this, 'updateWidget');
|
||||
$this->maniaControl->callbackManager->registerCallbackListener(AuthenticationManager::CB_AUTH_LEVEL_CHANGED, $this, 'updateWidget');
|
||||
//settings
|
||||
$this->width = 150;
|
||||
$this->height = 80;
|
||||
|
||||
Reference in new issue
Block a user