adjusted folder structure (added some events which arent finished in every folder, the only finished is the one in XmlRpc)

This commit is contained in:
kremsy 2017-03-23 20:52:23 +01:00
parent ca5dd279c1
commit 40c3955de5
5 changed files with 51 additions and 8 deletions

View File

@ -4,7 +4,7 @@ namespace ManiaControl\Callbacks;
use ManiaControl\Callbacks\Structures\ArmorEmptyStructure; use ManiaControl\Callbacks\Structures\ArmorEmptyStructure;
use ManiaControl\Callbacks\Structures\CaptureStructure; use ManiaControl\Callbacks\Structures\CaptureStructure;
use ManiaControl\Callbacks\Structures\ManiaPlanet\CallbacksListStructure; use ManiaControl\Callbacks\Structures\XmlRpc\CallbacksListStructure;
use ManiaControl\Callbacks\Structures\NearMissStructure; use ManiaControl\Callbacks\Structures\NearMissStructure;
use ManiaControl\Callbacks\Structures\PlayerHitStructure; use ManiaControl\Callbacks\Structures\PlayerHitStructure;
use ManiaControl\ManiaControl; use ManiaControl\ManiaControl;

View File

@ -0,0 +1,15 @@
<?php
namespace ManiaControl\Callbacks\Structures\ManiaPlanet;
use ManiaControl\Callbacks\Structures\BaseStructure;
use ManiaControl\ManiaControl;
class StartServerStartStructure extends BaseStructure {
public function __construct(ManiaControl $maniaControl, $data) {
parent::setManiaControl($maniaControl);
parent::setJson($data);
}
}

View File

@ -0,0 +1,22 @@
<?php
namespace ManiaControl\Callbacks\Structures\ShootMania;
use ManiaControl\Callbacks\Structures\BaseStructure;
use ManiaControl\ManiaControl;
/**
* Structure Class for the Default Event Structure Callback
*
* @author ManiaControl Team <mail@maniacontrol.com>
* @copyright 2014-2017 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class DefaultEventStructure extends BaseStructure {
public function __construct(ManiaControl $maniaControl, $data) {
parent::setManiaControl($maniaControl);
parent::setJson($data);
}
}

View File

@ -1,16 +1,22 @@
<?php <?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 22. Mär. 2017
* Time: 18:02
*/
namespace ManiaControl\Callbacks\Structures\Trackmania; namespace ManiaControl\Callbacks\Structures\Trackmania;
use ManiaControl\Callbacks\Structures\BaseStructure; use ManiaControl\Callbacks\Structures\BaseStructure;
use ManiaControl\ManiaControl;
/**
* Structure Class for the Default Event Structure Callback
*
* @author ManiaControl Team <mail@maniacontrol.com>
* @copyright 2014-2017 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class DefaultEventStructure extends BaseStructure { class DefaultEventStructure extends BaseStructure {
public function __construct(ManiaControl $maniaControl, $data) {
parent::setManiaControl($maniaControl);
parent::setJson($data);
}
} }

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ManiaControl\Callbacks\Structures\ManiaPlanet; namespace ManiaControl\Callbacks\Structures\XmlRpc;
use ManiaControl\Callbacks\Structures\BaseStructure; use ManiaControl\Callbacks\Structures\BaseStructure;
use ManiaControl\ManiaControl; use ManiaControl\ManiaControl;