added changelog

This commit is contained in:
kremsy 2015-06-19 18:43:09 +02:00
parent 351a0b424c
commit 090830fa8c
3 changed files with 17 additions and 3 deletions

17
changelog.txt Normal file
View File

@ -0,0 +1,17 @@
###v0.16###
#Additions
- added changelog
- added new EchoManager which handles Interactions between different Controllers
- It is possible to send an Echo command via the Method sendEcho, as message Parameter strings, objects or arrays can get used
- An EchoListener can be added, callable by closure or implicit use (like on callbacks)
- The Listener always returns either an Stringer or an Object back as Param (arrays get converted into objects)
- On sending an Echo Message from another controller you need to provide an string to the dedicated method or an json_encoded array or object
- 4 Echos are Implemented by ManiaControl (ManiaControl.Restart, ManiaControl.AuthenticationManager.GrandLevel, ManiaControl.AuthenticationManager.RevokeLevel, ManiaControl.PlayerManager.WarnPlayer)
- added Method getServerLoginByIndex to Server object
- added some missing PHP Docs
#Bug Fixes
- fixed TriggerDebugNotice Method
- Exception fix on kicking Players
- updated FaultException List

View File

@ -139,8 +139,6 @@ class EchoManager implements CallbackListener, EchoListener {
$message = $param[1][1]; $message = $param[1][1];
} }
var_dump($name);
var_dump($message);
switch ($name) { switch ($name) {
case 'ManiaControl.Restart': case 'ManiaControl.Restart':
$this->maniaControl->restart($message); $this->maniaControl->restart($message);

View File

@ -12,7 +12,6 @@ use FML\Script\Script;
use ManiaControl\Callbacks\CallbackListener; use ManiaControl\Callbacks\CallbackListener;
use ManiaControl\Callbacks\Callbacks; use ManiaControl\Callbacks\Callbacks;
use ManiaControl\Callbacks\TimerListener; use ManiaControl\Callbacks\TimerListener;
use ManiaControl\Commands\HelpManager;
use ManiaControl\ManiaControl; use ManiaControl\ManiaControl;
use ManiaControl\Manialinks\IconManager; use ManiaControl\Manialinks\IconManager;
use ManiaControl\Players\Player; use ManiaControl\Players\Player;