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

25 lines
441 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 Status extends AbstractStructure
{
2024-08-25 22:30:06 +02:00
const UNKNOWN = 0;
const WAITING = 1;
const LAUNCHING = 2;
2014-01-16 16:56:24 +01:00
const SYNCHRONIZATION = 3;
2024-08-25 22:30:06 +02:00
const PLAY = 4;
const EXITING = 6;
const LOCAL = 7;
2014-01-16 16:56:24 +01:00
2014-05-08 19:38:15 +02:00
/** @var int */
2014-01-16 16:56:24 +01:00
public $code;
2014-05-08 19:38:15 +02:00
/** @var string */
2014-01-16 16:56:24 +01:00
public $name;
2014-05-08 19:38:15 +02:00
}