removed unused imports
This commit is contained in:
parent
658781e02e
commit
8d8857011e
@ -5,15 +5,11 @@ import type { UserSimplePeerInterface } from "../WebRtc/SimplePeer";
|
|||||||
import { ProtobufClientUtils } from "../Network/ProtobufClientUtils";
|
import { ProtobufClientUtils } from "../Network/ProtobufClientUtils";
|
||||||
import type {
|
import type {
|
||||||
GroupCreatedUpdatedMessageInterface,
|
GroupCreatedUpdatedMessageInterface,
|
||||||
ItemEventMessageInterface,
|
|
||||||
MessageUserJoined,
|
MessageUserJoined,
|
||||||
OnConnectInterface,
|
|
||||||
PlayerDetailsUpdatedMessageInterface,
|
|
||||||
PlayGlobalMessageInterface,
|
PlayGlobalMessageInterface,
|
||||||
PositionInterface,
|
PositionInterface,
|
||||||
RoomJoinedMessageInterface,
|
RoomJoinedMessageInterface,
|
||||||
ViewportInterface,
|
ViewportInterface,
|
||||||
WebRtcDisconnectMessageInterface,
|
|
||||||
WebRtcSignalReceivedMessageInterface,
|
WebRtcSignalReceivedMessageInterface,
|
||||||
} from "./ConnexionModels";
|
} from "./ConnexionModels";
|
||||||
import type { BodyResourceDescriptionInterface } from "../Phaser/Entity/PlayerTextures";
|
import type { BodyResourceDescriptionInterface } from "../Phaser/Entity/PlayerTextures";
|
||||||
@ -21,31 +17,22 @@ import { adminMessagesService } from "./AdminMessagesService";
|
|||||||
import { connectionManager } from "./ConnectionManager";
|
import { connectionManager } from "./ConnectionManager";
|
||||||
import { get } from "svelte/store";
|
import { get } from "svelte/store";
|
||||||
import { warningContainerStore } from "../Stores/MenuStore";
|
import { warningContainerStore } from "../Stores/MenuStore";
|
||||||
import { followStateStore, followRoleStore, followUsersStore } from "../Stores/FollowStore";
|
import { followRoleStore, followUsersStore } from "../Stores/FollowStore";
|
||||||
import { localUserStore } from "./LocalUserStore";
|
import { localUserStore } from "./LocalUserStore";
|
||||||
import {
|
import {
|
||||||
RefreshRoomMessage,
|
|
||||||
ServerToClientMessage as ServerToClientMessageTsProto,
|
ServerToClientMessage as ServerToClientMessageTsProto,
|
||||||
TokenExpiredMessage,
|
TokenExpiredMessage,
|
||||||
WorldConnexionMessage,
|
WorldConnexionMessage,
|
||||||
WorldFullMessage,
|
|
||||||
ErrorMessage as ErrorMessageTsProto,
|
ErrorMessage as ErrorMessageTsProto,
|
||||||
UserMovedMessage as UserMovedMessageTsProto,
|
UserMovedMessage as UserMovedMessageTsProto,
|
||||||
GroupUpdateMessage as GroupUpdateMessageTsProto,
|
GroupUpdateMessage as GroupUpdateMessageTsProto,
|
||||||
GroupDeleteMessage as GroupDeleteMessageTsProto,
|
GroupDeleteMessage as GroupDeleteMessageTsProto,
|
||||||
UserJoinedMessage as UserJoinedMessageTsProto,
|
UserJoinedMessage as UserJoinedMessageTsProto,
|
||||||
UserLeftMessage as UserLeftMessageTsProto,
|
UserLeftMessage as UserLeftMessageTsProto,
|
||||||
ItemEventMessage as ItemEventMessageTsProto,
|
|
||||||
EmoteEventMessage as EmoteEventMessageTsProto,
|
EmoteEventMessage as EmoteEventMessageTsProto,
|
||||||
VariableMessage as VariableMessageTsProto,
|
|
||||||
PlayerDetailsUpdatedMessage as PlayerDetailsUpdatedMessageTsProto,
|
PlayerDetailsUpdatedMessage as PlayerDetailsUpdatedMessageTsProto,
|
||||||
WorldFullWarningMessage,
|
|
||||||
WebRtcDisconnectMessage as WebRtcDisconnectMessageTsProto,
|
WebRtcDisconnectMessage as WebRtcDisconnectMessageTsProto,
|
||||||
PlayGlobalMessage as PlayGlobalMessageTsProto,
|
|
||||||
StopGlobalMessage as StopGlobalMessageTsProto,
|
|
||||||
SendJitsiJwtMessage as SendJitsiJwtMessageTsProto,
|
SendJitsiJwtMessage as SendJitsiJwtMessageTsProto,
|
||||||
SendUserMessage as SendUserMessageTsProto,
|
|
||||||
BanUserMessage as BanUserMessageTsProto,
|
|
||||||
ClientToServerMessage as ClientToServerMessageTsProto,
|
ClientToServerMessage as ClientToServerMessageTsProto,
|
||||||
PositionMessage as PositionMessageTsProto,
|
PositionMessage as PositionMessageTsProto,
|
||||||
ViewportMessage as ViewportMessageTsProto,
|
ViewportMessage as ViewportMessageTsProto,
|
||||||
@ -54,8 +41,6 @@ import {
|
|||||||
PingMessage as PingMessageTsProto,
|
PingMessage as PingMessageTsProto,
|
||||||
} from "../Messages/ts-proto-generated/messages";
|
} from "../Messages/ts-proto-generated/messages";
|
||||||
import { Subject } from "rxjs";
|
import { Subject } from "rxjs";
|
||||||
import { OpenPopupEvent } from "../Api/Events/OpenPopupEvent";
|
|
||||||
import { match } from "assert";
|
|
||||||
|
|
||||||
const manualPingDelay = 20000;
|
const manualPingDelay = 20000;
|
||||||
|
|
||||||
|
@ -1976,6 +1976,7 @@ ${escapedMessage}
|
|||||||
}
|
}
|
||||||
|
|
||||||
private doShareGroupPosition(groupPositionMessage: GroupCreatedUpdatedMessageInterface) {
|
private doShareGroupPosition(groupPositionMessage: GroupCreatedUpdatedMessageInterface) {
|
||||||
|
console.log(groupPositionMessage);
|
||||||
//delete previous group
|
//delete previous group
|
||||||
this.doDeleteGroup(groupPositionMessage.groupId);
|
this.doDeleteGroup(groupPositionMessage.groupId);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user