Net_GameServerQuery
[ class tree: Net_GameServerQuery ] [ index: Net_GameServerQuery ] [ all elements ]

Class: Net_GameServerQuery_Protocol_GameSpy04

Source Location: /Net_GameServerQuery-0.2.0/GameServerQuery/Protocol/GameSpy04.php

Class Overview

Net_GameServerQuery_Protocol
   |
   --Net_GameServerQuery_Protocol_GameSpy04

GameSpy04 Protocol


Author(s):

Version:

  • $Revision: 1.13 $

Methods


Inherited Variables

Inherited Methods

Class: Net_GameServerQuery_Protocol

Net_GameServerQuery_Protocol::__construct()
Constructor
Net_GameServerQuery_Protocol::process()
Process server response according to packet type
Net_GameServerQuery_Protocol::toFloat()
Conversion to float
Net_GameServerQuery_Protocol::toInt()
Conversion to integer
Net_GameServerQuery_Protocol::_add()
Adds variable to output
Net_GameServerQuery_Protocol::_addPlayer()
Adds player variable to output
Net_GameServerQuery_Protocol::_getPrefix()
Remove and return a prefix from the response string
Net_GameServerQuery_Protocol::_match()
Match response to regular expression

Class Details

[line 33]
GameSpy04 Protocol


[ Top ]


Method Detail

_players   [line 62]

array _players( )

Player packet
  • Return: Array containing formatted server response
  • Access: protected

[ Top ]

_rules   [line 41]

array _rules( )

Rules packet
  • Return: Array containing formatted server response
  • Access: protected

[ Top ]

_team   [line 86]

array _team( [bool $from_players = false])

Team packet
  • Return: Array containing formatted server response
  • Access: protected

Parameters:

bool   $from_players   —  True if packet was also contained player data.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:58:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.