2013-12-14 22:00:59 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Created by PhpStorm.
|
|
|
|
* User: Lukas
|
|
|
|
* Date: 14.12.13
|
|
|
|
* Time: 19:42
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace ManiaControl\Maps;
|
|
|
|
use FML\Controls\Control;
|
|
|
|
use FML\Controls\Label;
|
|
|
|
use FML\Controls\Labels\Label_Text;
|
|
|
|
use FML\Controls\Quads\Quad_Icons64x64_1;
|
2013-12-16 12:16:33 +01:00
|
|
|
use FML\Controls\Quads\Quad_UIConstruction_Buttons;
|
2013-12-15 15:13:56 +01:00
|
|
|
use FML\Script\Script;
|
|
|
|
use FML\Script\Tooltips;
|
2013-12-15 17:52:16 +01:00
|
|
|
use ManiaControl\Admin\AuthenticationManager;
|
2013-12-15 15:13:56 +01:00
|
|
|
use ManiaControl\Callbacks\CallbackListener;
|
|
|
|
use ManiaControl\Callbacks\CallbackManager;
|
2013-12-15 11:29:49 +01:00
|
|
|
use ManiaControl\Manialinks\ManialinkManager;
|
2013-12-14 22:00:59 +01:00
|
|
|
use ManiaControl\Manialinks\ManialinkPageAnswerListener;
|
|
|
|
use ManiaControl\Maps\Map;
|
|
|
|
use FML\Controls\Frame;
|
|
|
|
use FML\Controls\Quad;
|
|
|
|
use FML\Controls\Quads\Quad_BgRaceScore2;
|
|
|
|
use FML\ManiaLink;
|
|
|
|
use ManiaControl\ManiaControl;
|
|
|
|
use ManiaControl\Players\Player;
|
2013-12-15 11:29:49 +01:00
|
|
|
use MXInfoSearcher;
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-15 15:13:56 +01:00
|
|
|
class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
|
|
|
|
2013-12-14 22:00:59 +01:00
|
|
|
const ACTION_CLOSEWIDGET = 'MapList.CloseWidget';
|
2013-12-15 15:13:56 +01:00
|
|
|
const ACTION_ADD_MAP = 'MapList.AddMap';
|
2013-12-16 12:41:14 +01:00
|
|
|
const ACTION_ERASE_MAP = 'MapList.EraseMap';
|
|
|
|
const ACTION_SWITCH_MAP = 'MapList.SwitchMap';
|
2013-12-15 12:34:35 +01:00
|
|
|
const MAX_MAPS_PER_PAGE = 15;
|
2013-12-15 15:13:56 +01:00
|
|
|
|
|
|
|
|
2013-12-14 22:00:59 +01:00
|
|
|
/**
|
|
|
|
* Private properties
|
|
|
|
*/
|
|
|
|
private $maniaControl = null;
|
2013-12-15 11:29:49 +01:00
|
|
|
private $width;
|
|
|
|
private $height;
|
|
|
|
private $quadStyle;
|
|
|
|
private $quadSubstyle;
|
2013-12-14 22:00:59 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new server commands instance
|
|
|
|
*
|
|
|
|
* @param ManiaControl $maniaControl
|
|
|
|
*/
|
|
|
|
public function __construct(ManiaControl $maniaControl) {
|
|
|
|
$this->maniaControl = $maniaControl;
|
|
|
|
|
|
|
|
|
|
|
|
$this->maniaControl->manialinkManager->registerManialinkPageAnswerListener(self::ACTION_CLOSEWIDGET , $this,
|
|
|
|
'closeWidget');
|
2013-12-15 15:13:56 +01:00
|
|
|
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MP_PLAYERMANIALINKPAGEANSWER, $this,
|
|
|
|
'handleManialinkPageAnswer');
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-15 11:29:49 +01:00
|
|
|
//settings
|
|
|
|
$this->width = 150;
|
|
|
|
$this->height = 80;
|
|
|
|
$this->quadStyle = Quad_BgRaceScore2::STYLE; //TODO add default menu style to style manager
|
|
|
|
$this->quadSubstyle = Quad_BgRaceScore2::SUBSTYLE_HandleSelectable;
|
|
|
|
|
2013-12-14 22:00:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-12-15 12:34:35 +01:00
|
|
|
/**
|
|
|
|
* Displays the Mania Exchange List
|
|
|
|
* @param array $chatCallback
|
|
|
|
* @param Player $player
|
|
|
|
*/
|
2013-12-15 11:29:49 +01:00
|
|
|
public function showManiaExchangeList(array $chatCallback, Player $player){
|
2013-12-16 14:21:30 +01:00
|
|
|
$this->maniaControl->manialinkManager->closeWidget($player);
|
|
|
|
|
2013-12-15 11:29:49 +01:00
|
|
|
$params = explode(' ', $chatCallback[1][2]);
|
|
|
|
|
2013-12-15 17:52:16 +01:00
|
|
|
$serverInfo = $this->maniaControl->server->getSystemInfo();
|
|
|
|
$title = strtoupper(substr($serverInfo['TitleId'], 0, 2));
|
|
|
|
|
2013-12-15 11:29:49 +01:00
|
|
|
$mapName = '';
|
|
|
|
$author = '';
|
|
|
|
$environment = ''; //TODO also get actual environment
|
|
|
|
$recent = true;
|
|
|
|
|
|
|
|
if(count($params) > 1){
|
|
|
|
foreach($params as $param){
|
|
|
|
if($param == '/xlist')
|
|
|
|
continue;
|
|
|
|
if (strtolower(substr($param, 0, 5)) == 'auth:') {
|
|
|
|
$author = substr($param, 5);
|
|
|
|
} elseif (strtolower(substr($param, 0, 4)) == 'env:') {
|
|
|
|
$environment = substr($param, 4);
|
|
|
|
} else {
|
|
|
|
if ($mapName == '')
|
|
|
|
$mapName = $param;
|
|
|
|
else // concatenate words in name
|
|
|
|
$mapName .= '%20' . $param;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$recent = false;
|
|
|
|
}
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-15 11:29:49 +01:00
|
|
|
// search for matching maps
|
2013-12-15 17:52:16 +01:00
|
|
|
$maps = new MXInfoSearcher($title, $mapName, $author, $environment, $recent);
|
2013-12-15 11:29:49 +01:00
|
|
|
|
|
|
|
//check if there are any results
|
|
|
|
if(!$maps->valid()){
|
|
|
|
$this->maniaControl->chat->sendError('No maps found, or MX is down!', $player->login);
|
|
|
|
if($maps->error != '')
|
|
|
|
trigger_error($maps->error, E_USER_WARNING);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
$maniaLink = new ManiaLink(ManialinkManager::MAIN_MLID);
|
|
|
|
$frame = $this->buildMainFrame();
|
2013-12-15 12:34:35 +01:00
|
|
|
$maniaLink->add($frame);
|
|
|
|
|
2013-12-15 15:13:56 +01:00
|
|
|
// Create script and features
|
|
|
|
$script = new Script();
|
|
|
|
$maniaLink->setScript($script);
|
|
|
|
|
|
|
|
$tooltips = new Tooltips();
|
|
|
|
$script->addFeature($tooltips);
|
|
|
|
|
2013-12-15 12:34:35 +01:00
|
|
|
//Start offsets
|
|
|
|
$x = -$this->width / 2;
|
|
|
|
$y = $this->height / 2;
|
|
|
|
|
|
|
|
//Headline
|
|
|
|
$headFrame = new Frame();
|
|
|
|
$frame->add($headFrame);
|
|
|
|
$headFrame->setY($y - 3);
|
2013-12-15 15:13:56 +01:00
|
|
|
$array = array("Id" => $x + 5, "Name" => $x + 17, "Author" => $x + 70, "Mood" => $x + 90, "Type" => $x + 105);
|
2013-12-15 12:34:35 +01:00
|
|
|
$this->maniaControl->manialinkManager->labelLine($headFrame,$array);
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-15 12:34:35 +01:00
|
|
|
$i = 0;
|
|
|
|
$y -= 10;
|
|
|
|
foreach($maps as $map){
|
|
|
|
$mapFrame = new Frame();
|
|
|
|
$frame->add($mapFrame);
|
2013-12-15 15:13:56 +01:00
|
|
|
$array = array($map->id => $x + 5, $map->name => $x + 17, $map->author => $x + 70, $map->mood => $x + 90, $map->maptype => $x + 105);
|
2013-12-15 12:34:35 +01:00
|
|
|
$this->maniaControl->manialinkManager->labelLine($mapFrame,$array);
|
|
|
|
$mapFrame->setY($y);
|
|
|
|
|
2013-12-15 17:52:16 +01:00
|
|
|
if($this->maniaControl->authenticationManager->checkRight($player, AuthenticationManager::AUTH_LEVEL_ADMIN)){ //todoSET as setting who can add maps
|
|
|
|
//Add-Map-Button
|
|
|
|
$addQuad = new Quad_Icons64x64_1();
|
|
|
|
$mapFrame->add($addQuad);
|
|
|
|
$addQuad->setX($x + 15);
|
|
|
|
$addQuad->setZ(-0.1);
|
|
|
|
$addQuad->setSubStyle($addQuad::SUBSTYLE_Add);
|
|
|
|
$addQuad->setSize(4,4);
|
|
|
|
$addQuad->setAction(self::ACTION_ADD_MAP . "." .$map->id);
|
|
|
|
|
|
|
|
//Description Label
|
|
|
|
$descriptionLabel = new Label();
|
|
|
|
$frame->add($descriptionLabel);
|
|
|
|
$descriptionLabel->setAlign(Control::LEFT, Control::TOP);
|
|
|
|
$descriptionLabel->setPosition($x + 10, -$this->height / 2 + 5);
|
|
|
|
$descriptionLabel->setSize($this->width * 0.7, 4);
|
|
|
|
$descriptionLabel->setTextSize(2);
|
|
|
|
$descriptionLabel->setVisible(false);
|
|
|
|
$descriptionLabel->setText("Add-Map: {$map->name}");
|
|
|
|
$tooltips->add($addQuad, $descriptionLabel);
|
|
|
|
}
|
2013-12-15 15:13:56 +01:00
|
|
|
|
|
|
|
$y -= 4;
|
2013-12-15 12:34:35 +01:00
|
|
|
$i++;
|
|
|
|
if($i == self::MAX_MAPS_PER_PAGE)
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
//TODO add MX info screen
|
|
|
|
//TODO add download Map button
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-15 11:29:49 +01:00
|
|
|
//render and display xml
|
|
|
|
$this->maniaControl->manialinkManager->displayWidget($maniaLink, $player);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Builds the mainFrame
|
|
|
|
* @return Frame $frame
|
|
|
|
*/
|
|
|
|
public function buildMainFrame(){
|
2013-12-14 22:00:59 +01:00
|
|
|
//mainframe
|
|
|
|
$frame = new Frame();
|
2013-12-15 11:29:49 +01:00
|
|
|
$frame->setSize($this->width,$this->height);
|
2013-12-14 22:00:59 +01:00
|
|
|
$frame->setPosition(0, 0);
|
|
|
|
|
|
|
|
//Background Quad
|
|
|
|
$backgroundQuad = new Quad();
|
|
|
|
$frame->add($backgroundQuad);
|
2013-12-15 11:29:49 +01:00
|
|
|
$backgroundQuad->setSize($this->width,$this->height);
|
|
|
|
$backgroundQuad->setStyles($this->quadStyle, $this->quadSubstyle);
|
|
|
|
|
|
|
|
// Add Close Quad (X)
|
|
|
|
$closeQuad = new Quad_Icons64x64_1();
|
|
|
|
$frame->add($closeQuad);
|
|
|
|
$closeQuad->setPosition($this->width * 0.483, $this->height * 0.467, 3);
|
|
|
|
$closeQuad->setSize(6, 6);
|
|
|
|
$closeQuad->setSubStyle(Quad_Icons64x64_1::SUBSTYLE_QuitRace);
|
|
|
|
$closeQuad->setAction(self::ACTION_CLOSEWIDGET );
|
|
|
|
|
|
|
|
return $frame;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Displayes a MapList on the screen
|
|
|
|
* @param Player $player
|
|
|
|
*/
|
|
|
|
public function showMapList(Player $player){
|
2013-12-16 14:21:30 +01:00
|
|
|
$this->maniaControl->manialinkManager->closeWidget($player);
|
2013-12-15 11:29:49 +01:00
|
|
|
|
|
|
|
$maniaLink = new ManiaLink(ManialinkManager::MAIN_MLID);
|
|
|
|
$frame = $this->buildMainFrame();
|
|
|
|
$maniaLink->add($frame);
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-16 12:16:33 +01:00
|
|
|
// Create script and features
|
|
|
|
$script = new Script();
|
|
|
|
$maniaLink->setScript($script);
|
|
|
|
|
|
|
|
$tooltips = new Tooltips();
|
|
|
|
$script->addFeature($tooltips);
|
2013-12-15 11:55:44 +01:00
|
|
|
|
|
|
|
//Headline
|
|
|
|
$headFrame = new Frame();
|
|
|
|
$frame->add($headFrame);
|
|
|
|
$headFrame->setY($this->height / 2 - 3);
|
|
|
|
$x = -$this->width / 2;
|
|
|
|
$array = array("Id" => $x + 5, "Mx ID" => $x + 10, "MapName" => $x + 20, "Author" => $x + 70);
|
|
|
|
$this->maniaControl->manialinkManager->labelLine($headFrame,$array);
|
|
|
|
|
|
|
|
//Get Maplist
|
2013-12-14 22:00:59 +01:00
|
|
|
$mapList = $this->maniaControl->mapManager->getMapList();
|
|
|
|
|
2013-12-15 12:34:35 +01:00
|
|
|
//TODO add pages
|
|
|
|
|
2013-12-14 22:00:59 +01:00
|
|
|
$id = 1;
|
2013-12-15 11:29:49 +01:00
|
|
|
$y = $this->height / 2 - 10;
|
2013-12-14 22:00:59 +01:00
|
|
|
foreach($mapList as $map){
|
|
|
|
$mapFrame = new Frame();
|
|
|
|
$frame->add($mapFrame);
|
2013-12-16 12:16:33 +01:00
|
|
|
$this->displayMap($id, $map, $mapFrame, $tooltips);
|
2013-12-14 22:00:59 +01:00
|
|
|
$mapFrame->setY($y);
|
2013-12-16 12:16:33 +01:00
|
|
|
|
2013-12-16 12:41:14 +01:00
|
|
|
if($this->maniaControl->authenticationManager->checkRight($player, AuthenticationManager::AUTH_LEVEL_ADMIN)){ //todoSET as setting who can add maps
|
|
|
|
//erase map quad
|
|
|
|
$eraseQuad = new Quad_UIConstruction_Buttons();
|
|
|
|
$mapFrame->add($eraseQuad);
|
|
|
|
$eraseQuad->setX($this->width/2 - 5);
|
|
|
|
$eraseQuad->setZ(0.2);
|
|
|
|
$eraseQuad->setSize(4,4);
|
|
|
|
$eraseQuad->setSubStyle($eraseQuad::SUBSTYLE_Erase);
|
2013-12-16 13:14:26 +01:00
|
|
|
$eraseQuad->setAction(self::ACTION_ERASE_MAP . "." .($id-1) . "." . $map->uid);
|
2013-12-16 12:41:14 +01:00
|
|
|
|
|
|
|
//Description Label
|
|
|
|
$descriptionLabel = new Label();
|
|
|
|
$frame->add($descriptionLabel);
|
|
|
|
$descriptionLabel->setAlign(Control::LEFT, Control::TOP);
|
|
|
|
$descriptionLabel->setPosition($x + 10, -$this->height / 2 + 5);
|
|
|
|
$descriptionLabel->setSize($this->width * 0.7, 4);
|
|
|
|
$descriptionLabel->setTextSize(2);
|
|
|
|
$descriptionLabel->setVisible(false);
|
|
|
|
$descriptionLabel->setText("Remove Map: {$map->name}");
|
|
|
|
$tooltips->add($eraseQuad, $descriptionLabel);
|
|
|
|
}
|
|
|
|
if($this->maniaControl->authenticationManager->checkRight($player, AuthenticationManager::AUTH_LEVEL_OPERATOR)){ //todoSET as setting who can add maps
|
|
|
|
//switch to map quad
|
|
|
|
$switchToQuad = new Quad_Icons64x64_1();
|
|
|
|
$mapFrame->add($switchToQuad);
|
|
|
|
$switchToQuad->setX($this->width/2 - 10);
|
|
|
|
$switchToQuad->setZ(0.2);
|
|
|
|
$switchToQuad->setSize(4, 4);
|
|
|
|
$switchToQuad->setSubStyle($switchToQuad::SUBSTYLE_ArrowFastNext);
|
|
|
|
$switchToQuad->setAction(self::ACTION_SWITCH_MAP . "." .($id-1));
|
2013-12-16 12:16:33 +01:00
|
|
|
|
2013-12-16 12:41:14 +01:00
|
|
|
$descriptionLabel = new Label();
|
|
|
|
$frame->add($descriptionLabel);
|
|
|
|
$descriptionLabel->setAlign(Control::LEFT, Control::TOP);
|
|
|
|
$descriptionLabel->setPosition($x + 10, -$this->height / 2 + 5);
|
|
|
|
$descriptionLabel->setSize($this->width * 0.7, 4);
|
|
|
|
$descriptionLabel->setTextSize(2);
|
|
|
|
$descriptionLabel->setVisible(false);
|
|
|
|
$descriptionLabel->setText("Switch Directly to Map: {$map->name}");
|
|
|
|
$tooltips->add($switchToQuad, $descriptionLabel);
|
|
|
|
}
|
2013-12-14 22:00:59 +01:00
|
|
|
$y -= 4;
|
|
|
|
$id++;
|
2013-12-16 14:21:30 +01:00
|
|
|
if($id == self::MAX_MAPS_PER_PAGE + 1)
|
2013-12-15 12:34:35 +01:00
|
|
|
break;
|
2013-12-14 22:00:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
//render and display xml
|
2013-12-15 11:29:49 +01:00
|
|
|
$this->maniaControl->manialinkManager->displayWidget($maniaLink, $player);
|
2013-12-14 22:00:59 +01:00
|
|
|
}
|
|
|
|
|
2013-12-15 12:34:35 +01:00
|
|
|
/**
|
|
|
|
* Displays a single Map in the Maplist
|
|
|
|
* @param $id
|
|
|
|
* @param Map $map
|
|
|
|
* @param Frame $frame
|
|
|
|
*/
|
2013-12-16 12:16:33 +01:00
|
|
|
private function displayMap($id, Map $map, Frame $frame, Tooltips $tooltips){
|
2013-12-15 17:52:16 +01:00
|
|
|
$frame->setZ(0.1);
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-15 11:55:44 +01:00
|
|
|
//set starting x-value
|
2013-12-15 11:29:49 +01:00
|
|
|
$x = -$this->width / 2;
|
2013-12-14 22:00:59 +01:00
|
|
|
|
2013-12-16 12:16:33 +01:00
|
|
|
if($this->maniaControl->mapManager->getCurrentMap() === $map){
|
2013-12-15 17:52:16 +01:00
|
|
|
$currentQuad = new Quad_Icons64x64_1();
|
|
|
|
$frame->add($currentQuad);
|
|
|
|
$currentQuad->setX($x + 3.5);
|
|
|
|
$currentQuad->setZ(0.2);
|
|
|
|
$currentQuad->setSize(4, 4);
|
|
|
|
$currentQuad->setSubStyle($currentQuad::SUBSTYLE_ArrowBlue);
|
|
|
|
}
|
2013-12-15 11:55:44 +01:00
|
|
|
|
2013-12-16 14:21:30 +01:00
|
|
|
$mxId = '-';
|
2013-12-15 11:55:44 +01:00
|
|
|
if(isset($map->mx->id))
|
|
|
|
$mxId = $map->mx->id;
|
|
|
|
|
|
|
|
//Display Maps
|
|
|
|
$array = array($id => $x + 5, $mxId => $x + 10, $map->name => $x + 20, $map->authorNick => $x + 70);
|
|
|
|
$this->maniaControl->manialinkManager->labelLine($frame,$array);
|
2013-12-16 12:16:33 +01:00
|
|
|
//TODO detailed mx info page with link to mxo
|
2013-12-14 22:00:59 +01:00
|
|
|
//TODO action detailed map info
|
|
|
|
//TODO later add buttons for jukebox, admin control buttons (remove map, change to map)
|
|
|
|
//TODO side switch
|
2013-12-16 12:16:33 +01:00
|
|
|
|
|
|
|
|
2013-12-14 22:00:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-12-15 11:29:49 +01:00
|
|
|
/**
|
|
|
|
* Closes the widget
|
|
|
|
* @param array $callback
|
|
|
|
* @param Player $player
|
|
|
|
*/
|
2013-12-14 22:00:59 +01:00
|
|
|
public function closeWidget(array $callback, Player $player) {
|
2013-12-15 11:29:49 +01:00
|
|
|
$this->maniaControl->manialinkManager->closeWidget($player);
|
2013-12-14 22:00:59 +01:00
|
|
|
}
|
|
|
|
|
2013-12-15 15:13:56 +01:00
|
|
|
/**
|
|
|
|
* @param array $callback
|
|
|
|
*/
|
|
|
|
public function handleManialinkPageAnswer(array $callback){
|
|
|
|
$actionId = $callback[1][2];
|
|
|
|
$addMap = (strpos($actionId, self::ACTION_ADD_MAP) === 0);
|
2013-12-16 12:41:14 +01:00
|
|
|
$eraseMap = (strpos($actionId, self::ACTION_ERASE_MAP) === 0);
|
|
|
|
$switchMap = (strpos($actionId, self::ACTION_SWITCH_MAP) === 0);
|
|
|
|
|
|
|
|
if(!$addMap && !$eraseMap && !$switchMap)
|
2013-12-15 15:13:56 +01:00
|
|
|
return;
|
|
|
|
|
|
|
|
$actionArray = explode(".", $actionId);
|
2013-12-16 12:41:14 +01:00
|
|
|
|
2013-12-16 13:14:26 +01:00
|
|
|
$player = $this->maniaControl->playerManager->getPlayer($callback[1][1]);
|
2013-12-16 12:41:14 +01:00
|
|
|
|
2013-12-16 13:14:26 +01:00
|
|
|
if($addMap){ //TODO log and chat message
|
2013-12-16 14:21:30 +01:00
|
|
|
$this->maniaControl->mapManager->addMapFromMx(intval($actionArray[2]),$callback[1][1]); //TODO bestätigung
|
2013-12-16 13:14:26 +01:00
|
|
|
}else if($eraseMap){ //TODO log and chat message
|
|
|
|
$this->maniaControl->mapManager->eraseMap(intval($actionArray[2]), $actionArray[3]); //TODO bestätigung
|
|
|
|
$this->showMapList($player);
|
2013-12-16 12:41:14 +01:00
|
|
|
}else if($switchMap){ //TODO log and chat message
|
2013-12-16 13:14:26 +01:00
|
|
|
$this->maniaControl->client->query('JumpToMapIndex', intval($actionArray[2])); //TODO bestätigung
|
|
|
|
$mapList = $this->maniaControl->mapManager->getMapList();
|
|
|
|
|
|
|
|
$this->maniaControl->chat->sendSuccess('Map switched to $z$<' . $mapList[$actionArray[2]]->name . '$>!'); //TODO specified message, who done it?
|
|
|
|
$this->maniaControl->log('Skipped to $z$<' . $mapList[$actionArray[2]]->name . '$>!');
|
2013-12-16 12:41:14 +01:00
|
|
|
}
|
|
|
|
|
2013-12-15 15:13:56 +01:00
|
|
|
}
|
2013-12-14 22:00:59 +01:00
|
|
|
}
|