mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-31 11:12:35 +01:00
More changes
This commit is contained in:
parent
b54ecd273c
commit
8e20920cab
@ -2,6 +2,9 @@ export * from './data';
|
||||
export * from './data/type';
|
||||
export * from './IRoomMapData';
|
||||
export * from './RoomObjectCategory';
|
||||
export * from './RoomObjectLogicType';
|
||||
export * from './RoomObjectOperationType';
|
||||
export * from './RoomObjectType';
|
||||
export * from './RoomObjectUserType';
|
||||
export * from './RoomObjectVariable';
|
||||
export * from './RoomObjectVisualizationType';
|
||||
|
@ -15,7 +15,7 @@ import { GameMessageHandler } from './game/GameMessageHandler';
|
||||
import { INitro } from './INitro';
|
||||
import { NitroLocalizationManager } from './localization/NitroLocalizationManager';
|
||||
import './Plugins';
|
||||
import { RoomEngineEvent } from './room/events/RoomEngineEvent';
|
||||
import { RoomEngineEvent } from './room';
|
||||
import { RoomEngine } from './room/RoomEngine';
|
||||
import { RoomSessionManager } from './session/RoomSessionManager';
|
||||
import { SessionDataManager } from './session/SessionDataManager';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { IAssetManager } from '../../api';
|
||||
import { EventDispatcher } from '../../core';
|
||||
import { AvatarRenderLibraryEvent } from './events/AvatarRenderLibraryEvent';
|
||||
import { AvatarRenderLibraryEvent } from './events';
|
||||
|
||||
export class AvatarAssetDownloadLibrary extends EventDispatcher
|
||||
{
|
||||
|
@ -3,8 +3,7 @@ import { EventDispatcher, NitroEvent } from '../../core';
|
||||
import { Nitro } from '../Nitro';
|
||||
import { AvatarAssetDownloadLibrary } from './AvatarAssetDownloadLibrary';
|
||||
import { AvatarStructure } from './AvatarStructure';
|
||||
import { AvatarRenderEvent } from './events/AvatarRenderEvent';
|
||||
import { AvatarRenderLibraryEvent } from './events/AvatarRenderLibraryEvent';
|
||||
import { AvatarRenderEvent, AvatarRenderLibraryEvent } from './events';
|
||||
import { IAvatarFigureContainer } from './IAvatarFigureContainer';
|
||||
import { IAvatarImageListener } from './IAvatarImageListener';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { IAssetAnimation, IAssetManager } from '../../api';
|
||||
import { EventDispatcher } from '../../core';
|
||||
import { AvatarRenderEffectLibraryEvent } from './events/AvatarRenderEffectLibraryEvent';
|
||||
import { AvatarRenderEffectLibraryEvent } from './events';
|
||||
|
||||
export class EffectAssetDownloadLibrary extends EventDispatcher
|
||||
{
|
||||
|
@ -3,8 +3,7 @@ import { EventDispatcher, NitroEvent } from '../../core';
|
||||
import { Nitro } from '../Nitro';
|
||||
import { AvatarStructure } from './AvatarStructure';
|
||||
import { EffectAssetDownloadLibrary } from './EffectAssetDownloadLibrary';
|
||||
import { AvatarRenderEffectLibraryEvent } from './events/AvatarRenderEffectLibraryEvent';
|
||||
import { AvatarRenderEvent } from './events/AvatarRenderEvent';
|
||||
import { AvatarRenderEffectLibraryEvent, AvatarRenderEvent } from './events';
|
||||
import { IAvatarEffectListener } from './IAvatarEffectListener';
|
||||
|
||||
export class EffectAssetDownloadManager extends EventDispatcher
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { IConnection } from '../../api';
|
||||
import { LoadGameUrlEvent } from '../communication';
|
||||
import { LegacyExternalInterface } from '../externalInterface/LegacyExternalInterface';
|
||||
import { LegacyExternalInterface } from '../externalInterface';
|
||||
|
||||
export class GameMessageHandler
|
||||
{
|
||||
|
@ -1,11 +1,10 @@
|
||||
import { BaseTexture, Resource, Texture } from '@pixi/core';
|
||||
import { Loader, LoaderResource } from '@pixi/loaders';
|
||||
import { Spritesheet } from '@pixi/spritesheet';
|
||||
import { FurnitureType, IAssetData, IEventDispatcher, IFurnitureData, IFurnitureDataListener, IGraphicAssetCollection, IGraphicAssetGifCollection, INitroLogger, IPetColorResult, IRoomContentListener, IRoomContentLoader, IRoomObject, ISessionDataManager, RoomObjectCategory, RoomObjectUserType, RoomObjectVariable } from '../../api';
|
||||
import { FurnitureType, IAssetData, IEventDispatcher, IFurnitureData, IFurnitureDataListener, IGraphicAssetCollection, IGraphicAssetGifCollection, INitroLogger, IPetColorResult, IRoomContentListener, IRoomContentLoader, IRoomObject, ISessionDataManager, RoomObjectCategory, RoomObjectUserType, RoomObjectVariable, RoomObjectVisualizationType } from '../../api';
|
||||
import { GraphicAssetCollection, GraphicAssetGifCollection, NitroBundle, NitroEvent, NitroLogger } from '../../core';
|
||||
import { RoomContentLoadedEvent } from '../../room/events/RoomContentLoadedEvent';
|
||||
import { Nitro } from '../Nitro';
|
||||
import { RoomObjectVisualizationType } from './object/RoomObjectVisualizationType';
|
||||
import { PetColorResult } from './PetColorResult';
|
||||
|
||||
export class RoomContentLoader implements IFurnitureDataListener, IRoomContentLoader
|
||||
|
@ -5,36 +5,23 @@ import { IConnection, IDisposable, IFurnitureStackingHeightMap, IGetImageListene
|
||||
import { NitroEvent, NitroManager } from '../../core';
|
||||
import { NitroSprite, TextureUtils } from '../../pixi-proxy';
|
||||
import { NumberBank, RoomEnterEffect, RoomGeometry, RoomInstance, RoomObjectEvent, RoomObjectMouseEvent, RoomObjectUpdateMessage, RoomRendererFactory } from '../../room';
|
||||
import { PetFigureData } from '../avatar/pets/PetFigureData';
|
||||
import { PetFigureData } from '../avatar';
|
||||
import { RenderRoomMessageComposer, RenderRoomThumbnailMessageComposer } from '../communication';
|
||||
import { NitroToolbarAnimateIconEvent } from '../events/NitroToolbarAnimateIconEvent';
|
||||
import { NitroToolbarAnimateIconEvent } from '../events';
|
||||
import { Nitro } from '../Nitro';
|
||||
import { BadgeImageReadyEvent } from '../session/events/BadgeImageReadyEvent';
|
||||
import { RoomSessionEvent } from '../session/events/RoomSessionEvent';
|
||||
import { MouseEventType } from '../ui/MouseEventType';
|
||||
import { FurniId } from '../utils/FurniId';
|
||||
import { RoomDragEvent } from './events';
|
||||
import { RoomBackgroundColorEvent } from './events/RoomBackgroundColorEvent';
|
||||
import { RoomEngineEvent } from './events/RoomEngineEvent';
|
||||
import { RoomEngineObjectEvent } from './events/RoomEngineObjectEvent';
|
||||
import { RoomObjectFurnitureActionEvent } from './events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomToObjectOwnAvatarMoveEvent } from './events/RoomToObjectOwnAvatarMoveEvent';
|
||||
import { BadgeImageReadyEvent, RoomSessionEvent } from '../session';
|
||||
import { MouseEventType } from '../ui';
|
||||
import { FurniId } from '../utils';
|
||||
import { RoomBackgroundColorEvent, RoomDragEvent, RoomEngineEvent, RoomEngineObjectEvent, RoomObjectFurnitureActionEvent, RoomToObjectOwnAvatarMoveEvent } from './events';
|
||||
import { ImageResult } from './ImageResult';
|
||||
import { ObjectAvatarCarryObjectUpdateMessage, ObjectAvatarChatUpdateMessage, ObjectAvatarDanceUpdateMessage, ObjectAvatarEffectUpdateMessage, ObjectAvatarExperienceUpdateMessage, ObjectAvatarExpressionUpdateMessage, ObjectAvatarFigureUpdateMessage, ObjectAvatarFlatControlUpdateMessage, ObjectAvatarGestureUpdateMessage, ObjectAvatarGuideStatusUpdateMessage, ObjectAvatarMutedUpdateMessage, ObjectAvatarOwnMessage, ObjectAvatarPetGestureUpdateMessage, ObjectAvatarPlayerValueUpdateMessage, ObjectAvatarPlayingGameUpdateMessage, ObjectAvatarPostureUpdateMessage, ObjectAvatarSignUpdateMessage, ObjectAvatarSleepUpdateMessage, ObjectAvatarTypingUpdateMessage, ObjectAvatarUpdateMessage, ObjectAvatarUseObjectUpdateMessage, ObjectDataUpdateMessage, ObjectGroupBadgeUpdateMessage, ObjectHeightUpdateMessage, ObjectItemDataUpdateMessage, ObjectModelDataUpdateMessage, ObjectMoveUpdateMessage, ObjectRoomColorUpdateMessage, ObjectRoomFloorHoleUpdateMessage, ObjectRoomMaskUpdateMessage, ObjectRoomPlanePropertyUpdateMessage, ObjectRoomPlaneVisibilityUpdateMessage, ObjectRoomUpdateMessage, ObjectStateUpdateMessage } from './messages';
|
||||
import { RoomLogic } from './object/logic/room/RoomLogic';
|
||||
import { RoomMapData } from './object/RoomMapData';
|
||||
import { RoomObjectVisualizationFactory } from './object/RoomObjectVisualizationFactory';
|
||||
import { RoomLogic, RoomMapData, RoomObjectVisualizationFactory } from './object';
|
||||
import { RoomContentLoader } from './RoomContentLoader';
|
||||
import { RoomMessageHandler } from './RoomMessageHandler';
|
||||
import { RoomObjectEventHandler } from './RoomObjectEventHandler';
|
||||
import { RoomObjectLogicFactory } from './RoomObjectLogicFactory';
|
||||
import { RoomVariableEnum } from './RoomVariableEnum';
|
||||
import { RoomCamera } from './utils/RoomCamera';
|
||||
import { RoomData } from './utils/RoomData';
|
||||
import { RoomFurnitureData } from './utils/RoomFurnitureData';
|
||||
import { RoomInstanceData } from './utils/RoomInstanceData';
|
||||
import { RoomObjectBadgeImageAssetListener } from './utils/RoomObjectBadgeImageAssetListener';
|
||||
import { SpriteDataCollector } from './utils/SpriteDataCollector';
|
||||
import { RoomCamera, RoomData, RoomFurnitureData, RoomInstanceData, RoomObjectBadgeImageAssetListener, SpriteDataCollector } from './utils';
|
||||
|
||||
export class RoomEngine extends NitroManager implements IRoomEngine, IRoomCreator, IRoomEngineServices, IRoomManagerListener, IRoomContentListener, IUpdateReceiver, IDisposable
|
||||
{
|
||||
|
@ -1,36 +1,12 @@
|
||||
import { IFurnitureStackingHeightMap, ILegacyWallGeometry, IObjectData, IRoomCanvasMouseListener, IRoomEngineServices, IRoomGeometry, IRoomObject, IRoomObjectController, IRoomObjectEventManager, ISelectedRoomObjectData, IVector3D, RoomObjectCategory, RoomObjectPlacementSource, RoomObjectType, RoomObjectUserType, RoomObjectVariable, Vector3d } from '../../api';
|
||||
import { IFurnitureStackingHeightMap, ILegacyWallGeometry, IObjectData, IRoomCanvasMouseListener, IRoomEngineServices, IRoomGeometry, IRoomObject, IRoomObjectController, IRoomObjectEventManager, ISelectedRoomObjectData, IVector3D, RoomObjectCategory, RoomObjectOperationType, RoomObjectPlacementSource, RoomObjectType, RoomObjectUserType, RoomObjectVariable, Vector3d } from '../../api';
|
||||
import { Disposable, NitroLogger } from '../../core';
|
||||
import { RoomEnterEffect, RoomId } from '../../room';
|
||||
import { RoomObjectEvent } from '../../room/events/RoomObjectEvent';
|
||||
import { RoomObjectMouseEvent } from '../../room/events/RoomObjectMouseEvent';
|
||||
import { RoomSpriteMouseEvent } from '../../room/events/RoomSpriteMouseEvent';
|
||||
import { RoomObjectUpdateMessage } from '../../room/messages';
|
||||
import { RoomEnterEffect, RoomId, RoomObjectEvent, RoomObjectMouseEvent, RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../room';
|
||||
import { BotPlaceComposer, FurnitureColorWheelComposer, FurnitureDiceActivateComposer, FurnitureDiceDeactivateComposer, FurnitureFloorUpdateComposer, FurnitureGroupInfoComposer, FurnitureMultiStateComposer, FurnitureOneWayDoorComposer, FurniturePickupComposer, FurniturePlaceComposer, FurniturePostItPlaceComposer, FurnitureRandomStateComposer, FurnitureWallMultiStateComposer, FurnitureWallUpdateComposer, GetItemDataComposer, GetResolutionAchievementsMessageComposer, PetMoveComposer, PetPlaceComposer, RemoveWallItemComposer, RoomUnitLookComposer, RoomUnitWalkComposer, SetItemDataMessageComposer, SetObjectDataMessageComposer } from '../communication';
|
||||
import { Nitro } from '../Nitro';
|
||||
import { MouseEventType } from '../ui/MouseEventType';
|
||||
import { RoomEngineObjectPlaySoundEvent, RoomEngineRoomAdEvent, RoomEngineUseProductEvent, RoomObjectPlaySoundIdEvent, RoomObjectRoomAdEvent, RoomObjectSoundMachineEvent } from './events';
|
||||
import { RoomEngineDimmerStateEvent } from './events/RoomEngineDimmerStateEvent';
|
||||
import { RoomEngineObjectEvent } from './events/RoomEngineObjectEvent';
|
||||
import { RoomEngineObjectPlacedEvent } from './events/RoomEngineObjectPlacedEvent';
|
||||
import { RoomEngineObjectPlacedOnUserEvent } from './events/RoomEngineObjectPlacedOnUserEvent';
|
||||
import { RoomEngineSamplePlaybackEvent } from './events/RoomEngineSamplePlaybackEvent';
|
||||
import { RoomEngineTriggerWidgetEvent } from './events/RoomEngineTriggerWidgetEvent';
|
||||
import { RoomObjectBadgeAssetEvent } from './events/RoomObjectBadgeAssetEvent';
|
||||
import { RoomObjectDataRequestEvent } from './events/RoomObjectDataRequestEvent';
|
||||
import { RoomObjectDimmerStateUpdateEvent } from './events/RoomObjectDimmerStateUpdateEvent';
|
||||
import { RoomObjectFloorHoleEvent } from './events/RoomObjectFloorHoleEvent';
|
||||
import { RoomObjectFurnitureActionEvent } from './events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectHSLColorEnabledEvent } from './events/RoomObjectHSLColorEnabledEvent';
|
||||
import { RoomObjectHSLColorEnableEvent } from './events/RoomObjectHSLColorEnableEvent';
|
||||
import { RoomObjectMoveEvent } from './events/RoomObjectMoveEvent';
|
||||
import { RoomObjectSamplePlaybackEvent } from './events/RoomObjectSamplePlaybackEvent';
|
||||
import { RoomObjectStateChangedEvent } from './events/RoomObjectStateChangedEvent';
|
||||
import { RoomObjectTileMouseEvent } from './events/RoomObjectTileMouseEvent';
|
||||
import { RoomObjectWallMouseEvent } from './events/RoomObjectWallMouseEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from './events/RoomObjectWidgetRequestEvent';
|
||||
import { MouseEventType } from '../ui';
|
||||
import { RoomEngineDimmerStateEvent, RoomEngineObjectEvent, RoomEngineObjectPlacedEvent, RoomEngineObjectPlacedOnUserEvent, RoomEngineObjectPlaySoundEvent, RoomEngineRoomAdEvent, RoomEngineSamplePlaybackEvent, RoomEngineTriggerWidgetEvent, RoomEngineUseProductEvent, RoomObjectBadgeAssetEvent, RoomObjectDataRequestEvent, RoomObjectDimmerStateUpdateEvent, RoomObjectFloorHoleEvent, RoomObjectFurnitureActionEvent, RoomObjectHSLColorEnabledEvent, RoomObjectHSLColorEnableEvent, RoomObjectMoveEvent, RoomObjectPlaySoundIdEvent, RoomObjectRoomAdEvent, RoomObjectSamplePlaybackEvent, RoomObjectSoundMachineEvent, RoomObjectStateChangedEvent, RoomObjectTileMouseEvent, RoomObjectWallMouseEvent, RoomObjectWidgetRequestEvent } from './events';
|
||||
import { ObjectAvatarSelectedMessage, ObjectDataUpdateMessage, ObjectSelectedMessage, ObjectTileCursorUpdateMessage, ObjectVisibilityUpdateMessage } from './messages';
|
||||
import { RoomObjectOperationType } from './object/RoomObjectOperationType';
|
||||
import { SelectedRoomObjectData } from './utils/SelectedRoomObjectData';
|
||||
import { SelectedRoomObjectData } from './utils';
|
||||
|
||||
export class RoomObjectEventHandler extends Disposable implements IRoomCanvasMouseListener, IRoomObjectEventManager
|
||||
{
|
||||
|
@ -1,54 +1,7 @@
|
||||
import { IEventDispatcher, IRoomObjectEventHandler, IRoomObjectLogicFactory } from '../../api';
|
||||
import { IEventDispatcher, IRoomObjectEventHandler, IRoomObjectLogicFactory, RoomObjectLogicType } from '../../api';
|
||||
import { EventDispatcher, NitroLogger } from '../../core';
|
||||
import { RoomObjectLogicBase } from '../../room/object/logic/RoomObjectLogicBase';
|
||||
import { FurnitureEcotronBoxLogic, FurnitureEffectBoxLogic, FurnitureGroupForumTerminalLogic, FurnitureHabboWheelLogic, FurnitureHweenLovelockLogic, FurnitureInternalLinkLogic, FurnitureJukeboxLogic, FurnitureLoveLockLogic, FurnitureMonsterplantSeedLogic, FurnitureMysteryBoxLogic, FurnitureMysteryTrophyLogic, FurniturePlaceholderLogic, FurniturePlanetSystemLogic, FurnitureRandomStateLogic, FurnitureRandomTeleportLogic, FurnitureRentableSpaceLogic, FurnitureSongDiskLogic, FurnitureSoundMachineLogic, FurnitureWelcomeGiftLogic } from './object';
|
||||
import { AvatarLogic } from './object/logic/avatar/AvatarLogic';
|
||||
import { FurnitureAchievementResolutionLogic } from './object/logic/furniture/FurnitureAchievementResolutionLogic';
|
||||
import { FurnitureBadgeDisplayLogic } from './object/logic/furniture/FurnitureBadgeDisplayLogic';
|
||||
import { FurnitureChangeStateWhenStepOnLogic } from './object/logic/furniture/FurnitureChangeStateWhenStepOnLogic';
|
||||
import { FurnitureClothingChangeLogic } from './object/logic/furniture/FurnitureClothingChangeLogic';
|
||||
import { FurnitureCounterClockLogic } from './object/logic/furniture/FurnitureCounterClockLogic';
|
||||
import { FurnitureCrackableLogic } from './object/logic/furniture/FurnitureCrackableLogic';
|
||||
import { FurnitureCraftingGizmoLogic } from './object/logic/furniture/FurnitureCraftingGizmoLogic';
|
||||
import { FurnitureCreditLogic } from './object/logic/furniture/FurnitureCreditLogic';
|
||||
import { FurnitureCuckooClockLogic } from './object/logic/furniture/FurnitureCuckooClockLogic';
|
||||
import { FurnitureCustomStackHeightLogic } from './object/logic/furniture/FurnitureCustomStackHeightLogic';
|
||||
import { FurnitureDiceLogic } from './object/logic/furniture/FurnitureDiceLogic';
|
||||
import { FurnitureEditableInternalLinkLogic } from './object/logic/furniture/FurnitureEditableInternalLinkLogic';
|
||||
import { FurnitureEditableRoomLinkLogic } from './object/logic/furniture/FurnitureEditableRoomLinkLogic';
|
||||
import { FurnitureExternalImageLogic } from './object/logic/furniture/FurnitureExternalImageLogic';
|
||||
import { FurnitureFireworksLogic } from './object/logic/furniture/FurnitureFireworksLogic';
|
||||
import { FurnitureFloorHoleLogic } from './object/logic/furniture/FurnitureFloorHoleLogic';
|
||||
import { FurnitureGuildCustomizedLogic } from './object/logic/furniture/FurnitureGuildCustomizedLogic';
|
||||
import { FurnitureHighScoreLogic } from './object/logic/furniture/FurnitureHighScoreLogic';
|
||||
import { FurnitureHockeyScoreLogic } from './object/logic/furniture/FurnitureHockeyScoreLogic';
|
||||
import { FurnitureIceStormLogic } from './object/logic/furniture/FurnitureIceStormLogic';
|
||||
import { FurnitureLogic } from './object/logic/furniture/FurnitureLogic';
|
||||
import { FurnitureMannequinLogic } from './object/logic/furniture/FurnitureMannequinLogic';
|
||||
import { FurnitureMultiHeightLogic } from './object/logic/furniture/FurnitureMultiHeightLogic';
|
||||
import { FurnitureMultiStateLogic } from './object/logic/furniture/FurnitureMultiStateLogic';
|
||||
import { FurnitureOneWayDoorLogic } from './object/logic/furniture/FurnitureOneWayDoorLogic';
|
||||
import { FurniturePetCustomizationLogic } from './object/logic/furniture/FurniturePetCustomizationLogic';
|
||||
import { FurniturePresentLogic } from './object/logic/furniture/FurniturePresentLogic';
|
||||
import { FurniturePurchaseableClothingLogic } from './object/logic/furniture/FurniturePurchaseableClothingLogic';
|
||||
import { FurniturePushableLogic } from './object/logic/furniture/FurniturePushableLogic';
|
||||
import { FurnitureRoomBackgroundColorLogic } from './object/logic/furniture/FurnitureRoomBackgroundColorLogic';
|
||||
import { FurnitureRoomBackgroundLogic } from './object/logic/furniture/FurnitureRoomBackgroundLogic';
|
||||
import { FurnitureRoomBillboardLogic } from './object/logic/furniture/FurnitureRoomBillboardLogic';
|
||||
import { FurnitureRoomDimmerLogic } from './object/logic/furniture/FurnitureRoomDimmerLogic';
|
||||
import { FurnitureScoreLogic } from './object/logic/furniture/FurnitureScoreLogic';
|
||||
import { FurnitureSoundBlockLogic } from './object/logic/furniture/FurnitureSoundBlockLogic';
|
||||
import { FurnitureStickieLogic } from './object/logic/furniture/FurnitureStickieLogic';
|
||||
import { FurnitureTrophyLogic } from './object/logic/furniture/FurnitureTrophyLogic';
|
||||
import { FurnitureVoteCounterLogic } from './object/logic/furniture/FurnitureVoteCounterLogic';
|
||||
import { FurnitureVoteMajorityLogic } from './object/logic/furniture/FurnitureVoteMajorityLogic';
|
||||
import { FurnitureWindowLogic } from './object/logic/furniture/FurnitureWindowLogic';
|
||||
import { FurnitureYoutubeLogic } from './object/logic/furniture/FurnitureYoutubeLogic';
|
||||
import { PetLogic } from './object/logic/pet/PetLogic';
|
||||
import { RoomLogic } from './object/logic/room/RoomLogic';
|
||||
import { SelectionArrowLogic } from './object/logic/room/SelectionArrowLogic';
|
||||
import { TileCursorLogic } from './object/logic/room/TileCursorLogic';
|
||||
import { RoomObjectLogicType } from './object/RoomObjectLogicType';
|
||||
import { RoomObjectLogicBase } from '../../room';
|
||||
import { AvatarLogic, FurnitureAchievementResolutionLogic, FurnitureBadgeDisplayLogic, FurnitureChangeStateWhenStepOnLogic, FurnitureClothingChangeLogic, FurnitureCounterClockLogic, FurnitureCrackableLogic, FurnitureCraftingGizmoLogic, FurnitureCreditLogic, FurnitureCuckooClockLogic, FurnitureCustomStackHeightLogic, FurnitureDiceLogic, FurnitureEcotronBoxLogic, FurnitureEditableInternalLinkLogic, FurnitureEditableRoomLinkLogic, FurnitureEffectBoxLogic, FurnitureExternalImageLogic, FurnitureFireworksLogic, FurnitureFloorHoleLogic, FurnitureGroupForumTerminalLogic, FurnitureGuildCustomizedLogic, FurnitureHabboWheelLogic, FurnitureHighScoreLogic, FurnitureHockeyScoreLogic, FurnitureHweenLovelockLogic, FurnitureIceStormLogic, FurnitureInternalLinkLogic, FurnitureJukeboxLogic, FurnitureLogic, FurnitureLoveLockLogic, FurnitureMannequinLogic, FurnitureMonsterplantSeedLogic, FurnitureMultiHeightLogic, FurnitureMultiStateLogic, FurnitureMysteryBoxLogic, FurnitureMysteryTrophyLogic, FurnitureOneWayDoorLogic, FurniturePetCustomizationLogic, FurniturePlaceholderLogic, FurniturePlanetSystemLogic, FurniturePresentLogic, FurniturePurchaseableClothingLogic, FurniturePushableLogic, FurnitureRandomStateLogic, FurnitureRandomTeleportLogic, FurnitureRentableSpaceLogic, FurnitureRoomBackgroundColorLogic, FurnitureRoomBackgroundLogic, FurnitureRoomBillboardLogic, FurnitureRoomDimmerLogic, FurnitureScoreLogic, FurnitureSongDiskLogic, FurnitureSoundBlockLogic, FurnitureSoundMachineLogic, FurnitureStickieLogic, FurnitureTrophyLogic, FurnitureVoteCounterLogic, FurnitureVoteMajorityLogic, FurnitureWelcomeGiftLogic, FurnitureWindowLogic, FurnitureYoutubeLogic, PetLogic, RoomLogic, SelectionArrowLogic, TileCursorLogic } from './object';
|
||||
|
||||
export class RoomObjectLogicFactory implements IRoomObjectLogicFactory
|
||||
{
|
||||
|
@ -1,49 +1,8 @@
|
||||
import { IAssetData, IObjectVisualizationData, IRoomObjectGraphicVisualization, IRoomObjectVisualizationFactory } from '../../../api';
|
||||
import { IAssetData, IObjectVisualizationData, IRoomObjectGraphicVisualization, IRoomObjectVisualizationFactory, RoomObjectVisualizationType } from '../../../api';
|
||||
import { NitroLogger } from '../../../core';
|
||||
import { RoomObjectSpriteVisualization } from '../../../room';
|
||||
import { Nitro } from '../../Nitro';
|
||||
import { RoomObjectVisualizationType } from './RoomObjectVisualizationType';
|
||||
import { AvatarVisualization } from './visualization/avatar/AvatarVisualization';
|
||||
import { AvatarVisualizationData } from './visualization/avatar/AvatarVisualizationData';
|
||||
import { FurnitureAnimatedVisualization } from './visualization/furniture/FurnitureAnimatedVisualization';
|
||||
import { FurnitureAnimatedVisualizationData } from './visualization/furniture/FurnitureAnimatedVisualizationData';
|
||||
import { FurnitureBadgeDisplayVisualization } from './visualization/furniture/FurnitureBadgeDisplayVisualization';
|
||||
import { FurnitureBBVisualization } from './visualization/furniture/FurnitureBBVisualization';
|
||||
import { FurnitureBottleVisualization } from './visualization/furniture/FurnitureBottleVisualization';
|
||||
import { FurnitureBuilderPlaceholderVisualization } from './visualization/furniture/FurnitureBuilderPlaceholderVisualization';
|
||||
import { FurnitureCounterClockVisualization } from './visualization/furniture/FurnitureCounterClockVisualization';
|
||||
import { FurnitureCuboidVisualization } from './visualization/furniture/FurnitureCuboidVisualization';
|
||||
import { FurnitureExternalImageVisualization } from './visualization/furniture/FurnitureExternalImageVisualization';
|
||||
import { FurnitureFireworksVisualization } from './visualization/furniture/FurnitureFireworksVisualization';
|
||||
import { FurnitureGiftWrappedFireworksVisualization } from './visualization/furniture/FurnitureGiftWrappedFireworksVisualization';
|
||||
import { FurnitureGiftWrappedVisualization } from './visualization/furniture/FurnitureGiftWrappedVisualization';
|
||||
import { FurnitureGuildCustomizedVisualization } from './visualization/furniture/FurnitureGuildCustomizedVisualization';
|
||||
import { FurnitureGuildIsometricBadgeVisualization } from './visualization/furniture/FurnitureGuildIsometricBadgeVisualization';
|
||||
import { FurnitureHabboWheelVisualization } from './visualization/furniture/FurnitureHabboWheelVisualization';
|
||||
import { FurnitureIsometricBBVisualization } from './visualization/furniture/FurnitureIsometricBBVisualization';
|
||||
import { FurnitureMannequinVisualization } from './visualization/furniture/FurnitureMannequinVisualization';
|
||||
import { FurnitureMannequinVisualizationData } from './visualization/furniture/FurnitureMannequinVisualizationData';
|
||||
import { FurniturePartyBeamerVisualization } from './visualization/furniture/FurniturePartyBeamerVisualization';
|
||||
import { FurniturePlanetSystemVisualization } from './visualization/furniture/FurniturePlanetSystemVisualization';
|
||||
import { FurniturePosterVisualization } from './visualization/furniture/FurniturePosterVisualization';
|
||||
import { FurnitureQueueTileVisualization } from './visualization/furniture/FurnitureQueueTileVisualization';
|
||||
import { FurnitureResettingAnimatedVisualization } from './visualization/furniture/FurnitureResettingAnimatedVisualization';
|
||||
import { FurnitureRoomBackgroundVisualization } from './visualization/furniture/FurnitureRoomBackgroundVisualization';
|
||||
import { FurnitureScoreBoardVisualization } from './visualization/furniture/FurnitureScoreBoardVisualization';
|
||||
import { FurnitureSoundBlockVisualization } from './visualization/furniture/FurnitureSoundBlockVisualization';
|
||||
import { FurnitureStickieVisualization } from './visualization/furniture/FurnitureStickieVisualization';
|
||||
import { FurnitureValRandomizerVisualization } from './visualization/furniture/FurnitureValRandomizerVisualization';
|
||||
import { FurnitureVisualization } from './visualization/furniture/FurnitureVisualization';
|
||||
import { FurnitureVisualizationData } from './visualization/furniture/FurnitureVisualizationData';
|
||||
import { FurnitureVoteCounterVisualization } from './visualization/furniture/FurnitureVoteCounterVisualization';
|
||||
import { FurnitureVoteMajorityVisualization } from './visualization/furniture/FurnitureVoteMajorityVisualization';
|
||||
import { FurnitureWaterAreaVisualization } from './visualization/furniture/FurnitureWaterAreaVisualization';
|
||||
import { FurnitureYoutubeVisualization } from './visualization/furniture/FurnitureYoutubeVisualization';
|
||||
import { PetVisualization } from './visualization/pet/PetVisualization';
|
||||
import { PetVisualizationData } from './visualization/pet/PetVisualizationData';
|
||||
import { RoomVisualization } from './visualization/room/RoomVisualization';
|
||||
import { RoomVisualizationData } from './visualization/room/RoomVisualizationData';
|
||||
import { TileCursorVisualization } from './visualization/room/TileCursorVisualization';
|
||||
import { AvatarVisualization, AvatarVisualizationData, FurnitureAnimatedVisualization, FurnitureAnimatedVisualizationData, FurnitureBadgeDisplayVisualization, FurnitureBBVisualization, FurnitureBottleVisualization, FurnitureBuilderPlaceholderVisualization, FurnitureCounterClockVisualization, FurnitureCuboidVisualization, FurnitureExternalImageVisualization, FurnitureFireworksVisualization, FurnitureGiftWrappedFireworksVisualization, FurnitureGiftWrappedVisualization, FurnitureGuildCustomizedVisualization, FurnitureGuildIsometricBadgeVisualization, FurnitureHabboWheelVisualization, FurnitureIsometricBBVisualization, FurnitureMannequinVisualization, FurnitureMannequinVisualizationData, FurniturePartyBeamerVisualization, FurniturePlanetSystemVisualization, FurniturePosterVisualization, FurnitureQueueTileVisualization, FurnitureResettingAnimatedVisualization, FurnitureRoomBackgroundVisualization, FurnitureScoreBoardVisualization, FurnitureSoundBlockVisualization, FurnitureStickieVisualization, FurnitureValRandomizerVisualization, FurnitureVisualization, FurnitureVisualizationData, FurnitureVoteCounterVisualization, FurnitureVoteMajorityVisualization, FurnitureWaterAreaVisualization, FurnitureYoutubeVisualization, PetVisualization, PetVisualizationData, RoomVisualization, RoomVisualizationData, TileCursorVisualization } from './visualization';
|
||||
|
||||
export class RoomObjectVisualizationFactory implements IRoomObjectVisualizationFactory
|
||||
{
|
||||
|
@ -1,11 +1,12 @@
|
||||
export * from './logic';
|
||||
export * from './logic/avatar';
|
||||
export * from './logic/furniture';
|
||||
export * from './logic/pet';
|
||||
export * from './logic/room';
|
||||
export * from './RoomFloorHole';
|
||||
export * from './RoomMapData';
|
||||
export * from './RoomMapMaskData';
|
||||
export * from './RoomObjectLogicType';
|
||||
export * from './RoomObjectOperationType';
|
||||
export * from './RoomObjectVisualizationFactory';
|
||||
export * from './RoomObjectVisualizationType';
|
||||
export * from './RoomPlaneBitmapMaskData';
|
||||
export * from './RoomPlaneBitmapMaskParser';
|
||||
export * from './RoomPlaneData';
|
||||
@ -13,3 +14,14 @@ export * from './RoomPlaneMaskData';
|
||||
export * from './RoomPlaneParser';
|
||||
export * from './RoomWallData';
|
||||
export * from './visualization';
|
||||
export * from './visualization/avatar';
|
||||
export * from './visualization/avatar/additions';
|
||||
export * from './visualization/data';
|
||||
export * from './visualization/furniture';
|
||||
export * from './visualization/pet';
|
||||
export * from './visualization/room';
|
||||
export * from './visualization/room/mask';
|
||||
export * from './visualization/room/rasterizer';
|
||||
export * from './visualization/room/rasterizer/animated';
|
||||
export * from './visualization/room/rasterizer/basic';
|
||||
export * from './visualization/room/utils';
|
||||
|
@ -1,11 +1,10 @@
|
||||
|
||||
import { IRoomGeometry, IRoomObjectModel, RoomObjectVariable, Vector3d } from '../../../../../api';
|
||||
import { RoomObjectMouseEvent, RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { AvatarAction } from '../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarAction } from '../../../../avatar';
|
||||
import { Nitro } from '../../../../Nitro';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectMoveEvent } from '../../../events/RoomObjectMoveEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectFurnitureActionEvent, RoomObjectMoveEvent } from '../../../events';
|
||||
import { ObjectAvatarCarryObjectUpdateMessage, ObjectAvatarChatUpdateMessage, ObjectAvatarDanceUpdateMessage, ObjectAvatarEffectUpdateMessage, ObjectAvatarExpressionUpdateMessage, ObjectAvatarFigureUpdateMessage, ObjectAvatarFlatControlUpdateMessage, ObjectAvatarGestureUpdateMessage, ObjectAvatarMutedUpdateMessage, ObjectAvatarOwnMessage, ObjectAvatarPlayerValueUpdateMessage, ObjectAvatarPlayingGameUpdateMessage, ObjectAvatarPostureUpdateMessage, ObjectAvatarSelectedMessage, ObjectAvatarSignUpdateMessage, ObjectAvatarSleepUpdateMessage, ObjectAvatarTypingUpdateMessage, ObjectAvatarUpdateMessage, ObjectAvatarUseObjectUpdateMessage } from '../../../messages';
|
||||
import { MovingObjectLogic } from '../MovingObjectLogic';
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectEvent, RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectBadgeAssetEvent } from '../../../events/RoomObjectBadgeAssetEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectBadgeAssetEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectGroupBadgeUpdateMessage, ObjectSelectedMessage } from '../../../messages';
|
||||
import { FurnitureBadgeDisplayLogic } from './FurnitureBadgeDisplayLogic';
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
import { RoomObjectVariable, StringDataType } from '../../../../../api';
|
||||
import { PixiApplicationProxy } from '../../../../../pixi-proxy';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectBadgeAssetEvent } from '../../../events/RoomObjectBadgeAssetEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectBadgeAssetEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage, ObjectGroupBadgeUpdateMessage } from '../../../messages';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IAssetData, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomToObjectOwnAvatarMoveEvent } from '../../../events/RoomToObjectOwnAvatarMoveEvent';
|
||||
import { RoomToObjectOwnAvatarMoveEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureChangeStateWhenStepOnLogic extends FurnitureLogic
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IRoomGeometry } from '../../../../../api';
|
||||
import { RoomObjectEvent, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events/RoomObjectStateChangedEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureCounterClockLogic extends FurnitureLogic
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomWidgetEnumItemExtradataParameter } from '../../../../ui/widget/enums/RoomWidgetEnumItemExtradataParameter';
|
||||
import { RoomWidgetEnumItemExtradataParameter } from '../../../../ui';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureCrackableLogic extends FurnitureLogic
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IAssetData, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureCreditLogic extends FurnitureLogic
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IAssetData, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
export class FurnitureCustomStackHeightLogic extends FurnitureMultiStateLogic
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IRoomGeometry } from '../../../../../api';
|
||||
import { RoomObjectEvent, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureDiceLogic extends FurnitureLogic
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureEcotronBoxLogic extends FurnitureLogic
|
||||
@ -14,7 +14,7 @@ export class FurnitureEcotronBoxLogic extends FurnitureLogic
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.ECOTRONBOX, this.object));
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IAssetData, IRoomGeometry, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureEditableInternalLinkLogic extends FurnitureLogic
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IAssetData, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureEditableRoomLinkLogic extends FurnitureLogic
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ContextMenuEnum } from '../../../../ui/widget/enums/ContextMenuEnum';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { ContextMenuEnum } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureEffectBoxLogic extends FurnitureLogic
|
||||
@ -8,14 +8,14 @@ export class FurnitureEffectBoxLogic extends FurnitureLogic
|
||||
|
||||
public getEventTypes(): string[]
|
||||
{
|
||||
const types = [ RoomObjectWidgetRequestEvent.EFFECTBOX_OPEN_DIALOG ];
|
||||
const types = [RoomObjectWidgetRequestEvent.EFFECTBOX_OPEN_DIALOG];
|
||||
|
||||
return this.mergeTypes(super.getEventTypes(), types);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.EFFECTBOX_OPEN_DIALOG, this.object));
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IAssetData, IParticleSystem, IRoomGeometry, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectEvent, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events/RoomObjectStateChangedEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureFireworksLogic extends FurnitureLogic
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { RoomObjectVariable, Vector3d } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectFloorHoleEvent } from '../../../events/RoomObjectFloorHoleEvent';
|
||||
import { RoomObjectFloorHoleEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IAssetData, RoomObjectVariable, StringDataType } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { ContextMenuEnum } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureGuildCustomizedLogic } from './FurnitureGuildCustomizedLogic';
|
||||
|
||||
export class FurnitureGroupForumTerminalLogic extends FurnitureGuildCustomizedLogic
|
||||
|
@ -1,18 +1,18 @@
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureHabboWheelLogic extends FurnitureLogic
|
||||
{
|
||||
public getEventTypes(): string[]
|
||||
{
|
||||
const types = [ RoomObjectFurnitureActionEvent.USE_HABBOWHEEL ];
|
||||
const types = [RoomObjectFurnitureActionEvent.USE_HABBOWHEEL];
|
||||
|
||||
return this.mergeTypes(super.getEventTypes(), types);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectFurnitureActionEvent(RoomObjectFurnitureActionEvent.USE_HABBOWHEEL, this.object));
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IRoomGeometry } from '../../../../../api';
|
||||
import { RoomObjectEvent, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events/RoomObjectStateChangedEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureHockeyScoreLogic extends FurnitureLogic
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IAssetData, IRoomGeometry, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureInternalLinkLogic extends FurnitureLogic
|
||||
|
@ -1,9 +1,7 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomWidgetEnumItemExtradataParameter } from '../../../../ui';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectFurnitureActionEvent, RoomObjectStateChangedEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
|
@ -1,10 +1,8 @@
|
||||
import { IAssetData, IRoomGeometry, IRoomObjectController, IRoomObjectModel, IVector3D, RoomObjectVariable, Vector3d } from '../../../../../api';
|
||||
import { RoomObjectMouseEvent, RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { Nitro } from '../../../../Nitro';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectRoomAdEvent } from '../../../events';
|
||||
import { RoomObjectStateChangedEvent } from '../../../events/RoomObjectStateChangedEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectRoomAdEvent, RoomObjectStateChangedEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage, ObjectHeightUpdateMessage, ObjectItemDataUpdateMessage, ObjectMoveUpdateMessage, ObjectSelectedMessage } from '../../../messages';
|
||||
import { MovingObjectLogic } from '../MovingObjectLogic';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { MapDataType, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
|
@ -1,19 +1,19 @@
|
||||
import { ContextMenuEnum } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
export class FurnitureMonsterplantSeedLogic extends FurnitureMultiStateLogic
|
||||
{
|
||||
public getEventTypes(): string[]
|
||||
{
|
||||
const types = [ RoomObjectWidgetRequestEvent.MONSTERPLANT_SEED_PLANT_CONFIRMATION_DIALOG ];
|
||||
const types = [RoomObjectWidgetRequestEvent.MONSTERPLANT_SEED_PLANT_CONFIRMATION_DIALOG];
|
||||
|
||||
return this.mergeTypes(super.getEventTypes(), types);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.MONSTERPLANT_SEED_PLANT_CONFIRMATION_DIALOG, this.object));
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IRoomGeometry } from '../../../../../api';
|
||||
import { RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureMultiStateLogic extends FurnitureLogic
|
||||
|
@ -1,19 +1,19 @@
|
||||
import { ContextMenuEnum } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
export class FurnitureMysteryBoxLogic extends FurnitureMultiStateLogic
|
||||
{
|
||||
public getEventTypes(): string[]
|
||||
{
|
||||
const types = [ RoomObjectWidgetRequestEvent.MYSTERYBOX_OPEN_DIALOG ];
|
||||
const types = [RoomObjectWidgetRequestEvent.MYSTERYBOX_OPEN_DIALOG];
|
||||
|
||||
return this.mergeTypes(super.getEventTypes(), types);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.MYSTERYBOX_OPEN_DIALOG, this.object));
|
||||
}
|
||||
|
@ -1,19 +1,19 @@
|
||||
import { ContextMenuEnum } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
export class FurnitureMysteryTrophyLogic extends FurnitureMultiStateLogic
|
||||
{
|
||||
public getEventTypes(): string[]
|
||||
{
|
||||
const types = [ RoomObjectWidgetRequestEvent.MYSTERYTROPHY_OPEN_DIALOG ];
|
||||
const types = [RoomObjectWidgetRequestEvent.MYSTERYTROPHY_OPEN_DIALOG];
|
||||
|
||||
return this.mergeTypes(super.getEventTypes(), types);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.MYSTERYTROPHY_OPEN_DIALOG, this.object));
|
||||
}
|
||||
|
@ -1,18 +1,18 @@
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureOneWayDoorLogic extends FurnitureLogic
|
||||
{
|
||||
public getEventTypes(): string[]
|
||||
{
|
||||
const types = [ RoomObjectFurnitureActionEvent.ENTER_ONEWAYDOOR ];
|
||||
const types = [RoomObjectFurnitureActionEvent.ENTER_ONEWAYDOOR];
|
||||
|
||||
return this.mergeTypes(super.getEventTypes(), types);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectFurnitureActionEvent(RoomObjectFurnitureActionEvent.ENTER_ONEWAYDOOR, this.object));
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurniturePlaceholderLogic extends FurnitureLogic
|
||||
@ -14,7 +14,7 @@ export class FurniturePlaceholderLogic extends FurnitureLogic
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.PLACEHOLDER, this.object));
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
import { IAssetData, IParticleSystem, IRoomGeometry, MapDataType, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectFurnitureActionEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage, ObjectModelDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ContextMenuEnum } from '../../../../ui';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
export class FurniturePurchaseableClothingLogic extends FurnitureMultiStateLogic
|
||||
@ -16,7 +16,7 @@ export class FurniturePurchaseableClothingLogic extends FurnitureMultiStateLogic
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.PURCHASABLE_CLOTHING_CONFIRMATION_DIALOG, this.object));
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
import { IRoomGeometry, NumberDataType, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectHSLColorEnableEvent } from '../../../events/RoomObjectHSLColorEnableEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectHSLColorEnableEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
|
@ -3,8 +3,7 @@ import { decompressFrames, parseGIF } from 'gifuct-js';
|
||||
import { IAssetData, IRoomGeometry, MapDataType, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { Nitro } from '../../../../Nitro';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomWidgetEnumItemExtradataParameter } from '../../../../ui/widget/enums/RoomWidgetEnumItemExtradataParameter';
|
||||
import { MouseEventType, RoomWidgetEnumItemExtradataParameter } from '../../../../ui';
|
||||
import { RoomObjectRoomAdEvent } from '../../../events';
|
||||
import { ObjectAdUpdateMessage, ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectDimmerStateUpdateEvent } from '../../../events/RoomObjectDimmerStateUpdateEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectDimmerStateUpdateEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { IAssetData, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectSamplePlaybackEvent } from '../../../events/RoomObjectSamplePlaybackEvent';
|
||||
import { RoomObjectSamplePlaybackEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomWidgetEnumItemExtradataParameter } from '../../../../ui';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events';
|
||||
import { ObjectDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { IAssetData, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectUpdateMessage } from '../../../../../room';
|
||||
import { RoomObjectFurnitureActionEvent } from '../../../events/RoomObjectFurnitureActionEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectFurnitureActionEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { ObjectItemDataUpdateMessage } from '../../../messages';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
|
@ -1,18 +1,18 @@
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events/RoomObjectWidgetRequestEvent';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureTrophyLogic extends FurnitureLogic
|
||||
{
|
||||
public getEventTypes(): string[]
|
||||
{
|
||||
const types = [ RoomObjectWidgetRequestEvent.TROPHY ];
|
||||
const types = [RoomObjectWidgetRequestEvent.TROPHY];
|
||||
|
||||
return this.mergeTypes(super.getEventTypes(), types);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
if (!this.object || !this.eventDispatcher) return;
|
||||
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectWidgetRequestEvent(RoomObjectWidgetRequestEvent.TROPHY, this.object));
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { RoomObjectDataRequestEvent } from '../../../events/RoomObjectDataRequestEvent';
|
||||
import { RoomObjectDataRequestEvent, RoomObjectWidgetRequestEvent } from '../../../events';
|
||||
import { FurnitureLogic } from './FurnitureLogic';
|
||||
|
||||
export class FurnitureYoutubeLogic extends FurnitureLogic
|
||||
|
@ -1,10 +1,12 @@
|
||||
export * from './FurnitureAchievementResolutionLogic';
|
||||
export * from './FurnitureBadgeDisplayLogic';
|
||||
export * from './FurnitureChangeStateWhenStepOnLogic';
|
||||
export * from './FurnitureClothingChangeLogic';
|
||||
export * from './FurnitureCounterClockLogic';
|
||||
export * from './FurnitureCrackableLogic';
|
||||
export * from './FurnitureCraftingGizmoLogic';
|
||||
export * from './FurnitureCreditLogic';
|
||||
export * from './FurnitureCuckooClockLogic';
|
||||
export * from './FurnitureCustomStackHeightLogic';
|
||||
export * from './FurnitureDiceLogic';
|
||||
export * from './FurnitureEcotronBoxLogic';
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { IAssetData, IRoomGeometry, IRoomObjectModel, PetType, RoomObjectVariable, Vector3d } from '../../../../../api';
|
||||
import { RoomObjectMouseEvent, RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { PetFigureData } from '../../../../avatar/pets/PetFigureData';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectMoveEvent } from '../../../events/RoomObjectMoveEvent';
|
||||
import { PetFigureData } from '../../../../avatar';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectMoveEvent } from '../../../events';
|
||||
import { ObjectAvatarChatUpdateMessage, ObjectAvatarExperienceUpdateMessage, ObjectAvatarFigureUpdateMessage, ObjectAvatarPetGestureUpdateMessage, ObjectAvatarPostureUpdateMessage, ObjectAvatarSelectedMessage, ObjectAvatarSleepUpdateMessage, ObjectAvatarUpdateMessage } from '../../../messages';
|
||||
import { MovingObjectLogic } from '../MovingObjectLogic';
|
||||
|
||||
|
@ -2,9 +2,8 @@ import { Point } from '@pixi/math';
|
||||
import { IRoomGeometry, IRoomObjectModel, RoomObjectVariable, Vector3d } from '../../../../../api';
|
||||
import { ColorConverter, RoomObjectEvent, RoomObjectLogicBase, RoomObjectMouseEvent, RoomObjectUpdateMessage, RoomSpriteMouseEvent } from '../../../../../room';
|
||||
import { Nitro } from '../../../../Nitro';
|
||||
import { MouseEventType } from '../../../../ui/MouseEventType';
|
||||
import { RoomObjectTileMouseEvent } from '../../../events/RoomObjectTileMouseEvent';
|
||||
import { RoomObjectWallMouseEvent } from '../../../events/RoomObjectWallMouseEvent';
|
||||
import { MouseEventType } from '../../../../ui';
|
||||
import { RoomObjectTileMouseEvent, RoomObjectWallMouseEvent } from '../../../events';
|
||||
import { ObjectRoomColorUpdateMessage, ObjectRoomFloorHoleUpdateMessage, ObjectRoomMapUpdateMessage, ObjectRoomMaskUpdateMessage, ObjectRoomPlanePropertyUpdateMessage, ObjectRoomPlaneVisibilityUpdateMessage, ObjectRoomUpdateMessage } from '../../../messages';
|
||||
import { RoomMapData } from '../../RoomMapData';
|
||||
import { RoomPlaneBitmapMaskData } from '../../RoomPlaneBitmapMaskData';
|
||||
|
@ -3,20 +3,8 @@ import { Resource, Texture } from '@pixi/core';
|
||||
import { AlphaTolerance, IGraphicAsset, IObjectVisualizationData, IRoomGeometry, IRoomObject, IRoomObjectModel, RoomObjectSpriteType, RoomObjectVariable } from '../../../../../api';
|
||||
import { AdvancedMap } from '../../../../../core';
|
||||
import { RoomObjectSpriteVisualization } from '../../../../../room';
|
||||
import { AvatarAction } from '../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarGuideStatus } from '../../../../avatar/enum/AvatarGuideStatus';
|
||||
import { AvatarSetType } from '../../../../avatar/enum/AvatarSetType';
|
||||
import { IAvatarEffectListener } from '../../../../avatar/IAvatarEffectListener';
|
||||
import { IAvatarImage } from '../../../../avatar/IAvatarImage';
|
||||
import { IAvatarImageListener } from '../../../../avatar/IAvatarImageListener';
|
||||
import { ExpressionAdditionFactory } from './additions/ExpressionAdditionFactory';
|
||||
import { FloatingIdleZAddition } from './additions/FloatingIdleZAddition';
|
||||
import { GameClickTargetAddition } from './additions/GameClickTargetAddition';
|
||||
import { GuideStatusBubbleAddition } from './additions/GuideStatusBubbleAddition';
|
||||
import { IAvatarAddition } from './additions/IAvatarAddition';
|
||||
import { MutedBubbleAddition } from './additions/MutedBubbleAddition';
|
||||
import { NumberBubbleAddition } from './additions/NumberBubbleAddition';
|
||||
import { TypingBubbleAddition } from './additions/TypingBubbleAddition';
|
||||
import { AvatarAction, AvatarGuideStatus, AvatarSetType, IAvatarEffectListener, IAvatarImage, IAvatarImageListener } from '../../../../avatar';
|
||||
import { ExpressionAdditionFactory, FloatingIdleZAddition, GameClickTargetAddition, GuideStatusBubbleAddition, IAvatarAddition, MutedBubbleAddition, NumberBubbleAddition, TypingBubbleAddition } from './additions';
|
||||
import { AvatarVisualizationData } from './AvatarVisualizationData';
|
||||
|
||||
export class AvatarVisualization extends RoomObjectSpriteVisualization implements IAvatarImageListener, IAvatarEffectListener
|
||||
|
@ -1,11 +1,7 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IAssetData, IObjectVisualizationData } from '../../../../../api';
|
||||
import { Disposable } from '../../../../../core';
|
||||
import { AvatarScaleType } from '../../../../avatar/enum/AvatarScaleType';
|
||||
import { IAvatarEffectListener } from '../../../../avatar/IAvatarEffectListener';
|
||||
import { IAvatarImage } from '../../../../avatar/IAvatarImage';
|
||||
import { IAvatarImageListener } from '../../../../avatar/IAvatarImageListener';
|
||||
import { IAvatarRenderManager } from '../../../../avatar/IAvatarRenderManager';
|
||||
import { AvatarScaleType, IAvatarEffectListener, IAvatarImage, IAvatarImageListener, IAvatarRenderManager } from '../../../../avatar';
|
||||
|
||||
export class AvatarVisualizationData extends Disposable implements IObjectVisualizationData
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IRoomObjectSprite } from '../../../../../../api';
|
||||
import { AvatarAction } from '../../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarAction } from '../../../../../avatar';
|
||||
import { Nitro } from '../../../../../Nitro';
|
||||
import { AvatarVisualization } from '../AvatarVisualization';
|
||||
import { ExpressionAddition } from './ExpressionAddition';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IRoomObjectSprite } from '../../../../../../api';
|
||||
import { AvatarAction } from '../../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarAction } from '../../../../../avatar';
|
||||
import { Nitro } from '../../../../../Nitro';
|
||||
import { AvatarVisualization } from '../AvatarVisualization';
|
||||
import { IAvatarAddition } from './IAvatarAddition';
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IRoomObjectSprite } from '../../../../../../api';
|
||||
import { AvatarAction } from '../../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarGuideStatus } from '../../../../../avatar/enum/AvatarGuideStatus';
|
||||
import { AvatarAction, AvatarGuideStatus } from '../../../../../avatar';
|
||||
import { AvatarVisualization } from '../AvatarVisualization';
|
||||
import { IAvatarAddition } from './IAvatarAddition';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IRoomObjectSprite } from '../../../../../../api';
|
||||
import { AvatarAction } from '../../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarAction } from '../../../../../avatar';
|
||||
import { AvatarVisualization } from '../AvatarVisualization';
|
||||
import { IAvatarAddition } from './IAvatarAddition';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IRoomObjectSprite } from '../../../../../../api';
|
||||
import { AvatarAction } from '../../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarAction } from '../../../../../avatar';
|
||||
import { AvatarVisualization } from '../AvatarVisualization';
|
||||
import { IAvatarAddition } from './IAvatarAddition';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IRoomObjectSprite } from '../../../../../../api';
|
||||
import { AvatarAction } from '../../../../../avatar/enum/AvatarAction';
|
||||
import { AvatarAction } from '../../../../../avatar';
|
||||
import { AvatarVisualization } from '../AvatarVisualization';
|
||||
import { IAvatarAddition } from './IAvatarAddition';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IAssetColor, IAssetVisualizationDirection, IAssetVisualizationLayer } from '../../../../../api';
|
||||
import { SpriteUtilities } from '../../../../../room/utils/SpriteUtilities';
|
||||
import { SpriteUtilities } from '../../../../../room';
|
||||
import { ColorData } from './ColorData';
|
||||
import { DirectionData } from './DirectionData';
|
||||
import { LayerData } from './LayerData';
|
||||
|
@ -1,8 +1,5 @@
|
||||
import { IObjectVisualizationData, RoomObjectVariable } from '../../../../../api';
|
||||
import { RoomObjectVisualizationType } from '../../RoomObjectVisualizationType';
|
||||
import { AnimationData } from '../data/AnimationData';
|
||||
import { AnimationFrame } from '../data/AnimationFrame';
|
||||
import { AnimationStateData } from '../data/AnimationStateData';
|
||||
import { IObjectVisualizationData, RoomObjectVariable, RoomObjectVisualizationType } from '../../../../../api';
|
||||
import { AnimationData, AnimationFrame, AnimationStateData } from '../data';
|
||||
import { FurnitureAnimatedVisualizationData } from './FurnitureAnimatedVisualizationData';
|
||||
import { FurnitureVisualization } from './FurnitureVisualization';
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
import { AnimationFrame } from '../data/AnimationFrame';
|
||||
import { AnimationSizeData } from '../data/AnimationSizeData';
|
||||
import { SizeData } from '../data/SizeData';
|
||||
import { AnimationFrame, AnimationSizeData, SizeData } from '../data';
|
||||
import { FurnitureVisualizationData } from './FurnitureVisualizationData';
|
||||
|
||||
export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationData
|
||||
@ -12,15 +10,15 @@ export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationDa
|
||||
|
||||
protected processVisualElement(sizeData: SizeData, key: string, data: any): boolean
|
||||
{
|
||||
if(!sizeData || !key || !data) return false;
|
||||
if (!sizeData || !key || !data) return false;
|
||||
|
||||
switch(key)
|
||||
switch (key)
|
||||
{
|
||||
case 'animations':
|
||||
if(!(sizeData instanceof AnimationSizeData) || !sizeData.defineAnimations(data)) return false;
|
||||
if (!(sizeData instanceof AnimationSizeData) || !sizeData.defineAnimations(data)) return false;
|
||||
break;
|
||||
default:
|
||||
if(!super.processVisualElement(sizeData, key, data)) return false;
|
||||
if (!super.processVisualElement(sizeData, key, data)) return false;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -31,7 +29,7 @@ export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationDa
|
||||
{
|
||||
const size = this.getSizeData(scale) as AnimationSizeData;
|
||||
|
||||
if(!size) return null;
|
||||
if (!size) return null;
|
||||
|
||||
return size.hasAnimation(animationId);
|
||||
}
|
||||
@ -40,7 +38,7 @@ export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationDa
|
||||
{
|
||||
const size = this.getSizeData(scale) as AnimationSizeData;
|
||||
|
||||
if(!size) return null;
|
||||
if (!size) return null;
|
||||
|
||||
return size.getAnimationCount();
|
||||
}
|
||||
@ -49,7 +47,7 @@ export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationDa
|
||||
{
|
||||
const size = this.getSizeData(scale) as AnimationSizeData;
|
||||
|
||||
if(!size) return null;
|
||||
if (!size) return null;
|
||||
|
||||
return size.getAnimationId(animationId);
|
||||
}
|
||||
@ -58,7 +56,7 @@ export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationDa
|
||||
{
|
||||
const size = this.getSizeData(scale) as AnimationSizeData;
|
||||
|
||||
if(!size) return null;
|
||||
if (!size) return null;
|
||||
|
||||
return size.isImmediateChange(animationId, _arg_3);
|
||||
}
|
||||
@ -67,7 +65,7 @@ export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationDa
|
||||
{
|
||||
const size = this.getSizeData(scale) as AnimationSizeData;
|
||||
|
||||
if(!size) return null;
|
||||
if (!size) return null;
|
||||
|
||||
return size.getStartFrame(animationId, direction);
|
||||
}
|
||||
@ -76,17 +74,17 @@ export class FurnitureAnimatedVisualizationData extends FurnitureVisualizationDa
|
||||
{
|
||||
const size = this.getSizeData(scale) as AnimationSizeData;
|
||||
|
||||
if(!size) return null;
|
||||
if (!size) return null;
|
||||
|
||||
return size.getFrame(animationId, direction, layerId, frameCount);
|
||||
}
|
||||
|
||||
public getFrameFromSequence(scale: number, animationId: number, direction: number, layerId: number, sequenceId: number, offset: number, frameCount: number):AnimationFrame
|
||||
public getFrameFromSequence(scale: number, animationId: number, direction: number, layerId: number, sequenceId: number, offset: number, frameCount: number): AnimationFrame
|
||||
{
|
||||
const size = this.getSizeData(scale) as AnimationSizeData;
|
||||
|
||||
if(!size) return null;
|
||||
if (!size) return null;
|
||||
|
||||
return size.getFrameFromSequence(animationId, direction, layerId, sequenceId, offset, frameCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { RoomObjectSpriteVisualization } from '../../../../../room/object/visualization/RoomObjectSpriteVisualization';
|
||||
import { RoomObjectSpriteVisualization } from '../../../../../room';
|
||||
|
||||
export class FurnitureCuboidVisualization extends RoomObjectSpriteVisualization
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { IObjectVisualizationData, RoomObjectVariable } from '../../../../../api';
|
||||
import { AvatarSetType } from '../../../../avatar/enum/AvatarSetType';
|
||||
import { IAvatarImageListener } from '../../../../avatar/IAvatarImageListener';
|
||||
import { AvatarSetType, IAvatarImageListener } from '../../../../avatar';
|
||||
import { FurnitureMannequinVisualizationData } from './FurnitureMannequinVisualizationData';
|
||||
import { FurnitureVisualization } from './FurnitureVisualization';
|
||||
|
||||
|
@ -1,8 +1,5 @@
|
||||
import { IAvatarEffectListener } from '../../../../avatar/IAvatarEffectListener';
|
||||
import { IAvatarImage } from '../../../../avatar/IAvatarImage';
|
||||
import { IAvatarImageListener } from '../../../../avatar/IAvatarImageListener';
|
||||
import { IAvatarRenderManager } from '../../../../avatar/IAvatarRenderManager';
|
||||
import { AvatarVisualizationData } from '../avatar/AvatarVisualizationData';
|
||||
import { IAvatarEffectListener, IAvatarImage, IAvatarImageListener, IAvatarRenderManager } from '../../../../avatar';
|
||||
import { AvatarVisualizationData } from '../avatar';
|
||||
import { FurnitureVisualizationData } from './FurnitureVisualizationData';
|
||||
|
||||
export class FurnitureMannequinVisualizationData extends FurnitureVisualizationData
|
||||
@ -20,7 +17,7 @@ export class FurnitureMannequinVisualizationData extends FurnitureVisualizationD
|
||||
{
|
||||
super.dispose();
|
||||
|
||||
if(this._avatarData)
|
||||
if (this._avatarData)
|
||||
{
|
||||
this._avatarData.dispose();
|
||||
|
||||
@ -30,11 +27,11 @@ export class FurnitureMannequinVisualizationData extends FurnitureVisualizationD
|
||||
|
||||
public createAvatarImage(figure: string, size: number, gender: string = null, avatarListener: IAvatarImageListener = null, effectListener: IAvatarEffectListener = null): IAvatarImage
|
||||
{
|
||||
return this._avatarData.createAvatarImage(figure,size, gender, avatarListener, effectListener);
|
||||
return this._avatarData.createAvatarImage(figure, size, gender, avatarListener, effectListener);
|
||||
}
|
||||
|
||||
public set avatarManager(renderer: IAvatarRenderManager)
|
||||
{
|
||||
this._avatarData.avatarManager = renderer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IGraphicAsset } from '../../../../../api';
|
||||
import { Vector3D } from '../../../../avatar/geometry/Vector3D';
|
||||
import { Vector3D } from '../../../../avatar';
|
||||
import { ParticleSystemParticle } from '../data';
|
||||
import { FurnitureParticleSystemParticle } from './FurnitureParticleSystemParticle';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IGraphicAsset } from '../../../../../api';
|
||||
import { Vector3D } from '../../../../avatar/geometry/Vector3D';
|
||||
import { Vector3D } from '../../../../avatar';
|
||||
|
||||
export class FurnitureParticleSystemParticle
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { DirectionalOffsetData } from '../data/DirectionalOffsetData';
|
||||
import { DirectionalOffsetData } from '../data';
|
||||
import { FurnitureBrandedImageVisualization } from './FurnitureBrandedImageVisualization';
|
||||
|
||||
export class FurnitureRoomBackgroundVisualization extends FurnitureBrandedImageVisualization
|
||||
@ -10,7 +10,7 @@ export class FurnitureRoomBackgroundVisualization extends FurnitureBrandedImageV
|
||||
{
|
||||
super.imageReady(texture, imageUrl);
|
||||
|
||||
if(!texture) return;
|
||||
if (!texture) return;
|
||||
|
||||
this.setImageOffset(texture.width, texture.height);
|
||||
}
|
||||
@ -30,11 +30,11 @@ export class FurnitureRoomBackgroundVisualization extends FurnitureBrandedImageV
|
||||
|
||||
protected getLayerXOffset(scale: number, direction: number, layerId: number): number
|
||||
{
|
||||
if(this._imageOffset)
|
||||
if (this._imageOffset)
|
||||
{
|
||||
const offset = this._imageOffset.getXOffset(direction, 0);
|
||||
|
||||
if(offset !== undefined) return offset + this._offsetX;
|
||||
if (offset !== undefined) return offset + this._offsetX;
|
||||
}
|
||||
|
||||
return super.getLayerXOffset(scale, direction, layerId) + this._offsetX;
|
||||
@ -42,11 +42,11 @@ export class FurnitureRoomBackgroundVisualization extends FurnitureBrandedImageV
|
||||
|
||||
protected getLayerYOffset(scale: number, direction: number, layerId: number): number
|
||||
{
|
||||
if(this._imageOffset)
|
||||
if (this._imageOffset)
|
||||
{
|
||||
const offset = this._imageOffset.getYOffset(direction, 0);
|
||||
|
||||
if(offset !== undefined) return offset + this._offsetY;
|
||||
if (offset !== undefined) return offset + this._offsetY;
|
||||
}
|
||||
|
||||
return super.getLayerYOffset(scale, direction, layerId) + this._offsetY;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import { AlphaTolerance, IGraphicAsset, IObjectVisualizationData, IRoomGeometry, IRoomObjectSprite, RoomObjectVariable } from '../../../../../api';
|
||||
import { AlphaTolerance, IGraphicAsset, IObjectVisualizationData, IRoomGeometry, IRoomObjectSprite, RoomObjectVariable, RoomObjectVisualizationType } from '../../../../../api';
|
||||
import { RoomObjectSpriteVisualization } from '../../../../../room';
|
||||
import { RoomObjectVisualizationType } from '../../RoomObjectVisualizationType';
|
||||
import { ColorData } from '../data/ColorData';
|
||||
import { LayerData } from '../data/LayerData';
|
||||
import { ColorData, LayerData } from '../data';
|
||||
import { FurnitureVisualizationData } from './FurnitureVisualizationData';
|
||||
|
||||
export class FurnitureVisualization extends RoomObjectSpriteVisualization
|
||||
|
@ -1,7 +1,5 @@
|
||||
import { IAssetData, IAssetVisualizationData, IObjectVisualizationData } from '../../../../../api';
|
||||
import { ColorData } from '../data/ColorData';
|
||||
import { LayerData } from '../data/LayerData';
|
||||
import { SizeData } from '../data/SizeData';
|
||||
import { ColorData, LayerData, SizeData } from '../data';
|
||||
|
||||
export class FurnitureVisualizationData implements IObjectVisualizationData
|
||||
{
|
||||
|
@ -15,6 +15,7 @@ export * from './FurnitureGiftWrappedVisualization';
|
||||
export * from './FurnitureGuildCustomizedVisualization';
|
||||
export * from './FurnitureGuildIsometricBadgeVisualization';
|
||||
export * from './FurnitureHabboWheelVisualization';
|
||||
export * from './FurnitureIsometricBBVisualization';
|
||||
export * from './FurnitureMannequinVisualization';
|
||||
export * from './FurnitureMannequinVisualizationData';
|
||||
export * from './FurnitureParticleSystem';
|
||||
@ -22,6 +23,7 @@ export * from './FurnitureParticleSystemEmitter';
|
||||
export * from './FurnitureParticleSystemParticle';
|
||||
export * from './FurniturePartyBeamerVisualization';
|
||||
export * from './FurniturePlanetSystemVisualization';
|
||||
export * from './FurniturePlanetSystemVisualizationPlanetObject';
|
||||
export * from './FurniturePosterVisualization';
|
||||
export * from './FurnitureQueueTileVisualization';
|
||||
export * from './FurnitureResettingAnimatedVisualization';
|
||||
|
@ -1,13 +1,8 @@
|
||||
import { Resource, Texture } from '@pixi/core';
|
||||
import { IGraphicAsset, IObjectVisualizationData, IRoomGeometry, RoomObjectVariable } from '../../../../../api';
|
||||
import { IGraphicAsset, IObjectVisualizationData, IRoomGeometry, RoomObjectVariable, RoomObjectVisualizationType } from '../../../../../api';
|
||||
import { Nitro } from '../../../../Nitro';
|
||||
import { RoomObjectVisualizationType } from '../../RoomObjectVisualizationType';
|
||||
import { AnimationData } from '../data/AnimationData';
|
||||
import { AnimationStateData } from '../data/AnimationStateData';
|
||||
import { DirectionData } from '../data/DirectionData';
|
||||
import { LayerData } from '../data/LayerData';
|
||||
import { FurnitureAnimatedVisualization } from '../furniture/FurnitureAnimatedVisualization';
|
||||
import { FurnitureVisualizationData } from '../furniture/FurnitureVisualizationData';
|
||||
import { AnimationData, AnimationStateData, DirectionData, LayerData } from '../data';
|
||||
import { FurnitureAnimatedVisualization, FurnitureVisualizationData } from '../furniture';
|
||||
import { ExperienceData } from './ExperienceData';
|
||||
import { PetVisualizationData } from './PetVisualizationData';
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
import { IAssetVisualizationData } from '../../../../../api';
|
||||
import { AnimationSizeData } from '../data/AnimationSizeData';
|
||||
import { PetSizeData } from '../data/PetSizeData';
|
||||
import { SizeData } from '../data/SizeData';
|
||||
import { FurnitureAnimatedVisualizationData } from '../furniture/FurnitureAnimatedVisualizationData';
|
||||
import { AnimationSizeData, PetSizeData, SizeData } from '../data';
|
||||
import { FurnitureAnimatedVisualizationData } from '../furniture';
|
||||
|
||||
export class PetVisualizationData extends FurnitureAnimatedVisualizationData
|
||||
{
|
||||
|
@ -1,2 +1,3 @@
|
||||
export * from './ExperienceData';
|
||||
export * from './PetVisualization';
|
||||
export * from './PetVisualizationData';
|
||||
|
@ -3,15 +3,13 @@ import { Graphics } from '@pixi/graphics';
|
||||
import { Matrix, Point, Rectangle } from '@pixi/math';
|
||||
import { IRoomGeometry, IRoomPlane, IVector3D, Vector3d } from '../../../../../api';
|
||||
import { NitroRenderTexture, TextureUtils } from '../../../../../pixi-proxy';
|
||||
import { PlaneMaskManager } from './mask/PlaneMaskManager';
|
||||
import { PlaneMaskManager } from './mask';
|
||||
import { PlaneDrawingData } from './PlaneDrawingData';
|
||||
import { PlaneVisualizationLayer } from './rasterizer/basic/PlaneVisualizationLayer';
|
||||
import { IPlaneRasterizer } from './rasterizer/IPlaneRasterizer';
|
||||
import { IPlaneRasterizer, PlaneVisualizationLayer } from './rasterizer';
|
||||
import { RoomPlaneBitmapMask } from './RoomPlaneBitmapMask';
|
||||
import { RoomPlaneRectangleMask } from './RoomPlaneRectangleMask';
|
||||
import { RoomVisualization } from './RoomVisualization';
|
||||
import { PlaneBitmapData } from './utils/PlaneBitmapData';
|
||||
import { Randomizer } from './utils/Randomizer';
|
||||
import { PlaneBitmapData, Randomizer } from './utils';
|
||||
|
||||
export class RoomPlane implements IRoomPlane
|
||||
{
|
||||
|
@ -1,9 +1,7 @@
|
||||
import { IAssetData, IGraphicAssetCollection, IObjectVisualizationData } from '../../../../../api';
|
||||
import { Disposable } from '../../../../../core';
|
||||
import { PlaneMaskManager } from './mask/PlaneMaskManager';
|
||||
import { LandscapeRasterizer } from './rasterizer/animated/LandscapeRasterizer';
|
||||
import { FloorRasterizer } from './rasterizer/basic/FloorRasterizer';
|
||||
import { WallRasterizer } from './rasterizer/basic/WallRasterizer';
|
||||
import { PlaneMaskManager } from './mask';
|
||||
import { FloorRasterizer, LandscapeRasterizer, WallRasterizer } from './rasterizer';
|
||||
|
||||
export class RoomVisualizationData extends Disposable implements IObjectVisualizationData
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { RoomObjectVariable } from '../../../../../api';
|
||||
import { FurnitureAnimatedVisualization } from '../furniture/FurnitureAnimatedVisualization';
|
||||
import { FurnitureAnimatedVisualization } from '../furniture';
|
||||
|
||||
export class TileCursorVisualization extends FurnitureAnimatedVisualization
|
||||
{
|
||||
|
@ -1,6 +1,8 @@
|
||||
export * from './mask';
|
||||
export * from './PlaneDrawingData';
|
||||
export * from './rasterizer';
|
||||
export * from './rasterizer/animated';
|
||||
export * from './rasterizer/basic';
|
||||
export * from './RoomPlane';
|
||||
export * from './RoomPlaneBitmapMask';
|
||||
export * from './RoomPlaneRectangleMask';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Graphics } from '@pixi/graphics';
|
||||
import { IVector3D } from '../../../../../../api';
|
||||
import { PlaneBitmapData } from '../utils/PlaneBitmapData';
|
||||
import { PlaneVisualizationLayer } from './basic/PlaneVisualizationLayer';
|
||||
import { PlaneBitmapData } from '../utils';
|
||||
import { PlaneVisualizationLayer } from './basic';
|
||||
|
||||
export interface IPlaneRasterizer
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Graphics } from '@pixi/graphics';
|
||||
import { IVector3D, Vector3d } from '../../../../../../../api';
|
||||
import { Plane } from '../basic/Plane';
|
||||
import { Plane } from '../basic';
|
||||
|
||||
export class LandscapePlane extends Plane
|
||||
{
|
||||
|
@ -1,11 +1,8 @@
|
||||
import { Graphics } from '@pixi/graphics';
|
||||
import { IVector3D } from '../../../../../../../api';
|
||||
import { Nitro } from '../../../../../../Nitro';
|
||||
import { PlaneBitmapData } from '../../utils/PlaneBitmapData';
|
||||
import { Randomizer } from '../../utils/Randomizer';
|
||||
import { PlaneMaterial } from '../basic/PlaneMaterial';
|
||||
import { PlaneRasterizer } from '../basic/PlaneRasterizer';
|
||||
import { PlaneVisualizationLayer } from '../basic/PlaneVisualizationLayer';
|
||||
import { PlaneBitmapData, Randomizer } from '../../utils';
|
||||
import { PlaneMaterial, PlaneRasterizer, PlaneVisualizationLayer } from '../basic';
|
||||
import { LandscapePlane } from './LandscapePlane';
|
||||
|
||||
export class LandscapeRasterizer extends PlaneRasterizer
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Graphics } from '@pixi/graphics';
|
||||
import { IVector3D } from '../../../../../../../api';
|
||||
import { PlaneBitmapData } from '../../utils/PlaneBitmapData';
|
||||
import { PlaneBitmapData } from '../../utils';
|
||||
import { FloorPlane } from './FloorPlane';
|
||||
import { PlaneRasterizer } from './PlaneRasterizer';
|
||||
|
||||
|
@ -3,7 +3,7 @@ import { Point, Rectangle } from '@pixi/math';
|
||||
import { IVector3D, Vector3d } from '../../../../../../../api';
|
||||
import { TextureUtils } from '../../../../../../../pixi-proxy';
|
||||
import { RoomVisualization } from '../../RoomVisualization';
|
||||
import { Randomizer } from '../../utils/Randomizer';
|
||||
import { Randomizer } from '../../utils';
|
||||
import { PlaneMaterialCell } from './PlaneMaterialCell';
|
||||
import { PlaneMaterialCellColumn } from './PlaneMaterialCellColumn';
|
||||
|
||||
|
@ -3,7 +3,7 @@ import { Graphics } from '@pixi/graphics';
|
||||
import { Point } from '@pixi/math';
|
||||
import { IGraphicAsset, IGraphicAssetCollection, IRoomGeometry, IVector3D, Vector3d } from '../../../../../../../api';
|
||||
import { Rasterizer, RoomGeometry } from '../../../../../../../room';
|
||||
import { PlaneBitmapData } from '../../utils/PlaneBitmapData';
|
||||
import { PlaneBitmapData } from '../../utils';
|
||||
import { IPlaneRasterizer } from '../IPlaneRasterizer';
|
||||
import { FloorPlane } from './FloorPlane';
|
||||
import { Plane } from './Plane';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Graphics } from '@pixi/graphics';
|
||||
import { IDisposable, IGraphicAssetCollection, IRoomGeometry, IVector3D, Vector3d } from '../../../../../../../api';
|
||||
import { PlaneVisualizationAnimationLayer } from '../animated/PlaneVisualizationAnimationLayer';
|
||||
import { PlaneVisualizationAnimationLayer } from '../animated';
|
||||
import { PlaneMaterial } from './PlaneMaterial';
|
||||
import { PlaneVisualizationLayer } from './PlaneVisualizationLayer';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Graphics } from '@pixi/graphics';
|
||||
import { IVector3D } from '../../../../../../../api';
|
||||
import { PlaneBitmapData } from '../../utils/PlaneBitmapData';
|
||||
import { PlaneBitmapData } from '../../utils';
|
||||
import { PlaneRasterizer } from './PlaneRasterizer';
|
||||
import { WallPlane } from './WallPlane';
|
||||
|
||||
|
@ -7,8 +7,7 @@ import { NitroSprite } from '../../../pixi-proxy';
|
||||
import { RoomId } from '../../../room';
|
||||
import { FloorHeightMapMessageParser, RoomEntryTileMessageParser } from '../../communication';
|
||||
import { Nitro } from '../../Nitro';
|
||||
import { RoomEngineEvent } from '../events/RoomEngineEvent';
|
||||
import { RoomEngineObjectEvent } from '../events/RoomEngineObjectEvent';
|
||||
import { RoomEngineEvent, RoomEngineObjectEvent } from '../events';
|
||||
import { ObjectRoomMapUpdateMessage } from '../messages';
|
||||
import { RoomPlaneParser } from '../object/RoomPlaneParser';
|
||||
import { RoomEngine } from '../RoomEngine';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Point, Rectangle } from '@pixi/math';
|
||||
import { IPlaneDrawingData, IPlaneVisualization, IRoomObjectSpriteVisualization, IRoomPlane, IRoomRenderingCanvas, RoomObjectCategory, RoomObjectSpriteData, Vector3d } from '../../../api';
|
||||
import { PixiApplicationProxy } from '../../../pixi-proxy';
|
||||
import { PlaneDrawingData } from '../object/visualization/room/PlaneDrawingData';
|
||||
import { PlaneDrawingData } from '../object';
|
||||
import { RoomEngine } from '../RoomEngine';
|
||||
|
||||
export class SpriteDataCollector
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IConnection, IRoomSession, RoomControllerLevel, RoomTradingLevelEnum } from '../../api';
|
||||
import { Disposable } from '../../core';
|
||||
import { BotRemoveComposer, CompostPlantMessageComposer, FurnitureMultiStateComposer, HarvestPetMessageComposer, MoodlightSettingsComposer, MoodlightSettingsSaveComposer, MoodlightTogggleStateComposer, OpenPresentComposer, PetMountComposer, PetRemoveComposer, PollAnswerComposer, PollRejectComposer, PollStartComposer, RemovePetSaddleComposer, RoomAmbassadorAlertComposer, RoomBanUserComposer, RoomDoorbellAccessComposer, RoomEnterComposer, RoomGiveRightsComposer, RoomKickUserComposer, RoomModerationSettings, RoomMuteUserComposer, RoomTakeRightsComposer, RoomUnitActionComposer, RoomUnitChatComposer, RoomUnitChatShoutComposer, RoomUnitChatWhisperComposer, RoomUnitDanceComposer, RoomUnitPostureComposer, RoomUnitSignComposer, RoomUnitTypingStartComposer, RoomUnitTypingStopComposer, TogglePetBreedingComposer, TogglePetRidingComposer, UsePetProductComposer, UserMottoComposer } from '../communication';
|
||||
import { RoomSessionEvent } from './events/RoomSessionEvent';
|
||||
import { RoomSessionEvent } from './events';
|
||||
import { UserDataManager } from './UserDataManager';
|
||||
|
||||
export class RoomSession extends Disposable implements IRoomSession
|
||||
|
@ -1,18 +1,8 @@
|
||||
import { INitroCommunicationManager, IRoomEngine, IRoomHandlerListener, IRoomSession, IRoomSessionManager } from '../../api';
|
||||
import { NitroManager } from '../../core';
|
||||
import { RoomEngineEvent } from '../room/events/RoomEngineEvent';
|
||||
import { RoomSessionEvent } from './events/RoomSessionEvent';
|
||||
import { BaseHandler } from './handler/BaseHandler';
|
||||
import { GenericErrorHandler } from './handler/GenericErrorHandler';
|
||||
import { PollHandler } from './handler/PollHandler';
|
||||
import { RoomChatHandler } from './handler/RoomChatHandler';
|
||||
import { RoomDataHandler } from './handler/RoomDataHandler';
|
||||
import { RoomDimmerPresetsHandler } from './handler/RoomDimmerPresetsHandler';
|
||||
import { RoomPermissionsHandler } from './handler/RoomPermissionsHandler';
|
||||
import { RoomPresentHandler } from './handler/RoomPresentHandler';
|
||||
import { RoomSessionHandler } from './handler/RoomSessionHandler';
|
||||
import { RoomUsersHandler } from './handler/RoomUsersHandler';
|
||||
import { WordQuizHandler } from './handler/WordQuizHandler';
|
||||
import { RoomEngineEvent } from '../room';
|
||||
import { RoomSessionEvent } from './events';
|
||||
import { BaseHandler, GenericErrorHandler, PollHandler, RoomChatHandler, RoomDataHandler, RoomDimmerPresetsHandler, RoomPermissionsHandler, RoomPresentHandler, RoomSessionHandler, RoomUsersHandler, WordQuizHandler } from './handler';
|
||||
import { RoomSession } from './RoomSession';
|
||||
|
||||
export class RoomSessionManager extends NitroManager implements IRoomSessionManager, IRoomHandlerListener
|
||||
|
@ -2,13 +2,11 @@ import { Resource, Texture } from '@pixi/core';
|
||||
import { IFurnitureData, IFurnitureDataListener, IGroupInformationManager, IMessageComposer, INitroCommunicationManager, IProductData, IProductDataListener, ISessionDataManager, NoobnessLevelEnum, SecurityLevel } from '../../api';
|
||||
import { NitroEvent, NitroManager } from '../../core';
|
||||
import { AvailabilityStatusMessageEvent, ChangeUserNameResultMessageEvent, FigureUpdateEvent, InClientLinkEvent, MysteryBoxKeysEvent, NoobnessLevelMessageEvent, PetRespectComposer, RoomReadyMessageEvent, RoomUnitChatComposer, UserInfoEvent, UserNameChangeMessageEvent, UserPermissionsEvent, UserRespectComposer } from '../communication';
|
||||
import { NitroSettingsEvent } from '../events/NitroSettingsEvent';
|
||||
import { NitroSettingsEvent } from '../events';
|
||||
import { Nitro } from '../Nitro';
|
||||
import { HabboWebTools } from '../utils/HabboWebTools';
|
||||
import { BadgeImageManager } from './badge/BadgeImageManager';
|
||||
import { MysteryBoxKeysUpdateEvent } from './events';
|
||||
import { SessionDataPreferencesEvent } from './events/SessionDataPreferencesEvent';
|
||||
import { UserNameUpdateEvent } from './events/UserNameUpdateEvent';
|
||||
import { MysteryBoxKeysUpdateEvent, SessionDataPreferencesEvent, UserNameUpdateEvent } from './events';
|
||||
import { FurnitureDataLoader } from './furniture/FurnitureDataLoader';
|
||||
import { GroupInformationManager } from './GroupInformationManager';
|
||||
import { IgnoredUsersManager } from './IgnoredUsersManager';
|
||||
|
@ -3,7 +3,7 @@ import { IAssetManager, IDisposable, IMessageEvent } from '../../../api';
|
||||
import { NitroContainer, NitroSprite, NitroTexture, TextureUtils } from '../../../pixi-proxy';
|
||||
import { GroupBadgePartsEvent } from '../../communication';
|
||||
import { Nitro } from '../../Nitro';
|
||||
import { BadgeImageReadyEvent } from '../events/BadgeImageReadyEvent';
|
||||
import { BadgeImageReadyEvent } from '../events';
|
||||
import { SessionDataManager } from './../SessionDataManager';
|
||||
import { BadgeInfo } from './BadgeInfo';
|
||||
import { GroupBadge } from './GroupBadge';
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user