TrackManiaControl/libs/Maniaplanet/DedicatedServer/Structures/ZoneRanking.php

29 lines
479 B
PHP
Raw Permalink Normal View History

2014-05-08 19:33:27 +02:00
<?php
/**
* ManiaPlanet dedicated server Xml-RPC client
*
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
*/
namespace Maniaplanet\DedicatedServer\Structures;
class ZoneRanking extends AbstractStructure
{
/** @var string */
public $path;
/** @var float */
public $score;
/** @var int */
public $ranking;
/** @var int */
public $totalCount;
/**
* @return string[]
*/
function getArrayFromPath()
{
return explode('|', $this->path);
}
}