siege progression layer set
This commit is contained in:
parent
2a70e840e2
commit
e816961d28
@ -384,7 +384,7 @@ class ModeScriptEventManager implements UsageInformationAble {
|
|||||||
* @param $y
|
* @param $y
|
||||||
* @param $z
|
* @param $z
|
||||||
*/
|
*/
|
||||||
public function comboSetTimerPosition($x, $y, $z) {
|
public function setComboTimerPosition($x, $y, $z) {
|
||||||
$this->maniaControl->getClient()->triggerModeScriptEvent('Shootmania.Combo.SetTimersPosition', array(strval(floatval($x)), strval(floatval($y)), strval(floatval($z))));
|
$this->maniaControl->getClient()->triggerModeScriptEvent('Shootmania.Combo.SetTimersPosition', array(strval(floatval($x)), strval(floatval($y)), strval(floatval($z))));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -396,7 +396,7 @@ class ModeScriptEventManager implements UsageInformationAble {
|
|||||||
* @param $y
|
* @param $y
|
||||||
* @param $z
|
* @param $z
|
||||||
*/
|
*/
|
||||||
public function siegeSetProgressionUIPosition($x, $y, $z) {
|
public function setSiegeProgressionUIPosition($x, $y, $z) {
|
||||||
$this->maniaControl->getClient()->triggerModeScriptEvent('Shootmania.Siege.SetProgressionUIPosition', array(strval(floatval($x)), strval(floatval($y)), strval(floatval($z))));
|
$this->maniaControl->getClient()->triggerModeScriptEvent('Shootmania.Siege.SetProgressionUIPosition', array(strval(floatval($x)), strval(floatval($y)), strval(floatval($z))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ class WidgetPlugin implements CallbackListener, TimerListener, Plugin {
|
|||||||
private function displayWidgets() {
|
private function displayWidgets() {
|
||||||
// Display Map Widget
|
// Display Map Widget
|
||||||
if ($this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MAP_WIDGET_ACTIVATED)) {
|
if ($this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_MAP_WIDGET_ACTIVATED)) {
|
||||||
$this->maniaControl->getClient()->triggerModeScriptEvent("Siege_SetProgressionLayerPosition", array("160.", "-67.", "0."));
|
$this->maniaControl->getModeScriptEventManager()->setSiegeProgressionUIPosition("160.", "-67.", "0.");
|
||||||
$this->displayMapWidget();
|
$this->displayMapWidget();
|
||||||
}
|
}
|
||||||
if ($this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_CLOCK_WIDGET_ACTIVATED)) {
|
if ($this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_CLOCK_WIDGET_ACTIVATED)) {
|
||||||
@ -385,7 +385,7 @@ class WidgetPlugin implements CallbackListener, TimerListener, Plugin {
|
|||||||
*/
|
*/
|
||||||
public function unload() {
|
public function unload() {
|
||||||
//Restore Siege Progression Layer
|
//Restore Siege Progression Layer
|
||||||
$this->maniaControl->getClient()->triggerModeScriptEvent('Siege_SetProgressionLayerPosition', array("160.", "90.", "0."));
|
$this->maniaControl->getModeScriptEventManager()->setSiegeProgressionUIPosition("160.", "90.", "0.");
|
||||||
|
|
||||||
$this->closeWidget(self::MLID_CLOCK_WIDGET);
|
$this->closeWidget(self::MLID_CLOCK_WIDGET);
|
||||||
$this->closeWidget(self::MLID_SERVERINFO_WIDGET);
|
$this->closeWidget(self::MLID_SERVERINFO_WIDGET);
|
||||||
|
Loading…
Reference in New Issue
Block a user