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:28:45 +02:00
|
|
|
|
2014-01-16 16:56:24 +01:00
|
|
|
namespace Maniaplanet\DedicatedServer\Structures;
|
|
|
|
|
|
|
|
class Skin extends AbstractStructure
|
|
|
|
{
|
2014-05-08 19:28:45 +02:00
|
|
|
/** @var string */
|
|
|
|
public $environnement;
|
|
|
|
/** @var FileDesc */
|
|
|
|
public $packDesc;
|
|
|
|
|
|
|
|
static function fromArray($array)
|
|
|
|
{
|
|
|
|
$object = parent::fromArray($array);
|
|
|
|
$object->packDesc = FileDesc::fromArray($object->packDesc);
|
|
|
|
return $object;
|
|
|
|
}
|
|
|
|
}
|