mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-06-11 02:33:15 +02:00
Move the response array logic into classes.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ $exception = null;
|
||||
|
||||
try {
|
||||
$query->connect('localhost', 27015);
|
||||
//$query->setUseOldGetChallengeMethod( true ); // Use this when players/rules retrieval fails on games like Starbound
|
||||
//$query->setUseOldGetChallengeMethod(true); // Use this when players/rules retrieval fails on games like Starbound.
|
||||
|
||||
$info = $query->getInfo();
|
||||
$players = $query->getPlayers();
|
||||
|
||||
Reference in New Issue
Block a user