cherry pick conflicts
This commit is contained in:
parent
ffe03d40f5
commit
bed45a8310
@ -13,6 +13,7 @@ import {scriptUtils} from "./ScriptUtils";
|
|||||||
import { GoToPageEvent, isGoToPageEvent } from "./Events/GoToPageEvent";
|
import { GoToPageEvent, isGoToPageEvent } from "./Events/GoToPageEvent";
|
||||||
import { isOpenCoWebsite, OpenCoWebSiteEvent } from "./Events/OpenCoWebSiteEvent";
|
import { isOpenCoWebsite, OpenCoWebSiteEvent } from "./Events/OpenCoWebSiteEvent";
|
||||||
import { isLoadPageEvent } from './Events/LoadPageEvent';
|
import { isLoadPageEvent } from './Events/LoadPageEvent';
|
||||||
|
import { isUpdateTileEvent, UpdateTileEvent } from './Events/ApiUpdateTileEvent';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -113,8 +114,6 @@ class IframeListener {
|
|||||||
this._removeBubbleStream.next();
|
this._removeBubbleStream.next();
|
||||||
} else if (payload.type === 'loadPage' && isLoadPageEvent(payload.data)) {
|
} else if (payload.type === 'loadPage' && isLoadPageEvent(payload.data)) {
|
||||||
this._loadPageStream.next(payload.data.url);
|
this._loadPageStream.next(payload.data.url);
|
||||||
} else if (payload.type == "getState") {
|
|
||||||
this._gameStateStream.next();
|
|
||||||
} else if (payload.type == "updateTile" && isUpdateTileEvent(payload.data)) {
|
} else if (payload.type == "updateTile" && isUpdateTileEvent(payload.data)) {
|
||||||
this._updateTileEvent.next(payload.data)
|
this._updateTileEvent.next(payload.data)
|
||||||
}
|
}
|
||||||
|
@ -87,11 +87,6 @@ import { Subscription } from "rxjs";
|
|||||||
import { worldFullMessageStream } from "../../Connexion/WorldFullMessageStream";
|
import { worldFullMessageStream } from "../../Connexion/WorldFullMessageStream";
|
||||||
import { lazyLoadCompanionResource } from "../Companion/CompanionTexturesLoadingManager";
|
import { lazyLoadCompanionResource } from "../Companion/CompanionTexturesLoadingManager";
|
||||||
import { TextUtils } from "../Components/TextUtils";
|
import { TextUtils } from "../Components/TextUtils";
|
||||||
import {LayersIterator} from "../Map/LayersIterator";
|
|
||||||
import {touchScreenManager} from "../../Touch/TouchScreenManager";
|
|
||||||
import {PinchManager} from "../UserInput/PinchManager";
|
|
||||||
import {joystickBaseImg, joystickBaseKey, joystickThumbImg, joystickThumbKey} from "../Components/MobileJoystick";
|
|
||||||
import { TextUtils } from "../Components/TextUtils";
|
|
||||||
import { touchScreenManager } from "../../Touch/TouchScreenManager";
|
import { touchScreenManager } from "../../Touch/TouchScreenManager";
|
||||||
import { PinchManager } from "../UserInput/PinchManager";
|
import { PinchManager } from "../UserInput/PinchManager";
|
||||||
import { joystickBaseImg, joystickBaseKey, joystickThumbImg, joystickThumbKey } from "../Components/MobileJoystick";
|
import { joystickBaseImg, joystickBaseKey, joystickThumbImg, joystickThumbKey } from "../Components/MobileJoystick";
|
||||||
|
Loading…
Reference in New Issue
Block a user