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

igi2 Class Reference

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

Inheritance diagram for igi2:

Inheritance graph
Collaboration diagram for igi2:

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
 _processPlayers ($rawPlayerData)
 Extracts the players out of the given data.

Detailed Description

Extends the gameSpy protocol to support IGI2.

Author:
Curtis Brown (volfin1@earthlink.net)
Version:
Revision
190
Todo:
make teamnames available in teamnames array

remove team scores from rules


Member Function Documentation

igi2::_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.

igi2::_processPlayers rawPlayerData  ) 
 

Extracts the players out of the given data.

For internal use only.

Parameters:
rawPlayerData data with players
Returns:
TRUE on success

Reimplemented from gameSpy.

igi2::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:01 2005 for gsQuery by  doxygen 1.4.4