maniaplanet api update
This commit is contained in:
committed by
Steffen Schröder
parent
6520e75738
commit
7d8ba59771
@ -106,8 +106,8 @@ class Connection
|
||||
* @param string $authLevel
|
||||
* @param array $params
|
||||
*/
|
||||
public function execute($methodName, $params = array(), $multicall = false)
|
||||
{//TODO just temporary
|
||||
protected function execute($methodName, $params = array(), $multicall = false)
|
||||
{
|
||||
if($multicall)
|
||||
{
|
||||
$this->xmlrpcClient->addCall($methodName, $params);
|
||||
|
@ -15,6 +15,7 @@ class ScriptInfo extends AbstractStructure
|
||||
public $description;
|
||||
public $version;
|
||||
public $paramDescs = array();
|
||||
public $commandDescs = array();
|
||||
|
||||
static public function fromArray($array)
|
||||
{
|
||||
@ -24,6 +25,10 @@ class ScriptInfo extends AbstractStructure
|
||||
{
|
||||
$object->paramDescs = ScriptSettings::fromArrayOfArray($object->paramDescs);
|
||||
}
|
||||
if($object->commandDescs)
|
||||
{
|
||||
$object->commandDescs = Command::fromArrayOfArray($object->commandDescs);
|
||||
}
|
||||
return $object;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
|
||||
*/
|
||||
|
||||
|
||||
namespace Maniaplanet\DedicatedServer\Structures;
|
||||
|
||||
class ServerOptions extends AbstractStructure
|
||||
@ -39,4 +39,6 @@ class ServerOptions extends AbstractStructure
|
||||
public $nextUseChangingValidationSeed;
|
||||
public $clientInputsMaxLatency;
|
||||
public $keepPlayerSlots;
|
||||
public $disableHorns;
|
||||
public $disableServiceAnnounces;
|
||||
}
|
Reference in New Issue
Block a user