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 GameInfos extends AbstractStructure
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Game Modes
|
|
|
|
*/
|
2014-06-12 15:39:50 +02:00
|
|
|
const GAMEMODE_SCRIPT = 0;
|
|
|
|
const GAMEMODE_ROUNDS = 1;
|
2014-01-16 16:56:24 +01:00
|
|
|
const GAMEMODE_TIMEATTACK = 2;
|
2014-06-12 15:39:50 +02:00
|
|
|
const GAMEMODE_TEAM = 3;
|
|
|
|
const GAMEMODE_LAPS = 4;
|
|
|
|
const GAMEMODE_CUP = 5;
|
|
|
|
const GAMEMODE_STUNTS = 6;
|
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 $gameMode;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var string */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $scriptName;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $nbMaps;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $chatTime;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $finishTimeout;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $allWarmUpDuration;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var bool */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $disableRespawn;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $forceShowAllOpponents;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $roundsPointsLimit;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $roundsForcedLaps;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var bool */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $roundsUseNewRules;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $roundsPointsLimitNewRules;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $teamPointsLimit;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $teamMaxPoints;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var bool */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $teamUseNewRules;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $teamPointsLimitNewRules;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $timeAttackLimit;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $timeAttackSynchStartPeriod;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $lapsNbLaps;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $lapsTimeLimit;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $cupPointsLimit;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $cupRoundsPerMap;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $cupNbWinners;
|
2014-05-08 19:38:15 +02:00
|
|
|
/** @var int */
|
2014-01-16 16:56:24 +01:00
|
|
|
public $cupWarmUpDuration;
|
|
|
|
}
|