TrackManiaControl/application/core/Maniaplanet/DedicatedServer/Structures/GameInfos.php

48 lines
1.1 KiB
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
*/
namespace Maniaplanet\DedicatedServer\Structures;
class GameInfos extends AbstractStructure
{
/**
* Game Modes
*/
const GAMEMODE_SCRIPT = 0;
const GAMEMODE_ROUNDS = 1;
const GAMEMODE_TIMEATTACK = 2;
const GAMEMODE_TEAM = 3;
const GAMEMODE_LAPS = 4;
const GAMEMODE_CUP = 5;
const GAMEMODE_STUNTS = 6;
public $gameMode;
public $scriptName;
public $nbMaps;
public $chatTime;
public $finishTimeout;
public $allWarmUpDuration;
public $disableRespawn;
public $forceShowAllOpponents;
public $roundsPointsLimit;
public $roundsForcedLaps;
public $roundsUseNewRules;
public $roundsPointsLimitNewRules;
public $teamPointsLimit;
public $teamMaxPoints;
public $teamUseNewRules;
public $teamPointsLimitNewRules;
public $timeAttackLimit;
public $timeAttackSynchStartPeriod;
public $lapsNbLaps;
public $lapsTimeLimit;
public $cupPointsLimit;
public $cupRoundsPerMap;
public $cupNbWinners;
public $cupWarmUpDuration;
}
?>