not working ui property manager update start

This commit is contained in:
kremsy
2017-04-21 21:09:21 +02:00
parent 25089d97e8
commit a77b901f78
4 changed files with 104 additions and 3 deletions

View File

@ -372,9 +372,11 @@ class ModeScriptEventManager implements UsageInformationAble {
*
* @api
* @param string Json-Encoded Xml UI Property String
* @return \ManiaControl\Script\InvokeScriptCallback You can directly set a callable on it via setCallable() to get the updated Properties
*/
public function setShootmaniaUIProperties($properties) {
$this->maniaControl->getClient()->triggerModeScriptEvent(' Shootmania.UI.SetProperties', array($properties));
$this->maniaControl->getClient()->triggerModeScriptEvent('Shootmania.UI.SetProperties', array($properties));
return $this->getShootmaniaUIProperties();
}
/**
@ -428,9 +430,11 @@ class ModeScriptEventManager implements UsageInformationAble {
*
* @api
* @param string Json-Encoded Xml UI Property String
* @return \ManiaControl\Script\InvokeScriptCallback You can directly set a callable on it via setCallable() to get the updated Properties
*/
public function setTrackmaniaUIProperties($properties) {
$this->maniaControl->getClient()->triggerModeScriptEvent('Trackmania.UI.GetProperties', array($properties));
return $this->getTrackmaniaUIProperties();
}
/**