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

27 lines
506 B
PHP
Raw Normal View History

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 Skin extends AbstractStructure
{
2014-05-08 19:38:15 +02:00
/** @var string */
public $environnement;
/** @var FileDesc */
public $packDesc;
2014-06-12 15:39:50 +02:00
/**
* @return Skin
*/
public static function fromArray($array)
2014-05-08 19:38:15 +02:00
{
$object = parent::fromArray($array);
$object->packDesc = FileDesc::fromArray($object->packDesc);
return $object;
}
}