Properties |
protected
|
|
$packets = [
self::PACKET_DETAILS => "sel %d\x0asi\x0a",
self::PACKET_CHANNELS => "sel %d\x0acl\x0a",
self::PACKET_PLAYERS => "sel %d\x0apl\x0a",
]
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
|
|
$transport = self::TRANSPORT_TCP
The transport mode for this protocol is TCP
The transport mode for this protocol is TCP
|
#
|
protected
|
|
$protocol = 'teamspeak2'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'teamspeak2'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "Teamspeak 2"
Longer string name of this protocol class
Longer string name of this protocol class
|
#
|
protected
|
|
$join_link = "teamspeak://%s:%d/"
The client join link
|
#
|
protected
|
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'hostname' => 'server_name',
'password' => 'server_password',
'numplayers' => 'server_currentusers',
'maxplayers' => 'server_maxusers',
],
'player' => ['id' => 'p_id', 'team' => 'c_id', 'name' => 'nick'],
'team' => ['id' => 'id', 'name' => 'name'],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|