2014-01-16 16:56:24 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* ManiaPlanet dedicated server Xml-RPC client
|
|
|
|
*
|
|
|
|
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
|
|
|
|
*/
|
2014-05-08 19:38:15 +02:00
|
|
|
|
2014-01-16 16:56:24 +01:00
|
|
|
namespace Maniaplanet\DedicatedServer\Structures;
|
|
|
|
|
|
|
|
class Map extends AbstractStructure
|
|
|
|
{
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $uId;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $name;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $fileName;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $author;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $environnement;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $mood;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $bronzeTime;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $silverTime;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $goldTime;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $authorTime;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $copperPrice;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var bool */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $lapRace;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $nbLaps;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $nbCheckpoints;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $mapType;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $mapStyle;
|
2014-06-12 15:39:50 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Map
|
|
|
|
*/
|
|
|
|
public static function fromArray($array)
|
|
|
|
{
|
|
|
|
$object = parent::fromArray($array);
|
|
|
|
$object->fileName = str_replace("\xEF\xBB\xBF", '', $object->fileName);
|
|
|
|
return $object;
|
|
|
|
}
|
2014-05-08 19:38:15 +02:00
|
|
|
}
|