|
|
@ -1,4 +1,14 @@
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Class written by xPaw
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Website: http://xpaw.ru
|
|
|
|
|
|
|
|
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Special thanks to koraktor for his awesome Steam Condenser class,
|
|
|
|
|
|
|
|
* I used it as a reference at some points.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
if( !defined( '__DIR__' ) ) // PHP < 5.3
|
|
|
|
if( !defined( '__DIR__' ) ) // PHP < 5.3
|
|
|
|
{
|
|
|
|
{
|
|
|
|
define( '__DIR__', dirname( __FILE__ ) );
|
|
|
|
define( '__DIR__', dirname( __FILE__ ) );
|
|
|
@ -11,16 +21,6 @@ require __DIR__ . '/Rcon.class.php';
|
|
|
|
|
|
|
|
|
|
|
|
class SourceQuery
|
|
|
|
class SourceQuery
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Class written by xPaw
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Website: http://xpaw.ru
|
|
|
|
|
|
|
|
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Special thanks to koraktor for his awesome Steam Condenser class,
|
|
|
|
|
|
|
|
* I used it as a reference at some points.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Values returned by GetChallenge()
|
|
|
|
* Values returned by GetChallenge()
|
|
|
|
*
|
|
|
|
*
|
|
|
|