release 1.3.9

This commit is contained in:
Newcomer1989
2020-08-03 13:02:27 +02:00
parent 2336177eca
commit d196dfb1f6
62 changed files with 3731 additions and 4211 deletions

View File

@@ -527,7 +527,7 @@ class TeamSpeak3_Node_Host extends TeamSpeak3_Node_Abstract
$permtree[$val]["permcatid"] = $val;
$permtree[$val]["permcathex"] = "0x" . dechex($val);
$permtree[$val]["permcatname"] = TeamSpeak3_Helper_String::factory(TeamSpeak3_Helper_Convert::permissionCategory($val));
$permtree[$val]["permcatparent"] = $permtree[$val]["permcathex"]{3} == 0 ? 0 : hexdec($permtree[$val]["permcathex"]{2} . 0);
$permtree[$val]["permcatparent"] = $permtree[$val]["permcathex"][3] == 0 ? 0 : hexdec($permtree[$val]["permcathex"][2] . 0);
$permtree[$val]["permcatchilren"] = 0;
$permtree[$val]["permcatcount"] = 0;

View File

@@ -37,6 +37,7 @@ class TeamSpeak3_Node_Server extends TeamSpeak3_Node_Abstract
* @ignore
*/
protected $clientList = null;
protected $clientListtsn = null;
/**
* @ignore
@@ -684,6 +685,12 @@ class TeamSpeak3_Node_Server extends TeamSpeak3_Node_Abstract
return $this->filterList($this->clientList, $filter);
}
public function clientListtsn($params = null)
{
# params: -uid -away -badges -voice -info -times -groups -icon -country -ip
return $this->request("clientlist $params")->toAssocArray("clid");
}
/**
* Resets the list of clients online.