/** * Get some system infos, including connection rates (in kbps). * @param bool $multicall * @return Structures\SystemInfos */ function getSystemInfo($multicall = false) { if ($multicall) { return $this->execute(ucfirst(__FUNCTION__), array(), $this->structHandler('SystemInfos')); } return Structures\SystemInfos::fromArray($this->execute(ucfirst(__FUNCTION__))); }
/** * Get some system infos. * Return a struct containing: * PublishedIp, Port, P2PPort, ServerLogin, ServerPlayerId * @return Structures\SystemInfos */ function getSystemInfo() { $result = $this->execute(ucfirst(__FUNCTION__)); return Structures\SystemInfos::fromArray($result); }