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

Class: Net_GameServerQuery_Result

Source Location: /Net_GameServerQuery-0.1/GameServerQuery.php

Class Overview


Net_GameServerQuery_Result


Author(s):

Version:

  • 0.1

Methods


Inherited Variables

Inherited Methods


Class Details

[line 389]
Net_GameServerQuery_Result

Result object for GameServerQuery.

  • Version: 0.1


[ Top ]


Method Detail

__construct (Constructor)   [line 417]

Net_GameServerQuery_Result __construct( string $data, int $ping, array $prot)

Constructor
  • Version: 0.1
  • Access: public

Parameters:

string   $data   —  The raw array of packet data
int   $ping   —  The ping in milliseconds
array   $prot   —  The query protocol information

[ Top ]

ping   [line 500]

float ping( )

The time it took the server to respond to a request
  • Return: Ping in milliseconds
  • Version: 0.1
  • Access: public

[ Top ]

players   [line 472]

array players( )

Information about players on the server

This function is not complete. It will return a dummy array of player information.

  • Return: The associative array of server data
  • Version: 0.1
  • Access: public

[ Top ]

raw   [line 457]

array raw( )

Raw packet data
  • Return: The associative array of server data
  • Version: 0.1
  • Access: public

[ Top ]

rules   [line 487]

array rules( )

Rules listing

This function is not complete. It will return false.

  • Return: The associative array of server data
  • Version: 0.1
  • Access: public

[ Top ]

status   [line 432]

array status( )

Basic "status" information
  • Return: The associative array of server data
  • Version: 0.1
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:14:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.