feat(Server): add a setter for maxPlayers (#6261)

This commit is contained in:
Doge
2024-12-01 23:24:50 +03:00
committed by GitHub
parent 02d181d0c8
commit 0dae786a21

View File

@ -345,6 +345,10 @@ class Server{
return $this->maxPlayers;
}
public function setMaxPlayers(int $maxPlayers) : void{
$this->maxPlayers = $maxPlayers;
}
/**
* Returns whether the server requires that players be authenticated to Xbox Live. If true, connecting players who
* are not logged into Xbox Live will be disconnected.