Skip to content

Instantly share code, notes, and snippets.

@w1lla
Created February 3, 2014 11:54
Show Gist options
  • Save w1lla/8782630 to your computer and use it in GitHub Desktop.
Save w1lla/8782630 to your computer and use it in GitHub Desktop.
<?php
/**
* @copyright Copyright (c) 2009-2013 NADEO (http://www.nadeo.com)
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
* @version $Revision: $:
* @author $Author: $:
* @date $Date: $:
*/
namespace ManiaLivePlugins\MatchMakingLobby\MatchSettings;
class SiegeLobby implements MatchSettings
{
public function getLobbyScriptSettings()
{
$rules = array(
'S_UseLobby' => true,
'S_LobbyTimePerMap' => 1800
);
return $rules;
}
public function getMatchScriptSettings()
{
$rules = array('S_Mode' => false);
$rules['S_Mode'] = 1;
$rules['S_NbRoundMax'] = 5;
return $rules;
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment