reformat code

This commit is contained in:
kremsy 2017-04-07 18:37:36 +02:00
parent 5b330d5753
commit 28f60a1ddb

View File

@ -3,7 +3,6 @@
namespace ManiaControl\Script; namespace ManiaControl\Script;
use ManiaControl\Callbacks\Callbacks; use ManiaControl\Callbacks\Callbacks;
use ManiaControl\Callbacks\Structures\ShootMania\OnScoresStructure;
use ManiaControl\General\UsageInformationAble; use ManiaControl\General\UsageInformationAble;
use ManiaControl\General\UsageInformationTrait; use ManiaControl\General\UsageInformationTrait;
use ManiaControl\ManiaControl; use ManiaControl\ManiaControl;
@ -102,8 +101,8 @@ class ModeScriptEventManager implements UsageInformationAble {
/** /**
* Request a list of all enabled callbacks. This method will trigger the "XmlRpc.CallbacksList_Enabled" callback. * Request a list of all enabled callbacks. This method will trigger the "XmlRpc.CallbacksList_Enabled" callback.
*@api
* *
* @api
* @return \ManiaControl\Script\InvokeScriptCallback You can directly set a callable on it via setCallable() * @return \ManiaControl\Script\InvokeScriptCallback You can directly set a callable on it via setCallable()
*/ */
public function getListOfEnabledCallbacks() { public function getListOfEnabledCallbacks() {
@ -221,6 +220,7 @@ class ModeScriptEventManager implements UsageInformationAble {
/** /**
* Stop any ongoing warmup. * Stop any ongoing warmup.
*
* @api * @api
*/ */
public function stopManiaPlanetWarmup() { public function stopManiaPlanetWarmup() {
@ -382,6 +382,7 @@ class ModeScriptEventManager implements UsageInformationAble {
/** /**
* Update the ui properties. * Update the ui properties.
*
* @api * @api
* @param string Json-Encoded Xml UI Property String * @param string Json-Encoded Xml UI Property String
*/ */
@ -391,6 +392,7 @@ class ModeScriptEventManager implements UsageInformationAble {
/** /**
* Stop the whole warm up sequence. * Stop the whole warm up sequence.
*
* @api * @api
*/ */
public function stopTrackmaniaWarmup() { public function stopTrackmaniaWarmup() {
@ -399,6 +401,7 @@ class ModeScriptEventManager implements UsageInformationAble {
/** /**
* Stop the current warm up round. * Stop the current warm up round.
*
* @api * @api
*/ */
public function stopTrackmaniaRound() { public function stopTrackmaniaRound() {
@ -408,6 +411,7 @@ class ModeScriptEventManager implements UsageInformationAble {
/** /**
* Stop the current round. Only available in Cup, Rounds and Team modes. * Stop the current round. Only available in Cup, Rounds and Team modes.
*
* @api * @api
*/ */
public function forceTrackmaniaRoundEnd() { public function forceTrackmaniaRoundEnd() {
@ -416,6 +420,7 @@ class ModeScriptEventManager implements UsageInformationAble {
/** /**
* Generates the needed Unique ResponseId * Generates the needed Unique ResponseId
*
* @return string * @return string
*/ */
private function generateResponseId() { private function generateResponseId() {