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;
|
|
|
|
}
|
|
|
|
}
|