use of dedicatedserver api

This commit is contained in:
kremsy
2014-01-16 16:56:24 +01:00
committed by Steffen Schröder
parent a404edf280
commit 13fe48e4ce
28 changed files with 5988 additions and 0 deletions

View File

@ -0,0 +1,47 @@
<?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;
}
?>