Properties |
protected
|
|
$state = self::STATE_BETA
Define the state of this class
Define the state of this class
|
#
|
protected
|
|
$packets = [
self::PACKET_DETAILS => "\xFE\xFD\x00\x43\x4F\x52\x59\xFF\x00\x00",
self::PACKET_PLAYERS => "\xFE\xFD\x00\x43\x4F\x52\x58\x00\xFF\xFF",
]
Array of packets we want to look up.
Each key should correspond to a defined method in this or a parent class
Array of packets we want to look up.
Each key should correspond to a defined method in this or a parent class
|
#
|
protected
|
|
$responses = ["\x00\x43\x4F\x52\x59" => "processDetails", "\x00\x43\x4F\x52\x58" => "processPlayers"]
Use the response flag to figure out what method to run
Use the response flag to figure out what method to run
|
#
|
protected
|
|
$protocol = 'gamespy2'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'gamespy2'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "GameSpy2 Server"
Longer string name of this protocol class
Longer string name of this protocol class
|
#
|
protected
|
|
$join_link = null
The client join link
|
#
|
protected
|
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'gametype' => 'gametype',
'hostname' => 'hostname',
'mapname' => 'mapname',
'maxplayers' => 'maxplayers',
'mod' => 'mod',
'numplayers' => 'numplayers',
'password' => 'password',
],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|