Main Page | Class Hierarchy | Class List | Directories | Class Members | Related Pages | Examples

vietkong Class Reference

Extends the gameSpy protocol to support Vietkong. More...

Inheritance diagram for vietkong:

Inheritance graph
Collaboration diagram for vietkong:

Collaboration graph
List of all members.

Public Member Functions

 query_server ($getPlayers=TRUE, $getRules=TRUE)
 Querys the server.
 _getClassName ()
 returns the class name of the instance

Detailed Description

Extends the gameSpy protocol to support Vietkong.

Author:
Jeremias Reith (jr@terragate.net)
Version:
Id
vietkong.php 190 2004-09-25 15:48:06Z jr
Todo:
process rules
Vietkong's default query port seems to be 15426. Vietkong does not provide a ganename. This class takes note of the changed vietkong query commands. Rules are currently not processed.
Examples:

example_usage.php.


Member Function Documentation

vietkong::_getClassName  ) 
 

returns the class name of the instance

Returns:
the class name of the instance
Override this for mixed case class names and support for PHP <5

Reimplemented from gameSpy.

vietkong::query_server getPlayers = TRUE,
getRules = TRUE
 

Querys the server.

This method is abstract

Parameters:
getPlayers wheather to retrieve player infos
getRules wheather to retrieve rules
Returns:
TRUE on success

Reimplemented from gameSpy.


The documentation for this class was generated from the following file:
Generated on Sat Oct 15 16:52:06 2005 for gsQuery by  doxygen 1.4.4