added new socketmanager, testing and exception ahndling not done yet
This commit is contained in:
1 parent
fc5a3e04b6
commit
fa899e87a8
6 files changed
+179
-37
No files matched your search
@@ -112,6 +112,8 @@ class PlayerManager implements CallbackListener, TimerListener, EchoListener {
|
||||
// Echo Warn Command (Usage: sendEcho json_encode("player" => "loginName")
|
||||
$this->maniaControl->getEchoManager()->registerEchoListener(self::ECHO_WARN_PLAYER, $this, function ($params) {
|
||||
$this->playerActions->warnPlayer(null, $params->player, false);
|
||||
|
||||
return "abcdef";
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user