cvs: pear /Net_GameServerQuery Config.php
| From: | Aidan Lister | Date: | Thu, 01 Jul 2004 12:08:55 +0000 |
| Subject: | cvs: pear /Net_GameServerQuery Config.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21352@lists.php.net to get a copy of this message | ||
aidan Thu Jul 1 08:08:55 2004 EDT
Modified files:
/pear/Net_GameServerQuery Config.php
Log:
Added some other methods
http://cvs.php.net/diff.php/pear/Net_GameServerQuery/Config.php?r1=1.1&r2=1.2&ty=u
Index: pear/Net_GameServerQuery/Config.php
diff -u pear/Net_GameServerQuery/Config.php:1.1 pear/Net_GameServerQuery/Config.php:1.2
--- pear/Net_GameServerQuery/Config.php:1.1 Thu Jul 1 07:48:08 2004
+++ pear/Net_GameServerQuery/Config.php Thu Jul 1 08:08:55 2004
@@ -51,6 +51,17 @@
return $packet;
}
+ public function getprotocol($game)
+ {
+ return $this->_game[$game];
+
+ }
+
+ public function getdefaultport($protocol)
+ {
+ return $this->_protocol[$protocol]['queryport'];
+
+ }
}
?>