dedicated-server-api update

This commit is contained in:
Steffen Schröder committed 2014-05-13 17:37:35 +02:00
1 parent eb5af6ebd1
commit d16e89d13d
4 files changed
+321 -175

No files matched your search

@@ -0,0 +1,16 @@
<?php
/**
* ManiaPlanet dedicated server Xml-RPC client
*
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
*/
namespace Maniaplanet\DedicatedServer\Structures;
class TokenInfos extends AbstractStructure
{
/** @var int */
public $tokenCost;
/** @var bool */
public $canPayToken;
}
@@ -42,8 +42,8 @@ class VoteRatio extends AbstractStructure
function isValid()
{
return is_string($this->command)
&& is_string($this->param)
&& self::isRatio($this->ratio);
&& is_string($this->param)
&& self::isRatio($this->ratio);
}
/**