/**
  * Get whether the server if a lobby, the number and maximum number of players currently managed by it.
  * @param bool $multicall
  * @return Structures\LobbyInfo
  */
 function getLobbyInfo($multicall = false)
 {
     if ($multicall) {
         return $this->execute(ucfirst(__FUNCTION__), array(), $this->structHandler('LobbyInfo'));
     }
     return Structures\LobbyInfo::fromArray($this->execute(ucfirst(__FUNCTION__)));
 }
示例#2
0
 /**
  * Get whether the server if a lobby, the number and maximum number of players currently managed by it. 
  * The struct returned contains 4 fields IsLobby, LobbyPlayers, LobbyMaxPlayers, and LobbyPlayersLevel.
  * @return Structures\LobbyInfo
  */
 function getLobbyInfo()
 {
     $result = $this->execute(ucfirst(__FUNCTION__));
     return Structures\LobbyInfo::fromArray($result);
 }