diff --git a/src/nitro/communication/INitroCommunicationManager.ts b/src/nitro/communication/INitroCommunicationManager.ts index 39041234..e5a8af3a 100644 --- a/src/nitro/communication/INitroCommunicationManager.ts +++ b/src/nitro/communication/INitroCommunicationManager.ts @@ -1,6 +1,6 @@ +import { IMessageEvent } from '../../core'; import { INitroManager } from '../../core/common/INitroManager'; import { IConnection } from '../../core/communication/connections/IConnection'; -import { IMessageEvent } from '../../core/communication/messages/IMessageEvent'; import { NitroCommunicationDemo } from './demo/NitroCommunicationDemo'; export interface INitroCommunicationManager extends INitroManager @@ -9,4 +9,4 @@ export interface INitroCommunicationManager extends INitroManager removeMessageEvent(event: IMessageEvent): void; demo: NitroCommunicationDemo; connection: IConnection; -} \ No newline at end of file +} diff --git a/src/nitro/communication/NitroCommunicationManager.ts b/src/nitro/communication/NitroCommunicationManager.ts index cccae233..c906cc6a 100644 --- a/src/nitro/communication/NitroCommunicationManager.ts +++ b/src/nitro/communication/NitroCommunicationManager.ts @@ -1,10 +1,10 @@ +import { IMessageEvent } from '../../core'; import { NitroManager } from '../../core/common/NitroManager'; import { IConnection } from '../../core/communication/connections/IConnection'; import { IConnectionStateListener } from '../../core/communication/connections/IConnectionStateListener'; import { SocketConnectionEvent } from '../../core/communication/events/SocketConnectionEvent'; import { ICommunicationManager } from '../../core/communication/ICommunicationManager'; import { IMessageConfiguration } from '../../core/communication/messages/IMessageConfiguration'; -import { IMessageEvent } from '../../core/communication/messages/IMessageEvent'; import { NitroEvent } from '../../core/events/NitroEvent'; import { Nitro } from '../Nitro'; import { NitroCommunicationDemo } from './demo/NitroCommunicationDemo'; diff --git a/src/nitro/communication/NitroMessages.ts b/src/nitro/communication/NitroMessages.ts index 2f8c0fbc..0bb2338c 100644 --- a/src/nitro/communication/NitroMessages.ts +++ b/src/nitro/communication/NitroMessages.ts @@ -1,5 +1,5 @@ import { IMessageConfiguration } from '../../core/communication/messages/IMessageConfiguration'; -import { AchievementNotificationMessageEvent, ActivityPointNotificationMessageEvent, AddJukeboxDiskComposer, ApproveNameMessageComposer, AvailabilityTimeMessageEvent, BadgeReceivedEvent, BonusRareInfoMessageEvent, CatalogApproveNameResultEvent, ChangeUserNameResultMessageEvent, CheckUserNameResultMessageEvent, ClubGiftNotificationEvent, FigureUpdateEvent, FurnitureGuildInfoComposer, GetBonusRareInfoMessageComposer, GetJukeboxPlayListMessageComposer, GetNowPlayingMessageComposer, GetOfficialSongIdMessageComposer, GetSongInfoMessageComposer, GetSoundMachinePlayListMessageComposer, GetUserSongDisksMessageComposer, HotelClosedAndOpensEvent, HotelClosesAndWillOpenAtEvent, HotelWillCloseInMinutesEvent, InfoFeedEnableMessageEvent, InterstitialMessageEvent, JukeboxPlayListFullMessageEvent, JukeboxSongDisksMessageEvent, MaintenanceStatusMessageEvent, MysteryBoxKeysEvent, NowPlayingMessageEvent, OfficialSongIdMessageEvent, PetExperienceEvent, PetMountComposer, PetSupplementComposer, PlayListMessageEvent, PlayListSongAddedMessageEvent, RemoveAllRightsMessageComposer, RemoveJukeboxDiskComposer, RemoveOwnRoomRightsRoomMessageComposer, RemovePetSaddleComposer, RoomAdErrorEvent, RoomUnitGiveHandItemPetComposer, SellablePetPalettesEvent, TogglePetBreedingComposer, TogglePetRidingComposer, TraxSongInfoMessageEvent, UnseenResetCategoryComposer, UnseenResetItemsComposer, UsePetProductComposer, UserSongDisksInventoryMessageEvent, WardrobeMessageEvent } from './messages'; +import { AchievementNotificationMessageEvent, ActivityPointNotificationMessageEvent, AddJukeboxDiskComposer, ApproveNameMessageComposer, ApproveNameMessageEvent, AvailabilityTimeMessageEvent, BadgeReceivedEvent, BonusRareInfoMessageEvent, BuildersClubFurniCountMessageEvent, BuildersClubSubscriptionStatusMessageEvent, BundleDiscountRulesetMessageEvent, ChangeUserNameResultMessageEvent, CheckUserNameResultMessageEvent, ClubGiftNotificationEvent, DirectSMSClubBuyAvailableMessageEvent, FigureUpdateEvent, FurnitureGuildInfoComposer, GetBonusRareInfoMessageComposer, GetJukeboxPlayListMessageComposer, GetNowPlayingMessageComposer, GetOfficialSongIdMessageComposer, GetSongInfoMessageComposer, GetSoundMachinePlayListMessageComposer, GetUserSongDisksMessageComposer, HabboClubExtendOfferMessageEvent, HotelClosedAndOpensEvent, HotelClosesAndWillOpenAtEvent, HotelWillCloseInMinutesEvent, InfoFeedEnableMessageEvent, InterstitialMessageEvent, IsOfferGiftableMessageEvent, JukeboxPlayListFullMessageEvent, JukeboxSongDisksMessageEvent, LimitedOfferAppearingNextMessageEvent, MaintenanceStatusMessageEvent, MysteryBoxKeysEvent, NotEnoughBalanceMessageEvent, NowPlayingMessageEvent, OfficialSongIdMessageEvent, PetExperienceEvent, PetMountComposer, PetSupplementComposer, PlayListMessageEvent, PlayListSongAddedMessageEvent, RemoveAllRightsMessageComposer, RemoveJukeboxDiskComposer, RemoveOwnRoomRightsRoomMessageComposer, RemovePetSaddleComposer, RoomAdErrorEvent, RoomAdPurchaseInfoEvent, RoomUnitGiveHandItemPetComposer, SeasonalCalendarDailyOfferMessageEvent, SellablePetPalettesMessageEvent, TargetedOfferEvent, TargetedOfferNotFoundEvent, TogglePetBreedingComposer, TogglePetRidingComposer, TraxSongInfoMessageEvent, UnseenResetCategoryComposer, UnseenResetItemsComposer, UsePetProductComposer, UserSongDisksInventoryMessageEvent, WardrobeMessageEvent } from './messages'; import { AvailabilityStatusMessageEvent } from './messages/incoming/availability/AvailabilityStatusMessageEvent'; import { CfhSanctionMessageEvent, CfhTopicsInitEvent, SanctionStatusEvent } from './messages/incoming/callforhelp'; import { CameraPublishStatusMessageEvent } from './messages/incoming/camera/CameraPublishStatusMessageEvent'; @@ -9,28 +9,13 @@ import { CompetitionStatusMessageEvent } from './messages/incoming/camera/Compet import { InitCameraMessageEvent } from './messages/incoming/camera/InitCameraMessageEvent'; import { ThumbnailStatusMessageEvent } from './messages/incoming/camera/ThumbnailStatusMessageEvent'; import { CampaignCalendarDataMessageEvent, CampaignCalendarDoorOpenedMessageEvent } from './messages/incoming/campaign'; -import { CatalogClubEvent } from './messages/incoming/catalog/CatalogClubEvent'; -import { CatalogClubGiftsEvent } from './messages/incoming/catalog/CatalogClubGiftsEvent'; -import { CatalogGiftConfigurationEvent } from './messages/incoming/catalog/CatalogGiftConfigurationEvent'; -import { CatalogGiftUsernameUnavailableEvent } from './messages/incoming/catalog/CatalogGiftUsernameUnavailableEvent'; -import { CatalogGroupsEvent } from './messages/incoming/catalog/CatalogGroupsEvent'; -import { CatalogModeEvent } from './messages/incoming/catalog/CatalogModeEvent'; -import { CatalogPageEvent } from './messages/incoming/catalog/CatalogPageEvent'; -import { CatalogPagesEvent } from './messages/incoming/catalog/CatalogPagesEvent'; -import { CatalogPurchaseEvent } from './messages/incoming/catalog/CatalogPurchaseEvent'; -import { CatalogPurchaseFailedEvent } from './messages/incoming/catalog/CatalogPurchaseFailedEvent'; -import { CatalogPurchaseUnavailableEvent } from './messages/incoming/catalog/CatalogPurchaseUnavailableEvent'; -import { CatalogRedeemVoucherErrorEvent } from './messages/incoming/catalog/CatalogRedeemVoucherErrorEvent'; -import { CatalogRedeemVoucherOkEvent } from './messages/incoming/catalog/CatalogRedeemVoucherOkEvent'; -import { CatalogSearchEvent } from './messages/incoming/catalog/CatalogSearchEvent'; -import { CatalogSoldOutEvent } from './messages/incoming/catalog/CatalogSoldOutEvent'; -import { CatalogUpdatedEvent } from './messages/incoming/catalog/CatalogUpdatedEvent'; +import { CatalogPageExpirationEvent, CatalogPageMessageEvent, CatalogPagesListEvent, CatalogPageWithEarliestExpiryMessageEvent, CatalogPublishedMessageEvent, ClubGiftInfoEvent, ClubGiftSelectedEvent, GiftReceiverNotFoundEvent, GiftWrappingConfigurationEvent, HabboClubOffersMessageEvent, LimitedEditionSoldOutEvent, ProductOfferEvent, PurchaseErrorMessageEvent, PurchaseNotAllowedMessageEvent, PurchaseOKMessageEvent, VoucherRedeemErrorMessageEvent, VoucherRedeemOkMessageEvent } from './messages/incoming/catalog'; import { MarketplaceBuyOfferResultEvent } from './messages/incoming/catalog/marketplace/MarketplaceBuyOfferResultEvent'; import { MarketplaceCancelItemEvent } from './messages/incoming/catalog/marketplace/MarketplaceCancelItemEvent'; +import { MarketplaceConfigEvent } from './messages/incoming/catalog/marketplace/MarketplaceConfigEvent'; +import { MarketplaceItemStatsEvent } from './messages/incoming/catalog/marketplace/MarketplaceItemStatsEvent'; import { MarketplaceOffersReceivedEvent } from './messages/incoming/catalog/marketplace/MarketplaceOffersReceivedEvent'; import { MarketplaceOwnItemsEvent } from './messages/incoming/catalog/marketplace/MarketplaceOwnItemsEvent'; -import { MarketplaceConfigEvent } from './messages/incoming/catalog/MarketplaceConfigEvent'; -import { MarketplaceItemStatsEvent } from './messages/incoming/catalog/MarketplaceItemStatsEvent'; import { ClientPingEvent } from './messages/incoming/client/ClientPingEvent'; import { CraftableProductsEvent } from './messages/incoming/crafting/CraftableProductsEvent'; import { CraftingRecipeEvent } from './messages/incoming/crafting/CraftingRecipeEvent'; @@ -220,6 +205,7 @@ import { UserInfoEvent } from './messages/incoming/user/data/UserInfoEvent'; import { UserNameChangeMessageEvent } from './messages/incoming/user/data/UserNameChangeMessageEvent'; import { UserProfileEvent } from './messages/incoming/user/data/UserProfileEvent'; import { UserSettingsEvent } from './messages/incoming/user/data/UserSettingsEvent'; +import { GuildMembershipsMessageEvent } from './messages/incoming/user/GuildMembershipsMessageEvent'; import { IgnoredUsersEvent } from './messages/incoming/user/IgnoredUsersEvent'; import { IgnoreResultEvent } from './messages/incoming/user/IgnoreResultEvent'; import { InClientLinkEvent } from './messages/incoming/user/InClientLinkEvent'; @@ -505,24 +491,41 @@ export class NitroMessages implements IMessageConfiguration this._events.set(IncomingHeader.CAMPAIGN_CALENDAR_DOOR_OPENED, CampaignCalendarDoorOpenedMessageEvent); // CATALOG - this._events.set(IncomingHeader.CATALOG_CLUB, CatalogClubEvent); - this._events.set(IncomingHeader.CATALOG_MODE, CatalogModeEvent); - this._events.set(IncomingHeader.CATALOG_PAGE, CatalogPageEvent); - this._events.set(IncomingHeader.CATALOG_PAGES, CatalogPagesEvent); - this._events.set(IncomingHeader.CATALOG_PURCHASE, CatalogPurchaseEvent); - this._events.set(IncomingHeader.CATALOG_PURCHASE_FAILED, CatalogPurchaseFailedEvent); - this._events.set(IncomingHeader.CATALOG_PURCHASE_UNAVAILABLE, CatalogPurchaseUnavailableEvent); - this._events.set(IncomingHeader.CATALOG_SEARCH, CatalogSearchEvent); - this._events.set(IncomingHeader.CATALOG_SOLD_OUT, CatalogSoldOutEvent); - this._events.set(IncomingHeader.CATALOG_UPDATED, CatalogUpdatedEvent); - this._events.set(IncomingHeader.CATALOG_CLUB_GIFTS, CatalogClubGiftsEvent); - this._events.set(IncomingHeader.GROUP_LIST, CatalogGroupsEvent); - this._events.set(IncomingHeader.GIFT_CONFIG, CatalogGiftConfigurationEvent); - this._events.set(IncomingHeader.REDEEM_VOUCHER_ERROR, CatalogRedeemVoucherErrorEvent); - this._events.set(IncomingHeader.REDEEM_VOUCHER_OK, CatalogRedeemVoucherOkEvent); - this._events.set(IncomingHeader.CATALOG_RECEIVE_PET_BREEDS, SellablePetPalettesEvent); - this._events.set(IncomingHeader.CATALOG_APPROVE_NAME_RESULT, CatalogApproveNameResultEvent); this._events.set(IncomingHeader.BONUS_RARE_INFO, BonusRareInfoMessageEvent); + this._events.set(IncomingHeader.BUILDERS_CLUB_FURNI_COUNT, BuildersClubFurniCountMessageEvent); + this._events.set(IncomingHeader.BUILDERS_CLUB_SUBSCRIPTION, BuildersClubSubscriptionStatusMessageEvent); + this._events.set(IncomingHeader.BUNDLE_DISCOUNT_RULESET, BundleDiscountRulesetMessageEvent); + this._events.set(IncomingHeader.CATALOG_PAGE_EXPIRATION, CatalogPageExpirationEvent); + this._events.set(IncomingHeader.CATALOG_PAGE, CatalogPageMessageEvent); + this._events.set(IncomingHeader.CATALOG_PAGE_LIST, CatalogPagesListEvent); + this._events.set(IncomingHeader.CATALOG_EARLIEST_EXPIRY, CatalogPageWithEarliestExpiryMessageEvent); + this._events.set(IncomingHeader.CATALOG_PUBLISHED, CatalogPublishedMessageEvent); + this._events.set(IncomingHeader.CLUB_GIFT_INFO, ClubGiftInfoEvent); + this._events.set(IncomingHeader.CLUB_GIFT_SELECTED, ClubGiftSelectedEvent); + this._events.set(IncomingHeader.DIRECT_SMS_CLUB_BUY, DirectSMSClubBuyAvailableMessageEvent); + this._events.set(IncomingHeader.GIFT_RECEIVER_NOT_FOUND, GiftReceiverNotFoundEvent); + this._events.set(IncomingHeader.GIFT_WRAPPER_CONFIG, GiftWrappingConfigurationEvent); + this._events.set(IncomingHeader.CLUB_EXTENDED_OFFER, HabboClubExtendOfferMessageEvent); + this._events.set(IncomingHeader.CLUB_OFFERS, HabboClubOffersMessageEvent); + this._events.set(IncomingHeader.IS_OFFER_GIFTABLE, IsOfferGiftableMessageEvent); + this._events.set(IncomingHeader.LIMITED_SOLD_OUT, LimitedEditionSoldOutEvent); + this._events.set(IncomingHeader.LIMITED_OFFER_APPEARING_NEXT, LimitedOfferAppearingNextMessageEvent); + this._events.set(IncomingHeader.NOT_ENOUGH_BALANCE, NotEnoughBalanceMessageEvent); + this._events.set(IncomingHeader.PRODUCT_OFFER, ProductOfferEvent); + this._events.set(IncomingHeader.CATALOG_PURCHASE_ERROR, PurchaseErrorMessageEvent); + this._events.set(IncomingHeader.CATALOG_PURCHASE_NOT_ALLOWED, PurchaseNotAllowedMessageEvent); + this._events.set(IncomingHeader.CATALOG_PURCHASE_OK, PurchaseOKMessageEvent); + this._events.set(IncomingHeader.ROOM_AD_PURCHASE, RoomAdPurchaseInfoEvent); + this._events.set(IncomingHeader.SEASONAL_CALENDAR_OFFER, SeasonalCalendarDailyOfferMessageEvent); + this._events.set(IncomingHeader.CATALOG_RECEIVE_PET_BREEDS, SellablePetPalettesMessageEvent); + this._events.set(IncomingHeader.TARGET_OFFER, TargetedOfferEvent); + this._events.set(IncomingHeader.TARGET_OFFER_NOT_FOUND, TargetedOfferNotFoundEvent); + this._events.set(IncomingHeader.REDEEM_VOUCHER_ERROR, VoucherRedeemErrorMessageEvent); + this._events.set(IncomingHeader.REDEEM_VOUCHER_OK, VoucherRedeemOkMessageEvent); + + + this._events.set(IncomingHeader.GROUP_LIST, GuildMembershipsMessageEvent); + this._events.set(IncomingHeader.CATALOG_APPROVE_NAME_RESULT, ApproveNameMessageEvent); // CLIENT this._events.set(IncomingHeader.CLIENT_PING, ClientPingEvent); @@ -767,7 +770,6 @@ export class NitroMessages implements IMessageConfiguration this._events.set(IncomingHeader.GIFT_OPENED, PresentOpenedMessageEvent); // INVENTORY - this._events.set(IncomingHeader.GIFT_RECEIVER_NOT_FOUND, CatalogGiftUsernameUnavailableEvent); // BOTS this._events.set(IncomingHeader.USER_BOTS, BotInventoryMessageEvent); diff --git a/src/nitro/communication/messages/incoming/IncomingHeader.ts b/src/nitro/communication/messages/incoming/IncomingHeader.ts index 3f88191a..195db9e0 100644 --- a/src/nitro/communication/messages/incoming/IncomingHeader.ts +++ b/src/nitro/communication/messages/incoming/IncomingHeader.ts @@ -5,23 +5,22 @@ export class IncomingHeader public static AUTHENTICATION = -1; public static AVAILABILITY_STATUS = 2033; public static BUILDERS_CLUB_EXPIRED = 1452; - public static CATALOG_CLUB = 2405; - public static CATALOG_MODE = 3828; + public static CLUB_OFFERS = 2405; public static CATALOG_PAGE = 804; - public static CATALOG_PAGES = 1032; - public static CATALOG_PURCHASE = 869; - public static CATALOG_PURCHASE_FAILED = 1404; - public static CATALOG_PURCHASE_UNAVAILABLE = 3770; - public static CATALOG_SEARCH = 3388; - public static CATALOG_SOLD_OUT = 377; - public static CATALOG_UPDATED = 1866; + public static CATALOG_PAGE_LIST = 1032; + public static CATALOG_PURCHASE_OK = 869; + public static CATALOG_PURCHASE_ERROR = 1404; + public static CATALOG_PURCHASE_NOT_ALLOWED = 3770; + public static PRODUCT_OFFER = 3388; + public static LIMITED_SOLD_OUT = 377; + public static CATALOG_PUBLISHED = 1866; public static CFH_RESULT_MESSAGE = 934; public static CLIENT_LATENCY = 10; public static CLIENT_PING = 3928; public static DESKTOP_CAMPAIGN = 1745; public static DESKTOP_NEWS = 286; public static DESKTOP_VIEW = 122; - public static DISCOUNT_CONFIG = 2347; + public static BUNDLE_DISCOUNT_RULESET = 2347; public static FIRST_LOGIN_OF_DAY = 793; public static FURNITURE_ALIASES = 1723; public static FURNITURE_DATA = 2547; @@ -37,7 +36,7 @@ export class IncomingHeader public static GENERIC_ALERT = 3801; public static MODERATOR_MESSAGE = 2030; public static GENERIC_ERROR = 1600; - public static GIFT_CONFIG = 2234; + public static GIFT_WRAPPER_CONFIG = 2234; public static GROUP_BADGES = 2402; public static GROUP_CREATE_OPTIONS = 2159; public static GROUP_FORUM_INFO = 3011; @@ -227,7 +226,7 @@ export class IncomingHeader public static USER_EFFECT_LIST_ADD = 2867; public static USER_EFFECT_LIST_REMOVE = 2228; public static USER_EFFECT_ACTIVATE = 1959; - public static CATALOG_CLUB_GIFTS = 619; + public static CLUB_GIFT_INFO = 619; public static REDEEM_VOUCHER_ERROR = 714; public static REDEEM_VOUCHER_OK = 3336; public static MODTOOL_VISITED_ROOMS_USER = 1752; @@ -294,4 +293,18 @@ export class IncomingHeader public static CFH_SANCTION_STATUS = 2221; public static CAMPAIGN_CALENDAR_DATA = 2531; public static CAMPAIGN_CALENDAR_DOOR_OPENED = 2551; + public static BUILDERS_CLUB_FURNI_COUNT = 3828; + public static BUILDERS_CLUB_SUBSCRIPTION = 1452; + public static CATALOG_PAGE_EXPIRATION = 2668; + public static CATALOG_EARLIEST_EXPIRY = 2515; + public static CLUB_GIFT_SELECTED = 659; + public static TARGET_OFFER_NOT_FOUND = 1237; + public static TARGET_OFFER = 119; + public static DIRECT_SMS_CLUB_BUY = 195; + public static ROOM_AD_PURCHASE = 2468; + public static NOT_ENOUGH_BALANCE = 3914; + public static LIMITED_OFFER_APPEARING_NEXT = 44; + public static IS_OFFER_GIFTABLE = 761; + public static CLUB_EXTENDED_OFFER = 3964; + public static SEASONAL_CALENDAR_OFFER = 1889; } diff --git a/src/nitro/communication/messages/incoming/advertisement/InterstitialMessageEvent.ts b/src/nitro/communication/messages/incoming/advertisement/InterstitialMessageEvent.ts index 865a949e..6f201829 100644 --- a/src/nitro/communication/messages/incoming/advertisement/InterstitialMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/advertisement/InterstitialMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { InterstitialMessageParser } from '../../parser'; export class InterstitialMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/advertisement/RoomAdErrorEvent.ts b/src/nitro/communication/messages/incoming/advertisement/RoomAdErrorEvent.ts index 3d15bde8..07659488 100644 --- a/src/nitro/communication/messages/incoming/advertisement/RoomAdErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/advertisement/RoomAdErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { RoomAdErrorMessageParser } from '../../parser'; export class RoomAdErrorEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/availability/AvailabilityStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/availability/AvailabilityStatusMessageEvent.ts index 8d1cfa30..2134041a 100644 --- a/src/nitro/communication/messages/incoming/availability/AvailabilityStatusMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/availability/AvailabilityStatusMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { AvailabilityStatusMessageParser } from '../../parser/availability/AvailabilityStatusMessageParser'; export class AvailabilityStatusMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class AvailabilityStatusMessageEvent extends MessageEvent implements IMes { return this.parser as AvailabilityStatusMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/availability/AvailabilityTimeMessageEvent.ts b/src/nitro/communication/messages/incoming/availability/AvailabilityTimeMessageEvent.ts index 5784493f..073dff39 100644 --- a/src/nitro/communication/messages/incoming/availability/AvailabilityTimeMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/availability/AvailabilityTimeMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { AvailabilityTimeMessageParser } from '../../parser'; export class AvailabilityTimeMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/availability/HotelClosedAndOpensEvent.ts b/src/nitro/communication/messages/incoming/availability/HotelClosedAndOpensEvent.ts index a1e18b0b..c1e02227 100644 --- a/src/nitro/communication/messages/incoming/availability/HotelClosedAndOpensEvent.ts +++ b/src/nitro/communication/messages/incoming/availability/HotelClosedAndOpensEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { HotelClosedAndOpensMessageParser } from '../../parser'; export class HotelClosedAndOpensEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/availability/HotelClosesAndWillOpenAtEvent.ts b/src/nitro/communication/messages/incoming/availability/HotelClosesAndWillOpenAtEvent.ts index b147dbb9..d757fc61 100644 --- a/src/nitro/communication/messages/incoming/availability/HotelClosesAndWillOpenAtEvent.ts +++ b/src/nitro/communication/messages/incoming/availability/HotelClosesAndWillOpenAtEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { HotelClosesAndWillOpenAtMessageParser } from '../../parser'; export class HotelClosesAndWillOpenAtEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/availability/HotelWillCloseInMinutesEvent.ts b/src/nitro/communication/messages/incoming/availability/HotelWillCloseInMinutesEvent.ts index 3f8dc247..182340fe 100644 --- a/src/nitro/communication/messages/incoming/availability/HotelWillCloseInMinutesEvent.ts +++ b/src/nitro/communication/messages/incoming/availability/HotelWillCloseInMinutesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { HotelWillCloseInMinutesMessageParser } from '../../parser'; export class HotelWillCloseInMinutesEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/availability/MaintenanceStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/availability/MaintenanceStatusMessageEvent.ts index 54f665da..60c57d56 100644 --- a/src/nitro/communication/messages/incoming/availability/MaintenanceStatusMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/availability/MaintenanceStatusMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MaintenanceStatusMessageParser } from '../../parser'; export class MaintenanceStatusMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/avatar/ChangeUserNameResultMessageEvent.ts b/src/nitro/communication/messages/incoming/avatar/ChangeUserNameResultMessageEvent.ts index d75817fa..6dd85e58 100644 --- a/src/nitro/communication/messages/incoming/avatar/ChangeUserNameResultMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/avatar/ChangeUserNameResultMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ChangeUserNameResultMessageParser } from '../../parser/avatar/ChangeUserNameResultMessageParser'; export class ChangeUserNameResultMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/avatar/CheckUserNameResultMessageEvent.ts b/src/nitro/communication/messages/incoming/avatar/CheckUserNameResultMessageEvent.ts index 598f5a47..8198f186 100644 --- a/src/nitro/communication/messages/incoming/avatar/CheckUserNameResultMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/avatar/CheckUserNameResultMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CheckUserNameResultMessageParser } from '../../parser/avatar/CheckUserNameResultMessageParser'; export class CheckUserNameResultMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/avatar/FigureUpdateEvent.ts b/src/nitro/communication/messages/incoming/avatar/FigureUpdateEvent.ts index 876cea76..6939ba4c 100644 --- a/src/nitro/communication/messages/incoming/avatar/FigureUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/avatar/FigureUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { FigureUpdateParser } from '../../parser'; export class FigureUpdateEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/avatar/WardrobeMessageEvent.ts b/src/nitro/communication/messages/incoming/avatar/WardrobeMessageEvent.ts index 511aadcc..0c17b4c9 100644 --- a/src/nitro/communication/messages/incoming/avatar/WardrobeMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/avatar/WardrobeMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WardrobeMessageParser } from '../../parser'; export class WardrobeMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/callforhelp/CfhSanctionMessageEvent.ts b/src/nitro/communication/messages/incoming/callforhelp/CfhSanctionMessageEvent.ts index 15762a6b..62ba2273 100644 --- a/src/nitro/communication/messages/incoming/callforhelp/CfhSanctionMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/callforhelp/CfhSanctionMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CfhSanctionMessageParser } from '../../parser/callforhelp/CfhSanctionMessageParser'; export class CfhSanctionMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/callforhelp/CfhTopicsInitEvent.ts b/src/nitro/communication/messages/incoming/callforhelp/CfhTopicsInitEvent.ts index 0b3b5022..e8d4eee5 100644 --- a/src/nitro/communication/messages/incoming/callforhelp/CfhTopicsInitEvent.ts +++ b/src/nitro/communication/messages/incoming/callforhelp/CfhTopicsInitEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CfhTopicsInitMessageParser } from '../../parser/callforhelp/CfhTopicsInitMessageParser'; export class CfhTopicsInitEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/callforhelp/SanctionStatusEvent.ts b/src/nitro/communication/messages/incoming/callforhelp/SanctionStatusEvent.ts index 2a9ce7aa..c904b008 100644 --- a/src/nitro/communication/messages/incoming/callforhelp/SanctionStatusEvent.ts +++ b/src/nitro/communication/messages/incoming/callforhelp/SanctionStatusEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { SanctionStatusMessageParser } from '../../parser/callforhelp'; export class SanctionStatusEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/camera/CameraPublishStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/camera/CameraPublishStatusMessageEvent.ts index 88150612..4bf28440 100644 --- a/src/nitro/communication/messages/incoming/camera/CameraPublishStatusMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/camera/CameraPublishStatusMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CameraPublishStatusMessageParser } from '../../parser/camera/CameraPublishStatusMessageParser'; export class CameraPublishStatusMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/camera/CameraPurchaseOKMessageEvent.ts b/src/nitro/communication/messages/incoming/camera/CameraPurchaseOKMessageEvent.ts index dac28290..d84c13ee 100644 --- a/src/nitro/communication/messages/incoming/camera/CameraPurchaseOKMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/camera/CameraPurchaseOKMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CameraPurchaseOKMessageParser } from '../../parser/camera/CameraPurchaseOKMessageParser'; export class CameraPurchaseOKMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/camera/CameraStorageUrlMessageEvent.ts b/src/nitro/communication/messages/incoming/camera/CameraStorageUrlMessageEvent.ts index 1d29fea0..370fc2ce 100644 --- a/src/nitro/communication/messages/incoming/camera/CameraStorageUrlMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/camera/CameraStorageUrlMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CameraStorageUrlMessageParser } from '../../parser/camera/CameraStorageUrlMessageParser'; export class CameraStorageUrlMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/camera/CompetitionStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/camera/CompetitionStatusMessageEvent.ts index 2c87c7b8..aa1ee8cf 100644 --- a/src/nitro/communication/messages/incoming/camera/CompetitionStatusMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/camera/CompetitionStatusMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CompetitionStatusMessageParser } from '../../parser/camera/CompetitionStatusMessageParser'; export class CompetitionStatusMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/camera/InitCameraMessageEvent.ts b/src/nitro/communication/messages/incoming/camera/InitCameraMessageEvent.ts index 50a36acd..520fd27f 100644 --- a/src/nitro/communication/messages/incoming/camera/InitCameraMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/camera/InitCameraMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { InitCameraMessageParser } from '../../parser/camera/InitCameraMessageParser'; export class InitCameraMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/camera/ThumbnailStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/camera/ThumbnailStatusMessageEvent.ts index f48dd727..d2985376 100644 --- a/src/nitro/communication/messages/incoming/camera/ThumbnailStatusMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/camera/ThumbnailStatusMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ThumbnailStatusMessageParser } from '../../parser/camera/ThumbnailStatusMessageParser'; export class ThumbnailStatusMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDataMessageEvent.ts b/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDataMessageEvent.ts index c8ba5bbd..c3f52be6 100644 --- a/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDataMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDataMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CampaignCalendarDataMessageParser } from '../../parser/campaign'; export class CampaignCalendarDataMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDoorOpenedMessageEvent.ts b/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDoorOpenedMessageEvent.ts index 48911446..b3edf756 100644 --- a/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDoorOpenedMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/campaign/CampaignCalendarDoorOpenedMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CampaignCalendarDoorOpenedMessageParser } from '../../parser/campaign'; export class CampaignCalendarDoorOpenedMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/catalog/BonusRareInfoMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/BonusRareInfoMessageEvent.ts index 15bb58d4..e47c03e9 100644 --- a/src/nitro/communication/messages/incoming/catalog/BonusRareInfoMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/BonusRareInfoMessageEvent.ts @@ -1,6 +1,5 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { BonusRareInfoMessageParser } from '../../parser/catalog/BonusRareInfoMessageParser'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { BonusRareInfoMessageParser } from '../../parser'; export class BonusRareInfoMessageEvent extends MessageEvent implements IMessageEvent { diff --git a/src/nitro/communication/messages/incoming/catalog/BuildersClubFurniCountMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/BuildersClubFurniCountMessageEvent.ts new file mode 100644 index 00000000..e626a07d --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/BuildersClubFurniCountMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { BuildersClubFurniCountMessageParser } from '../../parser'; + +export class BuildersClubFurniCountMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, BuildersClubFurniCountMessageParser); + } + + public getParser(): BuildersClubFurniCountMessageParser + { + return this.parser as BuildersClubFurniCountMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/BuildersClubSubscriptionStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/BuildersClubSubscriptionStatusMessageEvent.ts new file mode 100644 index 00000000..02116825 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/BuildersClubSubscriptionStatusMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { BuildersClubSubscriptionStatusMessageParser } from '../../parser'; + +export class BuildersClubSubscriptionStatusMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, BuildersClubSubscriptionStatusMessageParser); + } + + public getParser(): BuildersClubSubscriptionStatusMessageParser + { + return this.parser as BuildersClubSubscriptionStatusMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/BundleDiscountRuleset.ts b/src/nitro/communication/messages/incoming/catalog/BundleDiscountRuleset.ts new file mode 100644 index 00000000..82fde8fe --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/BundleDiscountRuleset.ts @@ -0,0 +1,53 @@ +import { IMessageDataWrapper } from '../../../../../core'; + +export class BundleDiscountRuleset +{ + private _Str_20535: number; + private _Str_19937: number; + private _Str_20951: number; + private _Str_20460: number; + private _Str_16144: number[]; + + constructor(wrapper: IMessageDataWrapper) + { + this._Str_20535 = wrapper.readInt(); + this._Str_19937 = wrapper.readInt(); + this._Str_20951 = wrapper.readInt(); + this._Str_20460 = wrapper.readInt(); + this._Str_16144 = []; + + let count = wrapper.readInt(); + + while(count > 0) + { + this._Str_16144.push(wrapper.readInt()); + + count--; + } + } + + public get _Str_22802(): number + { + return this._Str_20535; + } + + public get _Str_9227(): number + { + return this._Str_19937; + } + + public get _Str_23802(): number + { + return this._Str_20951; + } + + public get _Str_21500(): number + { + return this._Str_20460; + } + + public get _Str_25155(): number[] + { + return this._Str_16144; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/BundleDiscountRulesetMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/BundleDiscountRulesetMessageEvent.ts new file mode 100644 index 00000000..c6def370 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/BundleDiscountRulesetMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { BundleDiscountRulesetMessageParser } from '../../parser'; + +export class BundleDiscountRulesetMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, BundleDiscountRulesetMessageParser); + } + + public getParser(): BundleDiscountRulesetMessageParser + { + return this.parser as BundleDiscountRulesetMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogApproveNameResultEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogApproveNameResultEvent.ts deleted file mode 100644 index d10cea5f..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogApproveNameResultEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogApproveNameResultParser } from '../../parser'; - -export class CatalogApproveNameResultEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogApproveNameResultParser); - } - - public getParser(): CatalogApproveNameResultParser - { - return this.parser as CatalogApproveNameResultParser; - } -} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogClubEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogClubEvent.ts deleted file mode 100644 index ec0ddb82..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogClubEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogClubParser } from '../../parser/catalog/CatalogClubParser'; - -export class CatalogClubEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogClubParser); - } - - public getParser(): CatalogClubParser - { - return this.parser as CatalogClubParser; - } -} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogClubGiftsEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogClubGiftsEvent.ts deleted file mode 100644 index 0a963690..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogClubGiftsEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { ClubGiftInfoParser } from '../../parser/catalog/ClubGiftInfoParser'; - -export class CatalogClubGiftsEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, ClubGiftInfoParser); - } - - public getParser(): ClubGiftInfoParser - { - return this.parser as ClubGiftInfoParser; - } -} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogGiftConfigurationEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogGiftConfigurationEvent.ts deleted file mode 100644 index a7a9f47c..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogGiftConfigurationEvent.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogPagesParser } from '../../parser/catalog/CatalogPagesParser'; -import { CatalogGiftConfigurationParser } from '../../parser/catalog/CatalogGiftConfigurationParser'; - -export class CatalogGiftConfigurationEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogGiftConfigurationParser); - } - - public getParser(): CatalogGiftConfigurationParser - { - return this.parser as CatalogGiftConfigurationParser; - } -} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogGiftUsernameUnavailableEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogGiftUsernameUnavailableEvent.ts deleted file mode 100644 index f6b565e8..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogGiftUsernameUnavailableEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogGiftUsernameUnavailableParser } from '../../parser/catalog/CatalogGiftUsernameUnavailableParser'; - -export class CatalogGiftUsernameUnavailableEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogGiftUsernameUnavailableParser); - } - - public getParser(): CatalogGiftUsernameUnavailableParser - { - return this.parser as CatalogGiftUsernameUnavailableParser; - } -} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogGroupsEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogGroupsEvent.ts deleted file mode 100644 index aa0234d7..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogGroupsEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogGroupsParser } from '../../parser/catalog/CatalogGroupsParser'; - -export class CatalogGroupsEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogGroupsParser); - } - - public getParser(): CatalogGroupsParser - { - return this.parser as CatalogGroupsParser; - } -} diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogLocalizationData.ts b/src/nitro/communication/messages/incoming/catalog/CatalogLocalizationData.ts similarity index 56% rename from src/nitro/communication/messages/parser/catalog/utils/CatalogLocalizationData.ts rename to src/nitro/communication/messages/incoming/catalog/CatalogLocalizationData.ts index aae770de..91b5f721 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogLocalizationData.ts +++ b/src/nitro/communication/messages/incoming/catalog/CatalogLocalizationData.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { ICatalogLocalizationData } from './ICatalogLocalizationData'; +import { IMessageDataWrapper } from '../../../../../core'; +import { ICatalogLocalizationData } from '../../parser/catalog/utils/ICatalogLocalizationData'; export class CatalogLocalizationData implements ICatalogLocalizationData { @@ -8,23 +8,8 @@ export class CatalogLocalizationData implements ICatalogLocalizationData constructor(wrapper: IMessageDataWrapper) { - if(!wrapper) throw new Error('invalid_wrapper'); - - this.flush(); - this.parse(wrapper); - } - - public flush(): boolean - { - this._images = []; - this._texts = []; - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; + this._images = []; + this._texts = []; let totalImages = wrapper.readInt(); @@ -43,8 +28,6 @@ export class CatalogLocalizationData implements ICatalogLocalizationData totalTexts--; } - - return true; } public get images(): string[] diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogModeEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogModeEvent.ts deleted file mode 100644 index fb76a8a8..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogModeEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogModeParser } from '../../parser/catalog/CatalogModeParser'; - -export class CatalogModeEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogModeParser); - } - - public getParser(): CatalogModeParser - { - return this.parser as CatalogModeParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPageEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPageEvent.ts deleted file mode 100644 index 85589423..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogPageEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogPageParser } from '../../parser/catalog/CatalogPageParser'; - -export class CatalogPageEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogPageParser); - } - - public getParser(): CatalogPageParser - { - return this.parser as CatalogPageParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPageExpirationEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPageExpirationEvent.ts new file mode 100644 index 00000000..63c7f0a5 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/CatalogPageExpirationEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { CatalogPageExpirationParser } from '../../parser'; + +export class CatalogPageExpirationEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, CatalogPageExpirationParser); + } + + public getParser(): CatalogPageExpirationParser + { + return this.parser as CatalogPageExpirationParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPageMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPageMessageEvent.ts new file mode 100644 index 00000000..b5dee2c5 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/CatalogPageMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { CatalogPageMessageParser } from '../../parser/catalog/CatalogPageMessageParser'; + +export class CatalogPageMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, CatalogPageMessageParser); + } + + public getParser(): CatalogPageMessageParser + { + return this.parser as CatalogPageMessageParser; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogPageOfferData.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPageMessageOfferData.ts similarity index 64% rename from src/nitro/communication/messages/parser/catalog/utils/CatalogPageOfferData.ts rename to src/nitro/communication/messages/incoming/catalog/CatalogPageMessageOfferData.ts index 5690315e..91a068a0 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogPageOfferData.ts +++ b/src/nitro/communication/messages/incoming/catalog/CatalogPageMessageOfferData.ts @@ -1,7 +1,7 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { CatalogProductOfferData } from './CatalogProductOfferData'; +import { IMessageDataWrapper } from '../../../../../core'; +import { CatalogPageMessageProductData } from './CatalogPageMessageProductData'; -export class CatalogPageOfferData +export class CatalogPageMessageOfferData { private _offerId: number; private _localizationId: string; @@ -14,38 +14,10 @@ export class CatalogPageOfferData private _bundlePurchaseAllowed: boolean; private _isPet: boolean; private _previewImage: string; - private _products: CatalogProductOfferData[]; + private _products: CatalogPageMessageProductData[]; constructor(wrapper: IMessageDataWrapper) { - if(!wrapper) throw new Error('invalid_wrapper'); - - this.flush(); - this.parse(wrapper); - } - - public flush(): boolean - { - this._offerId = -1; - this._localizationId = null; - this._rent = false; - this._priceCredits = 0; - this._priceActivityPoints = 0; - this._priceActivityPointsType = 0; - this._clubLevel = 0; - this._giftable = false; - this._bundlePurchaseAllowed = false; - this._isPet = false; - this._previewImage = null; - this._products = []; - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - this._offerId = wrapper.readInt(); this._localizationId = wrapper.readString(); this._rent = wrapper.readBoolean(); @@ -54,11 +26,13 @@ export class CatalogPageOfferData this._priceActivityPointsType = wrapper.readInt(); this._giftable = wrapper.readBoolean(); + this._products = []; + let totalProducts = wrapper.readInt(); while(totalProducts > 0) { - this._products.push(new CatalogProductOfferData(wrapper)); + this._products.push(new CatalogPageMessageProductData(wrapper)); totalProducts--; } @@ -67,8 +41,6 @@ export class CatalogPageOfferData this._bundlePurchaseAllowed = wrapper.readBoolean(); this._isPet = wrapper.readBoolean(); this._previewImage = wrapper.readString(); - - return true; } public get offerId(): number @@ -126,7 +98,7 @@ export class CatalogPageOfferData return this._previewImage; } - public get products(): CatalogProductOfferData[] + public get products(): CatalogPageMessageProductData[] { return this._products; } diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogProductOfferData.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPageMessageProductData.ts similarity index 93% rename from src/nitro/communication/messages/parser/catalog/utils/CatalogProductOfferData.ts rename to src/nitro/communication/messages/incoming/catalog/CatalogPageMessageProductData.ts index 425baeea..4ed9bf3d 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogProductOfferData.ts +++ b/src/nitro/communication/messages/incoming/catalog/CatalogPageMessageProductData.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; -export class CatalogProductOfferData +export class CatalogPageMessageProductData { public static I: string = 'i'; public static S: string = 's'; @@ -42,7 +42,7 @@ export class CatalogProductOfferData switch(this._productType) { - case CatalogProductOfferData.B: + case CatalogPageMessageProductData.B: this._extraParam = wrapper.readString(); this._productCount = 1; return true; diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPageWithEarliestExpiryMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPageWithEarliestExpiryMessageEvent.ts new file mode 100644 index 00000000..4e8a176e --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/CatalogPageWithEarliestExpiryMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { CatalogPageWithEarliestExpiryMessageParser } from '../../parser'; + +export class CatalogPageWithEarliestExpiryMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, CatalogPageWithEarliestExpiryMessageParser); + } + + public getParser(): CatalogPageWithEarliestExpiryMessageParser + { + return this.parser as CatalogPageWithEarliestExpiryMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPagesEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPagesEvent.ts deleted file mode 100644 index a9224d50..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogPagesEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogPagesParser } from '../../parser/catalog/CatalogPagesParser'; - -export class CatalogPagesEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogPagesParser); - } - - public getParser(): CatalogPagesParser - { - return this.parser as CatalogPagesParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPagesListEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPagesListEvent.ts new file mode 100644 index 00000000..d05d5daa --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/CatalogPagesListEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { CatalogIndexMessageParser } from '../../parser'; + +export class CatalogPagesListEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, CatalogIndexMessageParser); + } + + public getParser(): CatalogIndexMessageParser + { + return this.parser as CatalogIndexMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPublishedMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPublishedMessageEvent.ts new file mode 100644 index 00000000..7efdd582 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/CatalogPublishedMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { CatalogPublishedMessageParser } from '../../parser/catalog/CatalogPublishedMessageParser'; + +export class CatalogPublishedMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, CatalogPublishedMessageParser); + } + + public getParser(): CatalogPublishedMessageParser + { + return this.parser as CatalogPublishedMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseEvent.ts deleted file mode 100644 index 13711625..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogPurchaseParser } from '../../parser/catalog/CatalogPurchaseParser'; - -export class CatalogPurchaseEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogPurchaseParser); - } - - public getParser(): CatalogPurchaseParser - { - return this.parser as CatalogPurchaseParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseFailedEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseFailedEvent.ts deleted file mode 100644 index 37ae8047..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseFailedEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogPurchaseFailedParser } from '../../parser/catalog/CatalogPurchaseFailedParser'; - -export class CatalogPurchaseFailedEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogPurchaseFailedParser); - } - - public getParser(): CatalogPurchaseFailedParser - { - return this.parser as CatalogPurchaseFailedParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseUnavailableEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseUnavailableEvent.ts deleted file mode 100644 index 5e5555e3..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogPurchaseUnavailableEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogPurchaseUnavailableParser } from '../../parser/catalog/CatalogPurchaseUnavailableParser'; - -export class CatalogPurchaseUnavailableEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogPurchaseUnavailableParser); - } - - public getParser(): CatalogPurchaseUnavailableParser - { - return this.parser as CatalogPurchaseUnavailableParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogRedeemVoucherErrorEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogRedeemVoucherErrorEvent.ts deleted file mode 100644 index 953d9ff9..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogRedeemVoucherErrorEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogRedeemVoucherErrorParser } from '../../parser/catalog/CatalogRedeemVoucherErrorParser'; - -export class CatalogRedeemVoucherErrorEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogRedeemVoucherErrorParser); - } - - public getParser(): CatalogRedeemVoucherErrorParser - { - return this.parser as CatalogRedeemVoucherErrorParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogRedeemVoucherOkEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogRedeemVoucherOkEvent.ts deleted file mode 100644 index b97bc8a0..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogRedeemVoucherOkEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogRedeemVoucherOkParser } from '../../parser/catalog/CatalogRedeemVoucherOkParser'; - -export class CatalogRedeemVoucherOkEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogRedeemVoucherOkParser); - } - - public getParser(): CatalogRedeemVoucherOkParser - { - return this.parser as CatalogRedeemVoucherOkParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogSearchEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogSearchEvent.ts deleted file mode 100644 index 0e230478..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogSearchEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogSearchParser } from '../../parser/catalog/CatalogSearchParser'; - -export class CatalogSearchEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogSearchParser); - } - - public getParser(): CatalogSearchParser - { - return this.parser as CatalogSearchParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogSoldOutEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogSoldOutEvent.ts deleted file mode 100644 index 96ea0457..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogSoldOutEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogSoldOutParser } from '../../parser/catalog/CatalogSoldOutParser'; - -export class CatalogSoldOutEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogSoldOutParser); - } - - public getParser(): CatalogSoldOutParser - { - return this.parser as CatalogSoldOutParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/CatalogUpdatedEvent.ts b/src/nitro/communication/messages/incoming/catalog/CatalogUpdatedEvent.ts deleted file mode 100644 index 3ee3503b..00000000 --- a/src/nitro/communication/messages/incoming/catalog/CatalogUpdatedEvent.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { CatalogUpdatedParser } from '../../parser/catalog/CatalogUpdatedParser'; - -export class CatalogUpdatedEvent extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, CatalogUpdatedParser); - } - - public getParser(): CatalogUpdatedParser - { - return this.parser as CatalogUpdatedParser; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/incoming/catalog/ClubGiftData.ts b/src/nitro/communication/messages/incoming/catalog/ClubGiftData.ts new file mode 100644 index 00000000..56be33d9 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/ClubGiftData.ts @@ -0,0 +1,37 @@ +import { IMessageDataWrapper } from '../../../../../core'; + +export class ClubGiftData +{ + private _offerId: number; + private _isVip: boolean; + private _isSelectable: boolean; + private _daysRequired: number; + + constructor(wrapper: IMessageDataWrapper) + { + this._offerId = wrapper.readInt(); + this._isVip = wrapper.readBoolean(); + this._daysRequired = wrapper.readInt(); + this._isSelectable = wrapper.readBoolean(); + } + + public get offerId(): number + { + return this._offerId; + } + + public get isVip(): boolean + { + return this._isVip; + } + + public get isSelectable(): boolean + { + return this._isSelectable; + } + + public get daysRequired(): number + { + return this._daysRequired; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/ClubGiftInfoEvent.ts b/src/nitro/communication/messages/incoming/catalog/ClubGiftInfoEvent.ts new file mode 100644 index 00000000..c6ead062 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/ClubGiftInfoEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { ClubGiftInfoParser } from '../../parser'; + +export class ClubGiftInfoEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, ClubGiftInfoParser); + } + + public getParser(): ClubGiftInfoParser + { + return this.parser as ClubGiftInfoParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/ClubGiftSelectedEvent.ts b/src/nitro/communication/messages/incoming/catalog/ClubGiftSelectedEvent.ts new file mode 100644 index 00000000..6de71260 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/ClubGiftSelectedEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { ClubGiftInfoParser } from '../../parser'; + +export class ClubGiftSelectedEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, ClubGiftInfoParser); + } + + public getParser(): ClubGiftInfoParser + { + return this.parser as ClubGiftInfoParser; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogClubOfferData.ts b/src/nitro/communication/messages/incoming/catalog/ClubOfferData.ts similarity index 72% rename from src/nitro/communication/messages/parser/catalog/utils/CatalogClubOfferData.ts rename to src/nitro/communication/messages/incoming/catalog/ClubOfferData.ts index 0d0c91a6..242827a3 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogClubOfferData.ts +++ b/src/nitro/communication/messages/incoming/catalog/ClubOfferData.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; -export class CatalogClubOfferData +export class ClubOfferData { private _offerId: number; private _productCode: string; @@ -20,33 +20,6 @@ export class CatalogClubOfferData { if(!wrapper) throw new Error('invalid_wrapper'); - this.flush(); - this.parse(wrapper); - } - - public flush(): boolean - { - this._offerId = -1; - this._productCode = null; - this._priceCredits = 0; - this._priceActivityPoints = 0; - this._priceActivityPointsType = 0; - this._vip = false; - this._months = 0; - this._extraDays = 0; - this._daysLeftAfterPurchase = 0; - this._year = 0; - this._month = 0; - this._day = 0; - this._giftable = false; - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - this._offerId = wrapper.readInt(); this._productCode = wrapper.readString(); @@ -63,8 +36,6 @@ export class CatalogClubOfferData this._year = wrapper.readInt(); this._month = wrapper.readInt(); this._day = wrapper.readInt(); - - return true; } public get offerId(): number @@ -131,4 +102,4 @@ export class CatalogClubOfferData { return this._giftable; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/catalog/ClubOfferExtendedData.ts b/src/nitro/communication/messages/incoming/catalog/ClubOfferExtendedData.ts new file mode 100644 index 00000000..94bf6bf8 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/ClubOfferExtendedData.ts @@ -0,0 +1,50 @@ +import { IMessageDataWrapper } from '../../../../../core'; +import { ClubOfferData } from './ClubOfferData'; + +export class ClubOfferExtendedData extends ClubOfferData +{ + private _Str_16193: number; + private _Str_22071: number; + private _Str_21178: number; + private _Str_21024: number; + + constructor(wrapper: IMessageDataWrapper) + { + super(wrapper); + + this._Str_16193 = wrapper.readInt(); + this._Str_22071 = wrapper.readInt(); + this._Str_21178 = wrapper.readInt(); + this._Str_21024 = wrapper.readInt(); + } + + public get _Str_23477(): number + { + return this._Str_16193 * this.months; + } + + public get _Str_21585(): number + { + return this._Str_22071 * this.months; + } + + public get _Str_22469(): number + { + return this._Str_21178; + } + + public get _Str_24050(): number + { + return (this._Str_16193 * this.months) - this.priceCredits; + } + + public get _Str_22280(): number + { + return (this._Str_21585 * this.months) - this.priceActivityPoints; + } + + public get _Str_21229(): number + { + return this._Str_21024; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/DirectSMSClubBuyAvailableMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/DirectSMSClubBuyAvailableMessageEvent.ts new file mode 100644 index 00000000..545a3780 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/DirectSMSClubBuyAvailableMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { DirectSMSClubBuyAvailableMessageParser } from '../../parser'; + +export class DirectSMSClubBuyAvailableMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, DirectSMSClubBuyAvailableMessageParser); + } + + public getParser(): DirectSMSClubBuyAvailableMessageParser + { + return this.parser as DirectSMSClubBuyAvailableMessageParser; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogFrontPageItem.ts b/src/nitro/communication/messages/incoming/catalog/FrontPageItem.ts similarity index 87% rename from src/nitro/communication/messages/parser/catalog/utils/CatalogFrontPageItem.ts rename to src/nitro/communication/messages/incoming/catalog/FrontPageItem.ts index bc601103..845b1f6c 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogFrontPageItem.ts +++ b/src/nitro/communication/messages/incoming/catalog/FrontPageItem.ts @@ -1,7 +1,7 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { Nitro } from '../../../../../Nitro'; +import { IMessageDataWrapper } from '../../../../../core'; +import { Nitro } from '../../../../Nitro'; -export class CatalogFrontPageItem +export class FrontPageItem { public static ITEM_CATALOGUE_PAGE: number = 0; public static ITEM_PRODUCT_OFFER: number = 1; @@ -49,13 +49,13 @@ export class CatalogFrontPageItem switch(this._type) { - case CatalogFrontPageItem.ITEM_CATALOGUE_PAGE: + case FrontPageItem.ITEM_CATALOGUE_PAGE: this._catalogPageLocation = wrapper.readString(); break; - case CatalogFrontPageItem.ITEM_PRODUCT_OFFER: + case FrontPageItem.ITEM_PRODUCT_OFFER: this._productOfferId = wrapper.readInt(); break; - case CatalogFrontPageItem.ITEM_IAP: + case FrontPageItem.ITEM_IAP: this._productCode = wrapper.readString(); break; } diff --git a/src/nitro/communication/messages/incoming/catalog/GiftReceiverNotFoundEvent.ts b/src/nitro/communication/messages/incoming/catalog/GiftReceiverNotFoundEvent.ts new file mode 100644 index 00000000..caa4b8b6 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/GiftReceiverNotFoundEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { GiftReceiverNotFoundParser } from '../../parser'; + +export class GiftReceiverNotFoundEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, GiftReceiverNotFoundParser); + } + + public getParser(): GiftReceiverNotFoundParser + { + return this.parser as GiftReceiverNotFoundParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/GiftWrappingConfigurationEvent.ts b/src/nitro/communication/messages/incoming/catalog/GiftWrappingConfigurationEvent.ts new file mode 100644 index 00000000..336185c2 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/GiftWrappingConfigurationEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { GiftWrappingConfigurationParser } from '../../parser'; + +export class GiftWrappingConfigurationEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, GiftWrappingConfigurationParser); + } + + public getParser(): GiftWrappingConfigurationParser + { + return this.parser as GiftWrappingConfigurationParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/HabboClubExtendOfferMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/HabboClubExtendOfferMessageEvent.ts new file mode 100644 index 00000000..d0c1f2b6 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/HabboClubExtendOfferMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { HabboClubExtendOfferMessageParser } from '../../parser'; + +export class HabboClubExtendOfferMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, HabboClubExtendOfferMessageParser); + } + + public getParser(): HabboClubExtendOfferMessageParser + { + return this.parser as HabboClubExtendOfferMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/HabboClubOffersMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/HabboClubOffersMessageEvent.ts new file mode 100644 index 00000000..0737abfe --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/HabboClubOffersMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { HabboClubOffersMessageParser } from '../../parser'; + +export class HabboClubOffersMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, HabboClubOffersMessageParser); + } + + public getParser(): HabboClubOffersMessageParser + { + return this.parser as HabboClubOffersMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/IsOfferGiftableMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/IsOfferGiftableMessageEvent.ts new file mode 100644 index 00000000..50f95e45 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/IsOfferGiftableMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { IsOfferGiftableMessageParser } from '../../parser'; + +export class IsOfferGiftableMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, IsOfferGiftableMessageParser); + } + + public getParser(): IsOfferGiftableMessageParser + { + return this.parser as IsOfferGiftableMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/LimitedEditionSoldOutEvent.ts b/src/nitro/communication/messages/incoming/catalog/LimitedEditionSoldOutEvent.ts new file mode 100644 index 00000000..73b5d7b7 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/LimitedEditionSoldOutEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { LimitedEditionSoldOutParser } from '../../parser'; + +export class LimitedEditionSoldOutEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, LimitedEditionSoldOutParser); + } + + public getParser(): LimitedEditionSoldOutParser + { + return this.parser as LimitedEditionSoldOutParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/LimitedOfferAppearingNextMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/LimitedOfferAppearingNextMessageEvent.ts new file mode 100644 index 00000000..d105e51a --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/LimitedOfferAppearingNextMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { LimitedOfferAppearingNextMessageParser } from '../../parser'; + +export class LimitedOfferAppearingNextMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, LimitedOfferAppearingNextMessageParser); + } + + public getParser(): LimitedOfferAppearingNextMessageParser + { + return this.parser as LimitedOfferAppearingNextMessageParser; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogPageData.ts b/src/nitro/communication/messages/incoming/catalog/NodeData.ts similarity index 83% rename from src/nitro/communication/messages/parser/catalog/utils/CatalogPageData.ts rename to src/nitro/communication/messages/incoming/catalog/NodeData.ts index 91150574..36fc634c 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogPageData.ts +++ b/src/nitro/communication/messages/incoming/catalog/NodeData.ts @@ -1,14 +1,13 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { ICatalogPageData } from './ICatalogPageData'; +import { IMessageDataWrapper } from '../../../../../core'; -export class CatalogPageData implements ICatalogPageData +export class NodeData { private _visible: boolean; private _icon: number; private _pageId: number; private _pageName: string; private _localization: string; - private _children: CatalogPageData[]; + private _children: NodeData[]; private _offerIds: number[]; constructor(wrapper: IMessageDataWrapper) @@ -55,7 +54,7 @@ export class CatalogPageData implements ICatalogPageData while(totalChildren > 0) { - this._children.push(new CatalogPageData(wrapper)); + this._children.push(new NodeData(wrapper)); totalChildren--; } @@ -88,7 +87,7 @@ export class CatalogPageData implements ICatalogPageData return this._localization; } - public get children(): CatalogPageData[] + public get children(): NodeData[] { return this._children; } diff --git a/src/nitro/communication/messages/incoming/catalog/NotEnoughBalanceMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/NotEnoughBalanceMessageEvent.ts new file mode 100644 index 00000000..08016932 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/NotEnoughBalanceMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { NotEnoughBalanceMessageParser } from '../../parser'; + +export class NotEnoughBalanceMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, NotEnoughBalanceMessageParser); + } + + public getParser(): NotEnoughBalanceMessageParser + { + return this.parser as NotEnoughBalanceMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/ProductOfferEvent.ts b/src/nitro/communication/messages/incoming/catalog/ProductOfferEvent.ts new file mode 100644 index 00000000..f30873d5 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/ProductOfferEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { ProductOfferMessageParser } from '../../parser'; + +export class ProductOfferEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, ProductOfferMessageParser); + } + + public getParser(): ProductOfferMessageParser + { + return this.parser as ProductOfferMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/PurchaseErrorMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/PurchaseErrorMessageEvent.ts new file mode 100644 index 00000000..df6c9f9d --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/PurchaseErrorMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { PurchaseErrorMessageParser } from '../../parser'; + +export class PurchaseErrorMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, PurchaseErrorMessageParser); + } + + public getParser(): PurchaseErrorMessageParser + { + return this.parser as PurchaseErrorMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/PurchaseNotAllowedMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/PurchaseNotAllowedMessageEvent.ts new file mode 100644 index 00000000..df7321ab --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/PurchaseNotAllowedMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { PurchaseNotAllowedMessageParser } from '../../parser'; + +export class PurchaseNotAllowedMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, PurchaseNotAllowedMessageParser); + } + + public getParser(): PurchaseNotAllowedMessageParser + { + return this.parser as PurchaseNotAllowedMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/PurchaseOKMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/PurchaseOKMessageEvent.ts new file mode 100644 index 00000000..31b6fb87 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/PurchaseOKMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { PurchaseOKMessageParser } from '../../parser'; + +export class PurchaseOKMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, PurchaseOKMessageParser); + } + + public getParser(): PurchaseOKMessageParser + { + return this.parser as PurchaseOKMessageParser; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogPurchaseData.ts b/src/nitro/communication/messages/incoming/catalog/PurchaseOKMessageOfferData.ts similarity index 87% rename from src/nitro/communication/messages/parser/catalog/utils/CatalogPurchaseData.ts rename to src/nitro/communication/messages/incoming/catalog/PurchaseOKMessageOfferData.ts index f611e7ab..6f6a72cf 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogPurchaseData.ts +++ b/src/nitro/communication/messages/incoming/catalog/PurchaseOKMessageOfferData.ts @@ -1,7 +1,7 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { CatalogProductOfferData } from './CatalogProductOfferData'; +import { IMessageDataWrapper } from '../../../../../core'; +import { CatalogPageMessageProductData } from './CatalogPageMessageProductData'; -export class CatalogPurchaseData +export class PurchaseOKMessageOfferData { private _offerId: number; private _localizationId: string; @@ -12,7 +12,7 @@ export class CatalogPurchaseData private _clubLevel: number; private _giftable: boolean; private _bundlePurchaseAllowed: boolean; - private _products: CatalogProductOfferData[]; + private _products: CatalogPageMessageProductData[]; constructor(wrapper: IMessageDataWrapper) { @@ -54,7 +54,7 @@ export class CatalogPurchaseData while(totalProducts > 0) { - this._products.push(new CatalogProductOfferData(wrapper)); + this._products.push(new CatalogPageMessageProductData(wrapper)); totalProducts--; } @@ -110,8 +110,8 @@ export class CatalogPurchaseData return this._bundlePurchaseAllowed; } - public get products(): CatalogProductOfferData[] + public get products(): CatalogPageMessageProductData[] { return this._products; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/catalog/RoomAdPurchaseInfoEvent.ts b/src/nitro/communication/messages/incoming/catalog/RoomAdPurchaseInfoEvent.ts new file mode 100644 index 00000000..31b15e61 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/RoomAdPurchaseInfoEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { RoomAdPurchaseInfoEventParser } from '../../parser'; + +export class RoomAdPurchaseInfoEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, RoomAdPurchaseInfoEventParser); + } + + public getParser(): RoomAdPurchaseInfoEventParser + { + return this.parser as RoomAdPurchaseInfoEventParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/SeasonalCalendarDailyOfferMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/SeasonalCalendarDailyOfferMessageEvent.ts new file mode 100644 index 00000000..64819a01 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/SeasonalCalendarDailyOfferMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { SeasonalCalendarDailyOfferMessageParser } from '../../parser'; + +export class SeasonalCalendarDailyOfferMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, SeasonalCalendarDailyOfferMessageParser); + } + + public getParser(): SeasonalCalendarDailyOfferMessageParser + { + return this.parser as SeasonalCalendarDailyOfferMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/SellablePetPalettesEvent.ts b/src/nitro/communication/messages/incoming/catalog/SellablePetPalettesMessageEvent.ts similarity index 51% rename from src/nitro/communication/messages/incoming/catalog/SellablePetPalettesEvent.ts rename to src/nitro/communication/messages/incoming/catalog/SellablePetPalettesMessageEvent.ts index 83ad8337..26b25ad9 100644 --- a/src/nitro/communication/messages/incoming/catalog/SellablePetPalettesEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/SellablePetPalettesMessageEvent.ts @@ -1,8 +1,7 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { SellablePetPalettesParser } from '../../parser'; -export class SellablePetPalettesEvent extends MessageEvent implements IMessageEvent +export class SellablePetPalettesMessageEvent extends MessageEvent implements IMessageEvent { constructor(callBack: Function) { diff --git a/src/nitro/communication/messages/incoming/catalog/TargetedOfferData.ts b/src/nitro/communication/messages/incoming/catalog/TargetedOfferData.ts new file mode 100644 index 00000000..d613008c --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/TargetedOfferData.ts @@ -0,0 +1,154 @@ +import { IMessageDataWrapper } from '../../../../../core'; +import { Nitro } from '../../../../Nitro'; + +export class TargetedOfferData +{ + protected _id: number; + protected _identifier: string; + protected _type: number; + protected _title: string; + protected _Str_1858: string; + protected _Str_2991: string; + protected _Str_18782: string; + protected _productCode: string; + protected _Str_9772: number; + protected _expirationTime: number; + protected _Str_3594: number; + protected _Str_3539: number; + protected _Str_2956: number; + protected _Str_11962: string[]; + protected _Str_9163: number; + + constructor(wrapper: IMessageDataWrapper) + { + this._Str_9163 = wrapper.readInt(); + this._id = wrapper.readInt(); + this._identifier = wrapper.readString(); + this._productCode = wrapper.readString(); + this._Str_3594 = wrapper.readInt(); + this._Str_3539 = wrapper.readInt(); + this._Str_2956 = wrapper.readInt(); + this._Str_9772 = wrapper.readInt(); + + const time = wrapper.readInt(); + this._expirationTime = ((time > 0) ? ((time * 1000) + Nitro.instance.time) : 0); + + this._title = wrapper.readString(); + this._Str_1858 = wrapper.readString(); + this._Str_2991 = wrapper.readString(); + this._Str_18782 = wrapper.readString(); + this._type = wrapper.readInt(); + this._Str_11962 = []; + + let count = wrapper.readInt(); + + while(count > 0) + { + this._Str_11962.push(wrapper.readString()); + + count--; + } + return this; + } + + public populate(offerData: TargetedOfferData) + { + if(!offerData) return; + + this._id = offerData.id; + this._identifier = offerData.identifier; + this._type = offerData.type; + this._title = offerData.title; + this._Str_1858 = offerData.description; + this._Str_2991 = offerData.imageUrl; + this._Str_18782 = offerData._Str_13452; + this._productCode = offerData.productCode; + this._Str_9772 = offerData.purchaseLimit; + this._expirationTime = offerData.expirationTime; + this._Str_3594 = offerData.priceInCredits; + this._Str_3539 = offerData.priceInActivityPoints; + this._Str_2956 = offerData.activityPointType; + this._Str_11962 = offerData._Str_24978; + this._Str_9163 = offerData._Str_11180; + } + + public _Str_24338(k: number): void + { + this._Str_9772 = (this._Str_9772 - k); + } + + public get id(): number + { + return this._id; + } + + public get identifier(): string + { + return this._identifier; + } + + public get type(): number + { + return this._type; + } + + public get title(): string + { + return this._title; + } + + public get description(): string + { + return this._Str_1858; + } + + public get imageUrl(): string + { + return this._Str_2991; + } + + public get _Str_13452(): string + { + return this._Str_18782; + } + + public get productCode(): string + { + return this._productCode; + } + + public get purchaseLimit(): number + { + return this._Str_9772; + } + + public get expirationTime(): number + { + return this._expirationTime; + } + + public get priceInCredits(): number + { + return this._Str_3594; + } + + public get priceInActivityPoints(): number + { + return this._Str_3539; + } + + public get activityPointType(): number + { + return this._Str_2956; + } + + public get _Str_24978(): string[] + { + return this._Str_11962; + } + + public get _Str_11180(): number + { + return this._Str_9163; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/TargetedOfferEvent.ts b/src/nitro/communication/messages/incoming/catalog/TargetedOfferEvent.ts new file mode 100644 index 00000000..3c545ced --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/TargetedOfferEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { TargetedOfferParser } from '../../parser'; + +export class TargetedOfferEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, TargetedOfferParser); + } + + public getParser(): TargetedOfferParser + { + return this.parser as TargetedOfferParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/TargetedOfferNotFoundEvent.ts b/src/nitro/communication/messages/incoming/catalog/TargetedOfferNotFoundEvent.ts new file mode 100644 index 00000000..b2c0b367 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/TargetedOfferNotFoundEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { TargetedOfferNotFoundParser } from '../../parser'; + +export class TargetedOfferNotFoundEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, TargetedOfferNotFoundParser); + } + + public getParser(): TargetedOfferNotFoundParser + { + return this.parser as TargetedOfferNotFoundParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/VoucherRedeemErrorMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/VoucherRedeemErrorMessageEvent.ts new file mode 100644 index 00000000..f3d1d1c5 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/VoucherRedeemErrorMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { VoucherRedeemErrorMessageParser } from '../../parser'; + +export class VoucherRedeemErrorMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, VoucherRedeemErrorMessageParser); + } + + public getParser(): VoucherRedeemErrorMessageParser + { + return this.parser as VoucherRedeemErrorMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/VoucherRedeemOkMessageEvent.ts b/src/nitro/communication/messages/incoming/catalog/VoucherRedeemOkMessageEvent.ts new file mode 100644 index 00000000..a15f0a03 --- /dev/null +++ b/src/nitro/communication/messages/incoming/catalog/VoucherRedeemOkMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { VoucherRedeemOkMessageParser } from '../../parser/catalog/VoucherRedeemOkMessageParser'; + +export class VoucherRedeemOkMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, VoucherRedeemOkMessageParser); + } + + public getParser(): VoucherRedeemOkMessageParser + { + return this.parser as VoucherRedeemOkMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/catalog/index.ts b/src/nitro/communication/messages/incoming/catalog/index.ts index 550b9d0f..ad236d11 100644 --- a/src/nitro/communication/messages/incoming/catalog/index.ts +++ b/src/nitro/communication/messages/incoming/catalog/index.ts @@ -1,22 +1,43 @@ export * from './BonusRareInfoMessageEvent'; -export * from './CatalogApproveNameResultEvent'; -export * from './CatalogClubEvent'; -export * from './CatalogClubGiftsEvent'; -export * from './CatalogGiftConfigurationEvent'; -export * from './CatalogGiftUsernameUnavailableEvent'; -export * from './CatalogGroupsEvent'; -export * from './CatalogModeEvent'; -export * from './CatalogPageEvent'; -export * from './CatalogPagesEvent'; -export * from './CatalogPurchaseEvent'; -export * from './CatalogPurchaseFailedEvent'; -export * from './CatalogPurchaseUnavailableEvent'; -export * from './CatalogRedeemVoucherErrorEvent'; -export * from './CatalogRedeemVoucherOkEvent'; -export * from './CatalogSearchEvent'; -export * from './CatalogSoldOutEvent'; -export * from './CatalogUpdatedEvent'; +export * from './BuildersClubFurniCountMessageEvent'; +export * from './BuildersClubSubscriptionStatusMessageEvent'; +export * from './BundleDiscountRuleset'; +export * from './BundleDiscountRulesetMessageEvent'; +export * from './CatalogLocalizationData'; +export * from './CatalogPageExpirationEvent'; +export * from './CatalogPageMessageEvent'; +export * from './CatalogPageMessageOfferData'; +export * from './CatalogPageMessageProductData'; +export * from './CatalogPagesListEvent'; +export * from './CatalogPageWithEarliestExpiryMessageEvent'; +export * from './CatalogPublishedMessageEvent'; +export * from './ClubGiftData'; +export * from './ClubGiftInfoEvent'; +export * from './ClubGiftSelectedEvent'; +export * from './ClubOfferData'; +export * from './ClubOfferExtendedData'; +export * from './DirectSMSClubBuyAvailableMessageEvent'; +export * from './FrontPageItem'; +export * from './GiftReceiverNotFoundEvent'; +export * from './GiftWrappingConfigurationEvent'; +export * from './HabboClubExtendOfferMessageEvent'; +export * from './HabboClubOffersMessageEvent'; +export * from './IsOfferGiftableMessageEvent'; +export * from './LimitedEditionSoldOutEvent'; +export * from './LimitedOfferAppearingNextMessageEvent'; export * from './marketplace'; -export * from './MarketplaceConfigEvent'; -export * from './MarketplaceItemStatsEvent'; -export * from './SellablePetPalettesEvent'; +export * from './NodeData'; +export * from './NotEnoughBalanceMessageEvent'; +export * from './ProductOfferEvent'; +export * from './PurchaseErrorMessageEvent'; +export * from './PurchaseNotAllowedMessageEvent'; +export * from './PurchaseOKMessageEvent'; +export * from './PurchaseOKMessageOfferData'; +export * from './RoomAdPurchaseInfoEvent'; +export * from './SeasonalCalendarDailyOfferMessageEvent'; +export * from './SellablePetPalettesMessageEvent'; +export * from './TargetedOfferData'; +export * from './TargetedOfferEvent'; +export * from './TargetedOfferNotFoundEvent'; +export * from './VoucherRedeemErrorMessageEvent'; +export * from './VoucherRedeemOkMessageEvent'; diff --git a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceBuyOfferResultEvent.ts b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceBuyOfferResultEvent.ts index 1d3531be..9419a1e6 100644 --- a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceBuyOfferResultEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceBuyOfferResultEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { MarketplaceBuyOfferResultParser } from '../../../parser/catalog/marketplace/MarketplaceBuyOfferResultParser'; export class MarketplaceBuyOfferResultEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceCancelItemEvent.ts b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceCancelItemEvent.ts index 85347b3b..a92dca21 100644 --- a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceCancelItemEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceCancelItemEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { MarketplaceCancelItemParser } from '../../../parser/catalog/marketplace/MarketplaceCancelItemParser'; export class MarketplaceCancelItemEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/catalog/MarketplaceConfigEvent.ts b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceConfigEvent.ts similarity index 68% rename from src/nitro/communication/messages/incoming/catalog/MarketplaceConfigEvent.ts rename to src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceConfigEvent.ts index 8f695f39..2ba4f3de 100644 --- a/src/nitro/communication/messages/incoming/catalog/MarketplaceConfigEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceConfigEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MarketplaceConfigParser } from '../../parser/catalog/MarketplaceConfigParser'; diff --git a/src/nitro/communication/messages/incoming/catalog/MarketplaceItemStatsEvent.ts b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceItemStatsEvent.ts similarity index 53% rename from src/nitro/communication/messages/incoming/catalog/MarketplaceItemStatsEvent.ts rename to src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceItemStatsEvent.ts index 55637b81..0bb5f501 100644 --- a/src/nitro/communication/messages/incoming/catalog/MarketplaceItemStatsEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceItemStatsEvent.ts @@ -1,6 +1,5 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { MarketplaceItemStatsParser } from '../../parser/catalog/MarketplaceItemStatsParser'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; +import { MarketplaceItemStatsParser } from '../../../parser'; export class MarketplaceItemStatsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOffersReceivedEvent.ts b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOffersReceivedEvent.ts index 4228ce6c..1b8f2dbc 100644 --- a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOffersReceivedEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOffersReceivedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { MarketplaceOffersReceivedParser } from '../../../parser/catalog/marketplace/MarketplaceOffersReceivedParser'; diff --git a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOwnItemsEvent.ts b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOwnItemsEvent.ts index 6d069acf..96c1d612 100644 --- a/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOwnItemsEvent.ts +++ b/src/nitro/communication/messages/incoming/catalog/marketplace/MarketplaceOwnItemsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { MarketplaceOwnItemsParser } from '../../../parser/catalog/marketplace/MarketplaceOwnItemsParser'; export class MarketplaceOwnItemsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/client/ClientPingEvent.ts b/src/nitro/communication/messages/incoming/client/ClientPingEvent.ts index be283ebd..8098c623 100644 --- a/src/nitro/communication/messages/incoming/client/ClientPingEvent.ts +++ b/src/nitro/communication/messages/incoming/client/ClientPingEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ClientPingParser } from '../../parser/client/ClientPingParser'; export class ClientPingEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class ClientPingEvent extends MessageEvent implements IMessageEvent { return this.parser as ClientPingParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/crafting/CraftableProductsEvent.ts b/src/nitro/communication/messages/incoming/crafting/CraftableProductsEvent.ts index 9f507f20..d6548c9d 100644 --- a/src/nitro/communication/messages/incoming/crafting/CraftableProductsEvent.ts +++ b/src/nitro/communication/messages/incoming/crafting/CraftableProductsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CraftableProductsMessageParser } from '../../parser/crafting/CraftableProductsMessageParser'; export class CraftableProductsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/crafting/CraftingRecipeEvent.ts b/src/nitro/communication/messages/incoming/crafting/CraftingRecipeEvent.ts index 4f75d095..bd5193cf 100644 --- a/src/nitro/communication/messages/incoming/crafting/CraftingRecipeEvent.ts +++ b/src/nitro/communication/messages/incoming/crafting/CraftingRecipeEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CraftingRecipeMessageParser } from '../../parser/crafting/CraftingRecipeMessageParser'; export class CraftingRecipeEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/crafting/CraftingRecipesAvailableEvent.ts b/src/nitro/communication/messages/incoming/crafting/CraftingRecipesAvailableEvent.ts index ec6182fd..30bc2c33 100644 --- a/src/nitro/communication/messages/incoming/crafting/CraftingRecipesAvailableEvent.ts +++ b/src/nitro/communication/messages/incoming/crafting/CraftingRecipesAvailableEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CraftingRecipesAvailableMessageParser } from '../../parser/crafting/CraftingRecipesAvailableMessageParser'; export class CraftingRecipesAvailableEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/crafting/CraftingResultEvent.ts b/src/nitro/communication/messages/incoming/crafting/CraftingResultEvent.ts index f3e0d30e..946bdef2 100644 --- a/src/nitro/communication/messages/incoming/crafting/CraftingResultEvent.ts +++ b/src/nitro/communication/messages/incoming/crafting/CraftingResultEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CraftingResultMessageParser } from '../../parser/crafting/CraftingResultMessageParser'; export class CraftingResultEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/desktop/DesktopViewEvent.ts b/src/nitro/communication/messages/incoming/desktop/DesktopViewEvent.ts index 869ee120..9548b0b4 100644 --- a/src/nitro/communication/messages/incoming/desktop/DesktopViewEvent.ts +++ b/src/nitro/communication/messages/incoming/desktop/DesktopViewEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { DesktopViewParser } from '../../parser/desktop/DesktopViewParser'; export class DesktopViewEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class DesktopViewEvent extends MessageEvent implements IMessageEvent { return this.parser as DesktopViewParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/AcceptFriendFailureData.ts b/src/nitro/communication/messages/incoming/friendlist/AcceptFriendFailureData.ts index c83053e1..f127ec98 100644 --- a/src/nitro/communication/messages/incoming/friendlist/AcceptFriendFailureData.ts +++ b/src/nitro/communication/messages/incoming/friendlist/AcceptFriendFailureData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class AcceptFriendFailerData { @@ -22,4 +22,4 @@ export class AcceptFriendFailerData { return this._errorCode; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/AcceptFriendResultEvent.ts b/src/nitro/communication/messages/incoming/friendlist/AcceptFriendResultEvent.ts index e9e28715..78d1dca6 100644 --- a/src/nitro/communication/messages/incoming/friendlist/AcceptFriendResultEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/AcceptFriendResultEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { AcceptFriendResultParser } from '../../parser/friendlist/AcceptFriendResultParser'; export class AcceptFriendResultEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class AcceptFriendResultEvent extends MessageEvent implements IMessageEve { return this.parser as AcceptFriendResultParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FindFriendsProcessResultEvent.ts b/src/nitro/communication/messages/incoming/friendlist/FindFriendsProcessResultEvent.ts index c326b76d..5eb7c6b1 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FindFriendsProcessResultEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FindFriendsProcessResultEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { FindFriendsProcessResultParser } from '../../parser/friendlist/FindFriendsProcessResultParser'; export class FindFriendsProcessResultEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FindFriendsProcessResultEvent extends MessageEvent implements IMess { return this.parser as FindFriendsProcessResultParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FollowFriendFailedEvent.ts b/src/nitro/communication/messages/incoming/friendlist/FollowFriendFailedEvent.ts index 0cf9733a..e7996a22 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FollowFriendFailedEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FollowFriendFailedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { DesktopViewParser } from '../../parser/desktop/DesktopViewParser'; import { FollowFriendFailedParser } from '../../parser/friendlist/FollowFriendFailedParser'; @@ -14,4 +13,4 @@ export class FollowFriendFailedEvent extends MessageEvent implements IMessageEve { return this.parser as FollowFriendFailedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FriendCategoryData.ts b/src/nitro/communication/messages/incoming/friendlist/FriendCategoryData.ts index acd36270..3e88596a 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FriendCategoryData.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FriendCategoryData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class FriendCategoryData { @@ -22,4 +22,4 @@ export class FriendCategoryData { return this._name; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FriendListFragmentEvent.ts b/src/nitro/communication/messages/incoming/friendlist/FriendListFragmentEvent.ts index 3889078c..18f10e56 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FriendListFragmentEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FriendListFragmentEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { FriendListFragmentParser } from '../../parser/friendlist/FriendListFragmentMessageParser'; export class FriendListFragmentEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FriendListFragmentEvent extends MessageEvent implements IMessageEve { return this.parser as FriendListFragmentParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FriendListUpdateEvent.ts b/src/nitro/communication/messages/incoming/friendlist/FriendListUpdateEvent.ts index 74caa2ff..3aa60ef1 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FriendListUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FriendListUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { FriendListUpdateParser } from '../../parser/friendlist/FriendListUpdateParser'; export class FriendListUpdateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FriendListUpdateEvent extends MessageEvent implements IMessageEvent { return this.parser as FriendListUpdateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FriendNotificationEvent.ts b/src/nitro/communication/messages/incoming/friendlist/FriendNotificationEvent.ts index 8fd10195..f0d12dc1 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FriendNotificationEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FriendNotificationEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { DesktopViewParser } from '../../parser/desktop/DesktopViewParser'; import { FriendNotificationParser } from '../../parser/friendlist/FriendNotificationParser'; @@ -14,4 +13,4 @@ export class FriendNotificationEvent extends MessageEvent implements IMessageEve { return this.parser as FriendNotificationParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FriendParser.ts b/src/nitro/communication/messages/incoming/friendlist/FriendParser.ts index 11fb9bcd..87046464 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FriendParser.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FriendParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class FriendParser { @@ -106,4 +106,4 @@ export class FriendParser { return this._relationshipStatus; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FriendRequestData.ts b/src/nitro/communication/messages/incoming/friendlist/FriendRequestData.ts index 96d5a734..b49879e2 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FriendRequestData.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FriendRequestData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class FriendRequestData { @@ -36,4 +36,4 @@ export class FriendRequestData { return this._figureString; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/FriendRequestsEvent.ts b/src/nitro/communication/messages/incoming/friendlist/FriendRequestsEvent.ts index cdd1349a..1ead2cb7 100644 --- a/src/nitro/communication/messages/incoming/friendlist/FriendRequestsEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/FriendRequestsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { FriendRequestsParser } from '../../parser/friendlist/FriendRequestsParser'; export class FriendRequestsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FriendRequestsEvent extends MessageEvent implements IMessageEvent { return this.parser as FriendRequestsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultData.ts b/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultData.ts index 823f6e14..544c84ce 100644 --- a/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultData.ts +++ b/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class HabboSearchResultData { diff --git a/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultEvent.ts b/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultEvent.ts index 41c1b840..f2c5417e 100644 --- a/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/HabboSearchResultEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { HabboSearchResultParser } from '../../parser/friendlist/HabboSearchResultParser'; export class HabboSearchResultEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class HabboSearchResultEvent extends MessageEvent implements IMessageEven { return this.parser as HabboSearchResultParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/InstantMessageErrorEvent.ts b/src/nitro/communication/messages/incoming/friendlist/InstantMessageErrorEvent.ts index 54991a69..94657396 100644 --- a/src/nitro/communication/messages/incoming/friendlist/InstantMessageErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/InstantMessageErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { InstantMessageErrorParser } from '../../parser/friendlist/InstantMessageErrorParser'; export class InstantMessageErrorEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class InstantMessageErrorEvent extends MessageEvent implements IMessageEv { return this.parser as InstantMessageErrorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/MessageErrorEvent.ts b/src/nitro/communication/messages/incoming/friendlist/MessageErrorEvent.ts index 2a2eb4db..baa9db50 100644 --- a/src/nitro/communication/messages/incoming/friendlist/MessageErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/MessageErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MessageErrorParser } from '../../parser/friendlist/MessageErrorParser'; export class MessageErrorEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class MessageErrorEvent extends MessageEvent implements IMessageEvent { return this.parser as MessageErrorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/MessengerInitEvent.ts b/src/nitro/communication/messages/incoming/friendlist/MessengerInitEvent.ts index 3b03026b..0be04488 100644 --- a/src/nitro/communication/messages/incoming/friendlist/MessengerInitEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/MessengerInitEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MessengerInitParser } from '../../parser/friendlist/MessengerInitParser'; export class MessengerInitEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class MessengerInitEvent extends MessageEvent implements IMessageEvent { return this.parser as MessengerInitParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/MiniMailNewMessageEvent.ts b/src/nitro/communication/messages/incoming/friendlist/MiniMailNewMessageEvent.ts index 64d40aa2..e80d6d0b 100644 --- a/src/nitro/communication/messages/incoming/friendlist/MiniMailNewMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/MiniMailNewMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MiniMailNewMessageParser } from '../../parser/friendlist/MiniMailNewMessageParser'; export class MiniMailNewMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class MiniMailNewMessageEvent extends MessageEvent implements IMessageEve { return this.parser as MiniMailNewMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/MiniMailUnreadCountEvent.ts b/src/nitro/communication/messages/incoming/friendlist/MiniMailUnreadCountEvent.ts index 36d1fcf6..b6060ef6 100644 --- a/src/nitro/communication/messages/incoming/friendlist/MiniMailUnreadCountEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/MiniMailUnreadCountEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MiniMailUnreadCountParser } from '../../parser/friendlist/MiniMailUnreadCountParser'; export class MiniMailUnreadCountEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class MiniMailUnreadCountEvent extends MessageEvent implements IMessageEv { return this.parser as MiniMailUnreadCountParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/NewConsoleMessageEvent.ts b/src/nitro/communication/messages/incoming/friendlist/NewConsoleMessageEvent.ts index 5878bc65..b2c86470 100644 --- a/src/nitro/communication/messages/incoming/friendlist/NewConsoleMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/NewConsoleMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NewConsoleMessageParser } from '../../parser/friendlist/NewConsoleMessageParser'; export class NewConsoleMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NewConsoleMessageEvent extends MessageEvent implements IMessageEven { return this.parser as NewConsoleMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/NewFriendRequestEvent.ts b/src/nitro/communication/messages/incoming/friendlist/NewFriendRequestEvent.ts index 9cb46a60..8616918e 100644 --- a/src/nitro/communication/messages/incoming/friendlist/NewFriendRequestEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/NewFriendRequestEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NewFriendRequestParser } from '../../parser/friendlist/NewFriendRequestMessageParser'; export class NewFriendRequestEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NewFriendRequestEvent extends MessageEvent implements IMessageEvent { return this.parser as NewFriendRequestParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/RoomInviteErrorEvent.ts b/src/nitro/communication/messages/incoming/friendlist/RoomInviteErrorEvent.ts index d3d9dde5..3b69e580 100644 --- a/src/nitro/communication/messages/incoming/friendlist/RoomInviteErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/RoomInviteErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { RoomInviteErrorParser } from '../../parser/friendlist/RoomInviteErrorParser'; export class RoomInviteErrorEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomInviteErrorEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomInviteErrorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/friendlist/RoomInviteEvent.ts b/src/nitro/communication/messages/incoming/friendlist/RoomInviteEvent.ts index 859842fe..057dcabb 100644 --- a/src/nitro/communication/messages/incoming/friendlist/RoomInviteEvent.ts +++ b/src/nitro/communication/messages/incoming/friendlist/RoomInviteEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { RoomInviteParser } from '../../parser/friendlist/RoomInviteMessageParser'; export class RoomInviteEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomInviteEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomInviteParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/game/LoadGameUrlEvent.ts b/src/nitro/communication/messages/incoming/game/LoadGameUrlEvent.ts index 85226e21..e62ca45f 100644 --- a/src/nitro/communication/messages/incoming/game/LoadGameUrlEvent.ts +++ b/src/nitro/communication/messages/incoming/game/LoadGameUrlEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { LoadGameUrlParser } from '../../parser/game/LoadGameUrlParser'; export class LoadGameUrlEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class LoadGameUrlEvent extends MessageEvent implements IMessageEvent { return this.parser as LoadGameUrlParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/generic/GenericErrorEvent.ts b/src/nitro/communication/messages/incoming/generic/GenericErrorEvent.ts index 7e13fc1e..ee5d3d19 100644 --- a/src/nitro/communication/messages/incoming/generic/GenericErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/generic/GenericErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { GenericErrorParser } from '../../parser/generic/GenericErrorParser'; export class GenericErrorEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/group/GroupBadgePartsEvent.ts b/src/nitro/communication/messages/incoming/group/GroupBadgePartsEvent.ts index d9c6ca97..4c75646c 100644 --- a/src/nitro/communication/messages/incoming/group/GroupBadgePartsEvent.ts +++ b/src/nitro/communication/messages/incoming/group/GroupBadgePartsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { GroupBadgePartsParser } from '../../parser/group/GroupBadgePartsParser'; export class GroupBadgePartsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/group/GroupBuyDataEvent.ts b/src/nitro/communication/messages/incoming/group/GroupBuyDataEvent.ts index 23a8e187..151f33e7 100644 --- a/src/nitro/communication/messages/incoming/group/GroupBuyDataEvent.ts +++ b/src/nitro/communication/messages/incoming/group/GroupBuyDataEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { GroupBuyDataParser } from '../../parser/group/GroupBuyDataParser'; export class GroupBuyDataEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/group/GroupConfirmMemberRemoveEvent.ts b/src/nitro/communication/messages/incoming/group/GroupConfirmMemberRemoveEvent.ts index 3550173c..b4e8b1d1 100644 --- a/src/nitro/communication/messages/incoming/group/GroupConfirmMemberRemoveEvent.ts +++ b/src/nitro/communication/messages/incoming/group/GroupConfirmMemberRemoveEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { GroupConfirmMemberRemoveParser } from '../../parser/group/GroupConfirmMemberRemoveParser'; export class GroupConfirmMemberRemoveEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class GroupConfirmMemberRemoveEvent extends MessageEvent implements IMess { return this.parser as GroupConfirmMemberRemoveParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/group/GroupInformationEvent.ts b/src/nitro/communication/messages/incoming/group/GroupInformationEvent.ts index aa3d9afb..5f8fecec 100644 --- a/src/nitro/communication/messages/incoming/group/GroupInformationEvent.ts +++ b/src/nitro/communication/messages/incoming/group/GroupInformationEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { GroupInformationParser } from '../../parser/group/GroupInformationParser'; export class GroupInformationEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class GroupInformationEvent extends MessageEvent implements IMessageEvent { return this.parser as GroupInformationParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/group/GroupMembersEvent.ts b/src/nitro/communication/messages/incoming/group/GroupMembersEvent.ts index 34e11f6a..3eed21d1 100644 --- a/src/nitro/communication/messages/incoming/group/GroupMembersEvent.ts +++ b/src/nitro/communication/messages/incoming/group/GroupMembersEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { GroupMembersParser } from '../../parser/group/GroupMembersParser'; export class GroupMembersEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class GroupMembersEvent extends MessageEvent implements IMessageEvent { return this.parser as GroupMembersParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/group/GroupSettingsEvent.ts b/src/nitro/communication/messages/incoming/group/GroupSettingsEvent.ts index 6cb4c775..3193793e 100644 --- a/src/nitro/communication/messages/incoming/group/GroupSettingsEvent.ts +++ b/src/nitro/communication/messages/incoming/group/GroupSettingsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { GroupSettingsParser } from '../../parser/group/GroupSettingsParser'; export class GroupSettingsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/help/CallForHelpResultMessageEvent.ts b/src/nitro/communication/messages/incoming/help/CallForHelpResultMessageEvent.ts index 277a3166..77e35fe3 100644 --- a/src/nitro/communication/messages/incoming/help/CallForHelpResultMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/help/CallForHelpResultMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CallForHelpResultMessageParser } from '../../parser/help/CallForHelpResultMessageParser'; export class CallForHelpResultMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class CallForHelpResultMessageEvent extends MessageEvent implements IMess { return this.parser as CallForHelpResultMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementData.ts b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementData.ts index c1767003..7979782b 100644 --- a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementData.ts +++ b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class AchievementData { diff --git a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementEvent.ts b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementEvent.ts index 3d6a1bf5..32e2e9f9 100644 --- a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AchievementParser } from '../../../parser/inventory/achievements/AchievementParser'; export class AchievementEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class AchievementEvent extends MessageEvent implements IMessageEvent { return this.parser as AchievementParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementResolutionData.ts b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementResolutionData.ts index adb44562..9a5482c6 100644 --- a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementResolutionData.ts +++ b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementResolutionData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class AchievementResolutionData { diff --git a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsEvent.ts b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsEvent.ts index f5698094..ebb6c93e 100644 --- a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AchievementsParser } from '../../../parser/inventory/achievements/AchievementsParser'; export class AchievementsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class AchievementsEvent extends MessageEvent implements IMessageEvent { return this.parser as AchievementsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsScoreEvent.ts b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsScoreEvent.ts index 92735e26..6f64bb6d 100644 --- a/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsScoreEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/achievements/AchievementsScoreEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AchievementsScoreParser } from '../../../parser/inventory/achievements/AchievementsScoreParser'; export class AchievementsScoreEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class AchievementsScoreEvent extends MessageEvent implements IMessageEven { return this.parser as AchievementsScoreParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectActivatedEvent.ts b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectActivatedEvent.ts index 47ff020b..1f682fad 100644 --- a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectActivatedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectActivatedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AvatarEffectActivatedParser } from '../../../parser/inventory/avatareffect/AvatarEffectActivatedParser'; export class AvatarEffectActivatedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectAddedEvent.ts b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectAddedEvent.ts index 78d17fa0..13b159e1 100644 --- a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectAddedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectAddedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AvatarEffectAddedParser } from '../../../parser/inventory/avatareffect/AvatarEffectAddedParser'; export class AvatarEffectAddedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectExpiredEvent.ts b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectExpiredEvent.ts index e2f6cd25..03d3dac0 100644 --- a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectExpiredEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectExpiredEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AvatarEffectExpiredParser } from '../../../parser/inventory/avatareffect/AvatarEffectExpiredParser'; export class AvatarEffectExpiredEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectSelectedEvent.ts b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectSelectedEvent.ts index 88b7bbc0..1a48f496 100644 --- a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectSelectedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectSelectedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AvatarEffectSelectedParser } from '../../../parser/inventory/avatareffect/AvatarEffectSelectedParser'; export class AvatarEffectSelectedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectsEvent.ts b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectsEvent.ts index 2041f9d1..d73d85cc 100644 --- a/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectsEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/avatareffect/AvatarEffectsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { AvatarEffectsParser } from '../../../parser/inventory/avatareffect/AvatarEffectsParser'; export class AvatarEffectsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/badges/BadgePointLimitsEvent.ts b/src/nitro/communication/messages/incoming/inventory/badges/BadgePointLimitsEvent.ts index 10cd2557..a8948de8 100644 --- a/src/nitro/communication/messages/incoming/inventory/badges/BadgePointLimitsEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/badges/BadgePointLimitsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BadgePointLimitsParser } from '../../../parser/inventory/badges/BadgePointLimitsParser'; export class BadgePointLimitsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/badges/BadgeReceivedEvent.ts b/src/nitro/communication/messages/incoming/inventory/badges/BadgeReceivedEvent.ts index fc346823..1e780c5a 100644 --- a/src/nitro/communication/messages/incoming/inventory/badges/BadgeReceivedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/badges/BadgeReceivedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BadgeReceivedParser } from '../../../parser/inventory/badges/BadgeReceivedParser'; export class BadgeReceivedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/badges/BadgesEvent.ts b/src/nitro/communication/messages/incoming/inventory/badges/BadgesEvent.ts index bae0c33d..b38edc70 100644 --- a/src/nitro/communication/messages/incoming/inventory/badges/BadgesEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/badges/BadgesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BadgesParser } from '../../../parser/inventory/badges/BadgesParser'; export class BadgesEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/badges/IsBadgeRequestFulfilledEvent.ts b/src/nitro/communication/messages/incoming/inventory/badges/IsBadgeRequestFulfilledEvent.ts index c50a257e..77b49186 100644 --- a/src/nitro/communication/messages/incoming/inventory/badges/IsBadgeRequestFulfilledEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/badges/IsBadgeRequestFulfilledEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { IsBadgeRequestFulfilledParser } from '../../../parser/inventory/badges/IsBadgeRequestFulfilledParser'; export class IsBadgeRequestFulfilledEvent extends MessageEvent implements IMessageEvent { diff --git a/src/nitro/communication/messages/incoming/inventory/bots/BotAddedToInventoryEvent.ts b/src/nitro/communication/messages/incoming/inventory/bots/BotAddedToInventoryEvent.ts index 926163a0..989943f0 100644 --- a/src/nitro/communication/messages/incoming/inventory/bots/BotAddedToInventoryEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/bots/BotAddedToInventoryEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BotAddedToInventoryParser } from '../../../parser/inventory/bots/BotAddedToInventoryParser'; export class BotAddedToInventoryEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryEvent.ts b/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryEvent.ts index e5452974..34ba5fef 100644 --- a/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BotInventoryParser } from '../../../parser/inventory/bots/BotReceivedMessageParser'; export class BotInventoryEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryMessageEvent.ts b/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryMessageEvent.ts index 421e35a7..92b36950 100644 --- a/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/bots/BotInventoryMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BotInventoryMessageParser } from '../../../parser/inventory/bots/BotInventoryMessageParser'; export class BotInventoryMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class BotInventoryMessageEvent extends MessageEvent implements IMessageEv { return this.parser as BotInventoryMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/bots/BotRemovedFromInventoryEvent.ts b/src/nitro/communication/messages/incoming/inventory/bots/BotRemovedFromInventoryEvent.ts index e2400316..23fd43d9 100644 --- a/src/nitro/communication/messages/incoming/inventory/bots/BotRemovedFromInventoryEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/bots/BotRemovedFromInventoryEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BotRemovedFromInventoryParser } from '../../../parser/inventory/bots/BotRemovedFromInventoryParser'; export class BotRemovedFromInventoryEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class BotRemovedFromInventoryEvent extends MessageEvent implements IMessa { return this.parser as BotRemovedFromInventoryParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/clothes/FigureSetIdsMessageEvent.ts b/src/nitro/communication/messages/incoming/inventory/clothes/FigureSetIdsMessageEvent.ts index 1b68df23..0b774c19 100644 --- a/src/nitro/communication/messages/incoming/inventory/clothes/FigureSetIdsMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/clothes/FigureSetIdsMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FigureSetIdsMessageParser } from '../../../parser/inventory/clothing/FigureSetIdsMessageParser'; export class FigureSetIdsMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FigureSetIdsMessageEvent extends MessageEvent implements IMessageEv { return this.parser as FigureSetIdsMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/clothes/_Str_16135.ts b/src/nitro/communication/messages/incoming/inventory/clothes/_Str_16135.ts index 073b3397..98d73905 100644 --- a/src/nitro/communication/messages/incoming/inventory/clothes/_Str_16135.ts +++ b/src/nitro/communication/messages/incoming/inventory/clothes/_Str_16135.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { _Str_8728 } from '../../../parser/inventory/clothing/_Str_8728'; export class _Str_16135 extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class _Str_16135 extends MessageEvent implements IMessageEvent { return this.parser as _Str_8728; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/clothes/_Str_17532.ts b/src/nitro/communication/messages/incoming/inventory/clothes/_Str_17532.ts index ecfb0e5f..b7d9d353 100644 --- a/src/nitro/communication/messages/incoming/inventory/clothes/_Str_17532.ts +++ b/src/nitro/communication/messages/incoming/inventory/clothes/_Str_17532.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { _Str_9021 } from '../../../parser/inventory/clothing/_Str_9021'; export class _Str_17532 extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class _Str_17532 extends MessageEvent implements IMessageEvent { return this.parser as _Str_9021; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListAddOrUpdateEvent.ts b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListAddOrUpdateEvent.ts index 91ccaffe..0fafecbf 100644 --- a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListAddOrUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListAddOrUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureListAddOrUpdateParser } from '../../../parser/inventory/furniture/FurnitureListAddOrUpdateParser'; export class FurnitureListAddOrUpdateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureListAddOrUpdateEvent extends MessageEvent implements IMess { return this.parser as FurnitureListAddOrUpdateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListEvent.ts b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListEvent.ts index b0a9384c..770342a9 100644 --- a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureListParser } from '../../../parser/inventory/furniture/FurnitureListParser'; export class FurnitureListEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureListEvent extends MessageEvent implements IMessageEvent { return this.parser as FurnitureListParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListInvalidateEvent.ts b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListInvalidateEvent.ts index b66972d6..1501639a 100644 --- a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListInvalidateEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListInvalidateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureListInvalidateParser } from '../../../parser/inventory/furniture/FurnitureListInvalidateParser'; export class FurnitureListInvalidateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureListInvalidateEvent extends MessageEvent implements IMessa { return this.parser as FurnitureListInvalidateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListRemovedEvent.ts b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListRemovedEvent.ts index 185706f1..1e547cf2 100644 --- a/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListRemovedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/furni/FurnitureListRemovedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureListRemovedParser } from '../../../parser/inventory/furniture/FurnitureListRemovedParser'; export class FurnitureListRemovedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureListRemovedEvent extends MessageEvent implements IMessageE { return this.parser as FurnitureListRemovedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/furni/FurniturePostItPlacedEvent.ts b/src/nitro/communication/messages/incoming/inventory/furni/FurniturePostItPlacedEvent.ts index af96c5f3..c4ccdabb 100644 --- a/src/nitro/communication/messages/incoming/inventory/furni/FurniturePostItPlacedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/furni/FurniturePostItPlacedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurniturePostItPlacedParser } from '../../../parser/inventory/furniture/FurniturePostItPlacedParser'; export class FurniturePostItPlacedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurniturePostItPlacedEvent extends MessageEvent implements IMessage { return this.parser as FurniturePostItPlacedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/furni/gifts/PresentOpenedMessageEvent.ts b/src/nitro/communication/messages/incoming/inventory/furni/gifts/PresentOpenedMessageEvent.ts index f1237c15..68585014 100644 --- a/src/nitro/communication/messages/incoming/inventory/furni/gifts/PresentOpenedMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/furni/gifts/PresentOpenedMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { PresentOpenedMessageParser } from '../../../../parser/inventory/furniture/PresentOpenedMessageParser'; export class PresentOpenedMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceItemPostedEvent.ts b/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceItemPostedEvent.ts index d306c8fa..b43d2b27 100644 --- a/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceItemPostedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceItemPostedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { MarketplaceItemPostedParser } from '../../../parser/inventory/marketplace/MarketplaceItemPostedParser'; export class MarketplaceItemPostedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceSellItemEvent.ts b/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceSellItemEvent.ts index 7c1d5a8f..26a518e0 100644 --- a/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceSellItemEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/marketplace/MarketplaceSellItemEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { MarketplaceCanMakeOfferResultParser } from '../../../parser/inventory/marketplace/MarketplaceCanMakeOfferResultParser'; export class MarketplaceSellItemEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/pets/PetAddedToInventoryEvent.ts b/src/nitro/communication/messages/incoming/inventory/pets/PetAddedToInventoryEvent.ts index 31eb0db6..73c1d3d9 100644 --- a/src/nitro/communication/messages/incoming/inventory/pets/PetAddedToInventoryEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/pets/PetAddedToInventoryEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { PetAddedToInventoryParser } from '../../../parser/inventory/pets/PetAddedToInventoryParser'; export class PetAddedToInventoryEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/pets/PetInventoryEvent.ts b/src/nitro/communication/messages/incoming/inventory/pets/PetInventoryEvent.ts index cbf1cc23..e1a9948e 100644 --- a/src/nitro/communication/messages/incoming/inventory/pets/PetInventoryEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/pets/PetInventoryEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { PetInventoryParser } from '../../../parser/inventory/pets/PetInventoryParser'; export class PetInventoryEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/pets/PetRemovedFromInventoryEvent.ts b/src/nitro/communication/messages/incoming/inventory/pets/PetRemovedFromInventoryEvent.ts index 0e7c833c..2bfff94c 100644 --- a/src/nitro/communication/messages/incoming/inventory/pets/PetRemovedFromInventoryEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/pets/PetRemovedFromInventoryEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { PetRemovedFromInventoryParser } from '../../../parser/inventory/pets/PetRemovedFromInventoryParser'; export class PetRemovedFromInventory extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/trading/ItemDataStructure.ts b/src/nitro/communication/messages/incoming/inventory/trading/ItemDataStructure.ts index bb0f67be..23daeb0c 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/ItemDataStructure.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/ItemDataStructure.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { Nitro } from '../../../../../Nitro'; import { IObjectData } from '../../../../../room/object/data/IObjectData'; import { FurnitureDataParser } from '../../../parser/room/furniture/FurnitureDataParser'; diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingAcceptEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingAcceptEvent.ts index 3a471864..5f97c3c6 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingAcceptEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingAcceptEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingAcceptParser } from '../../../parser/inventory/trading/TradingAcceptParser'; export class TradingAcceptEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingCloseEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingCloseEvent.ts index 4747ddf5..e78e1a41 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingCloseEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingCloseEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingCloseParser } from '../../../parser/inventory/trading/TradingCloseParser'; export class TradingCloseEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingCompletedEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingCompletedEvent.ts index b1a1b462..a6ecff9b 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingCompletedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingCompletedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingCompletedParser } from '../../../parser/inventory/trading/TradingCompletedParser'; export class TradingCompletedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class TradingCompletedEvent extends MessageEvent implements IMessageEvent { return this.parser as TradingCompletedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingConfirmationEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingConfirmationEvent.ts index 08b81fcf..da081eb4 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingConfirmationEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingConfirmationEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingConfirmationParser } from '../../../parser/inventory/trading/TradingConfirmationParser'; export class TradingConfirmationEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class TradingConfirmationEvent extends MessageEvent implements IMessageEv { return this.parser as TradingConfirmationParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingListItemEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingListItemEvent.ts index 38638f45..fc6f8359 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingListItemEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingListItemEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingListItemParser } from '../../../parser/inventory/trading/TradingListItemParser'; import { ItemDataStructure } from './ItemDataStructure'; diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingNotOpenEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingNotOpenEvent.ts index cb76ddfd..665ef359 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingNotOpenEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingNotOpenEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingNotOpenParser } from '../../../parser/inventory/trading/TradingNotOpenParser'; export class TradingNotOpenEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class TradingNotOpenEvent extends MessageEvent implements IMessageEvent { return this.parser as TradingNotOpenParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenEvent.ts index bf387f6d..43b43254 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingOpenParser } from '../../../parser/inventory/trading/TradingOpenParser'; export class TradingOpenEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenFailedEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenFailedEvent.ts index 0bbafe5c..bd54794b 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenFailedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingOpenFailedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingOpenFailedParser } from '../../../parser/inventory/trading/TradingOpenFailedParser'; export class TradingOpenFailedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class TradingOpenFailedEvent extends MessageEvent implements IMessageEven { return this.parser as TradingOpenFailedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingOtherNotAllowedEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingOtherNotAllowedEvent.ts index 3b0eb484..c6ad14b4 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingOtherNotAllowedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingOtherNotAllowedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingOtherNotAllowedParser } from '../../../parser/inventory/trading/TradingOtherNotAllowedParser'; export class TradingOtherNotAllowedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class TradingOtherNotAllowedEvent extends MessageEvent implements IMessag { return this.parser as TradingOtherNotAllowedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/inventory/trading/TradingYouAreNotAllowedEvent.ts b/src/nitro/communication/messages/incoming/inventory/trading/TradingYouAreNotAllowedEvent.ts index c77563a0..e6cdaacb 100644 --- a/src/nitro/communication/messages/incoming/inventory/trading/TradingYouAreNotAllowedEvent.ts +++ b/src/nitro/communication/messages/incoming/inventory/trading/TradingYouAreNotAllowedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { TradingYouAreNotAllowedParser } from '../../../parser/inventory/trading/TradingYouAreNotAllowedParser'; export class TradingYouAreNotAllowedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class TradingYouAreNotAllowedEvent extends MessageEvent implements IMessa { return this.parser as TradingYouAreNotAllowedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/landingview/PromoArticleData.ts b/src/nitro/communication/messages/incoming/landingview/PromoArticleData.ts index 9b7b086d..a13df31a 100644 --- a/src/nitro/communication/messages/incoming/landingview/PromoArticleData.ts +++ b/src/nitro/communication/messages/incoming/landingview/PromoArticleData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class PromoArticleData { diff --git a/src/nitro/communication/messages/incoming/landingview/PromoArticlesMessageEvent.ts b/src/nitro/communication/messages/incoming/landingview/PromoArticlesMessageEvent.ts index 53b66a91..a1659057 100644 --- a/src/nitro/communication/messages/incoming/landingview/PromoArticlesMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/landingview/PromoArticlesMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { PromoArticlesMessageParser } from '../../parser/landingview/PromoArticlesMessageParser'; export class PromoArticlesMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/landingview/votes/CommunityGoalVoteMessageEvent.ts b/src/nitro/communication/messages/incoming/landingview/votes/CommunityGoalVoteMessageEvent.ts index f8e7a8bd..6cb01440 100644 --- a/src/nitro/communication/messages/incoming/landingview/votes/CommunityGoalVoteMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/landingview/votes/CommunityGoalVoteMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { CommunityVoteReceivedParser } from '../../../parser/landingview/votes/CommunityVoteReceivedParser'; export class CommunityGoalVoteMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/modtool/ModtoolCallForHelpTopicsEvent.ts b/src/nitro/communication/messages/incoming/modtool/ModtoolCallForHelpTopicsEvent.ts index 76d9094b..eb31b898 100644 --- a/src/nitro/communication/messages/incoming/modtool/ModtoolCallForHelpTopicsEvent.ts +++ b/src/nitro/communication/messages/incoming/modtool/ModtoolCallForHelpTopicsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModtoolCFHTopicsParser } from '../../parser/modtool/ModtoolCFHTopicsParser'; export class ModtoolCallForHelpTopicsEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/modtool/ModtoolMainEvent.ts b/src/nitro/communication/messages/incoming/modtool/ModtoolMainEvent.ts index 63814725..5c56ba00 100644 --- a/src/nitro/communication/messages/incoming/modtool/ModtoolMainEvent.ts +++ b/src/nitro/communication/messages/incoming/modtool/ModtoolMainEvent.ts @@ -1,6 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; -import { ModtoolRoomChatlogParser } from '../../parser/modtool/ModtoolRoomChatlogParser'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModtoolMainParser } from '../../parser/modtool/ModtoolMainParser'; export class ModtoolMainEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/modtool/ModtoolReceivedRoomsUserEvent.ts b/src/nitro/communication/messages/incoming/modtool/ModtoolReceivedRoomsUserEvent.ts index 3122afbb..83c0c4ed 100644 --- a/src/nitro/communication/messages/incoming/modtool/ModtoolReceivedRoomsUserEvent.ts +++ b/src/nitro/communication/messages/incoming/modtool/ModtoolReceivedRoomsUserEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModtoolRoomUsersParser } from '../../parser/modtool/ModtoolRoomUsersParser'; export class ModtoolReceivedRoomsUserEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/modtool/ModtoolRoomChatlogEvent.ts b/src/nitro/communication/messages/incoming/modtool/ModtoolRoomChatlogEvent.ts index 1747c21c..98e4dc85 100644 --- a/src/nitro/communication/messages/incoming/modtool/ModtoolRoomChatlogEvent.ts +++ b/src/nitro/communication/messages/incoming/modtool/ModtoolRoomChatlogEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModtoolRoomChatlogParser } from '../../parser/modtool/ModtoolRoomChatlogParser'; export class ModtoolRoomChatlogEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/modtool/ModtoolRoomInfoEvent.ts b/src/nitro/communication/messages/incoming/modtool/ModtoolRoomInfoEvent.ts index 5e451978..2c2ad75c 100644 --- a/src/nitro/communication/messages/incoming/modtool/ModtoolRoomInfoEvent.ts +++ b/src/nitro/communication/messages/incoming/modtool/ModtoolRoomInfoEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModtoolRoomInfoParser } from '../../parser/modtool/ModtoolRoomInfoParser'; export class ModtoolRoomInfoEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/modtool/ModtoolUserChatlogEvent.ts b/src/nitro/communication/messages/incoming/modtool/ModtoolUserChatlogEvent.ts index 97553c7c..7858d449 100644 --- a/src/nitro/communication/messages/incoming/modtool/ModtoolUserChatlogEvent.ts +++ b/src/nitro/communication/messages/incoming/modtool/ModtoolUserChatlogEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModtoolUserChatlogParser } from '../../parser/modtool/ModtoolUserChatlogParser'; export class ModtoolUserChatlogEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/modtool/ModtoolUserInfoEvent.ts b/src/nitro/communication/messages/incoming/modtool/ModtoolUserInfoEvent.ts index cd1eaa75..236f4556 100644 --- a/src/nitro/communication/messages/incoming/modtool/ModtoolUserInfoEvent.ts +++ b/src/nitro/communication/messages/incoming/modtool/ModtoolUserInfoEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModtoolUserInfoParser } from '../../parser/modtool/ModtoolUserInfoParser'; export class ModtoolUserInfoEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/mysterybox/MysteryBoxKeysEvent.ts b/src/nitro/communication/messages/incoming/mysterybox/MysteryBoxKeysEvent.ts index e14442bc..377984aa 100644 --- a/src/nitro/communication/messages/incoming/mysterybox/MysteryBoxKeysEvent.ts +++ b/src/nitro/communication/messages/incoming/mysterybox/MysteryBoxKeysEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MysteryBoxKeysParser } from '../../parser'; export class MysteryBoxKeysEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorCategoriesEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorCategoriesEvent.ts index 789352dd..5b88454b 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorCategoriesEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorCategoriesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorCategoriesParser } from '../../parser/navigator/NavigatorCategoriesParser'; export class NavigatorCategoriesEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorCategoriesEvent extends MessageEvent implements IMessageEv { return this.parser as NavigatorCategoriesParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorCollapsedEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorCollapsedEvent.ts index eee2e601..5b872ee4 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorCollapsedEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorCollapsedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorCollapsedParser } from '../../parser/navigator/NavigatorCollapsedParser'; export class NavigatorCollapsedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorCollapsedEvent extends MessageEvent implements IMessageEve { return this.parser as NavigatorCollapsedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorEventCategoriesEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorEventCategoriesEvent.ts index e83361a0..a281ec31 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorEventCategoriesEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorEventCategoriesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorEventCategoriesParser } from '../../parser/navigator/NavigatorEventCategoriesParser'; export class NavigatorEventCategoriesEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorEventCategoriesEvent extends MessageEvent implements IMess { return this.parser as NavigatorEventCategoriesParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorHomeRoomEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorHomeRoomEvent.ts index d5a444bd..1aba0468 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorHomeRoomEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorHomeRoomEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorHomeRoomParser } from '../../parser/navigator/NavigatorHomeRoomParser'; export class NavigatorHomeRoomEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorHomeRoomEvent extends MessageEvent implements IMessageEven { return this.parser as NavigatorHomeRoomParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorLiftedEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorLiftedEvent.ts index 2624106e..2d48dd35 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorLiftedEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorLiftedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorLiftedParser } from '../../parser/navigator/NavigatorLiftedParser'; export class NavigatorLiftedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorLiftedEvent extends MessageEvent implements IMessageEvent { return this.parser as NavigatorLiftedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorMetadataEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorMetadataEvent.ts index 44e7224f..ca152837 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorMetadataEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorMetadataEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorMetadataParser } from '../../parser/navigator/NavigatorMetadataParser'; export class NavigatorMetadataEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorMetadataEvent extends MessageEvent implements IMessageEven { return this.parser as NavigatorMetadataParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorOpenRoomCreatorEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorOpenRoomCreatorEvent.ts index 0979b5f1..2b03123f 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorOpenRoomCreatorEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorOpenRoomCreatorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorOpenRoomCreatorParser } from '../../parser/navigator/NavigatorOpenRoomCreatorParser'; export class NavigatorOpenRoomCreatorEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorOpenRoomCreatorEvent extends MessageEvent implements IMess { return this.parser as NavigatorOpenRoomCreatorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorSearchEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorSearchEvent.ts index 5ba3d204..cd545bc5 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorSearchEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorSearchEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorSearchParser } from '../../parser/navigator/NavigatorSearchParser'; export class NavigatorSearchEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorSearchEvent extends MessageEvent implements IMessageEvent { return this.parser as NavigatorSearchParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorSearchesEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorSearchesEvent.ts index 06e8bdad..7ad0b0d4 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorSearchesEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorSearchesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorSearchesParser } from '../../parser/navigator/NavigatorSearchesParser'; export class NavigatorSearchesEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorSearchesEvent extends MessageEvent implements IMessageEven { return this.parser as NavigatorSearchesParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/navigator/NavigatorSettingsEvent.ts b/src/nitro/communication/messages/incoming/navigator/NavigatorSettingsEvent.ts index 1e80d52d..de27f530 100644 --- a/src/nitro/communication/messages/incoming/navigator/NavigatorSettingsEvent.ts +++ b/src/nitro/communication/messages/incoming/navigator/NavigatorSettingsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NavigatorSettingsParser } from '../../parser/navigator/NavigatorSettingsParser'; export class NavigatorSettingsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NavigatorSettingsEvent extends MessageEvent implements IMessageEven { return this.parser as NavigatorSettingsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/notifications/AchievementNotificationMessageEvent.ts b/src/nitro/communication/messages/incoming/notifications/AchievementNotificationMessageEvent.ts index c30d245a..be5bdb63 100644 --- a/src/nitro/communication/messages/incoming/notifications/AchievementNotificationMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/AchievementNotificationMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { AchievementNotificationMessageParser } from '../../parser'; export class AchievementNotificationMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/ActivityPointNotificationMessageEvent.ts b/src/nitro/communication/messages/incoming/notifications/ActivityPointNotificationMessageEvent.ts index 867192e7..33155c78 100644 --- a/src/nitro/communication/messages/incoming/notifications/ActivityPointNotificationMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/ActivityPointNotificationMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ActivityPointNotificationParser } from '../../parser/notifications/ActivityPointNotificationParser'; export class ActivityPointNotificationMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/BotErrorEvent.ts b/src/nitro/communication/messages/incoming/notifications/BotErrorEvent.ts index 579c71f2..51413c6e 100644 --- a/src/nitro/communication/messages/incoming/notifications/BotErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/BotErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { BotErrorEventParser } from '../../parser/notifications/BotErrorEventParser'; export class BotErrorEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/ClubGiftNotificationEvent.ts b/src/nitro/communication/messages/incoming/notifications/ClubGiftNotificationEvent.ts index 9323d6c1..92d1f7b5 100644 --- a/src/nitro/communication/messages/incoming/notifications/ClubGiftNotificationEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/ClubGiftNotificationEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ClubGiftNotificationParser } from '../../parser'; export class ClubGiftNotificationEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/HabboBroadcastMessageEvent.ts b/src/nitro/communication/messages/incoming/notifications/HabboBroadcastMessageEvent.ts index 616c4653..e8d132f3 100644 --- a/src/nitro/communication/messages/incoming/notifications/HabboBroadcastMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/HabboBroadcastMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { HabboBroadcastMessageParser } from '../../parser/notifications/HabboBroadcastMessageParser'; export class HabboBroadcastMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class HabboBroadcastMessageEvent extends MessageEvent implements IMessage { return this.parser as HabboBroadcastMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/notifications/HotelWillShutdownEvent.ts b/src/nitro/communication/messages/incoming/notifications/HotelWillShutdownEvent.ts index 6cc44385..45f2ca3b 100644 --- a/src/nitro/communication/messages/incoming/notifications/HotelWillShutdownEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/HotelWillShutdownEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { HotelWillShutdownParser } from '../../parser/notifications/HotelWillShutdownParser'; export class HotelWillShutdownEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/InfoFeedEnableMessageEvent.ts b/src/nitro/communication/messages/incoming/notifications/InfoFeedEnableMessageEvent.ts index dc30732d..ecee99bd 100644 --- a/src/nitro/communication/messages/incoming/notifications/InfoFeedEnableMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/InfoFeedEnableMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { InfoFeedEnableMessageParser } from '../../parser'; export class InfoFeedEnableMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/MOTDNotificationEvent.ts b/src/nitro/communication/messages/incoming/notifications/MOTDNotificationEvent.ts index 1bbdca07..cad4310b 100644 --- a/src/nitro/communication/messages/incoming/notifications/MOTDNotificationEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/MOTDNotificationEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { MOTDNotificationParser } from '../../parser/notifications/MOTDNotificationParser'; export class MOTDNotificationEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class MOTDNotificationEvent extends MessageEvent implements IMessageEvent { return this.parser as MOTDNotificationParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/notifications/ModeratorMessageEvent.ts b/src/nitro/communication/messages/incoming/notifications/ModeratorMessageEvent.ts index 3e6f1c67..f1feb10c 100644 --- a/src/nitro/communication/messages/incoming/notifications/ModeratorMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/ModeratorMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ModeratorMessageParser } from '../../parser/notifications/ModeratorMessageParser'; export class ModeratorMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/NotificationDialogMessageEvent.ts b/src/nitro/communication/messages/incoming/notifications/NotificationDialogMessageEvent.ts index 33b909ea..c42bc173 100644 --- a/src/nitro/communication/messages/incoming/notifications/NotificationDialogMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/NotificationDialogMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NotificationDialogMessageParser } from '../../parser/notifications/NotificationDialogMessageParser'; export class NotificationDialogMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class NotificationDialogMessageEvent extends MessageEvent implements IMes { return this.parser as NotificationDialogMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/notifications/PetPlacingErrorEvent.ts b/src/nitro/communication/messages/incoming/notifications/PetPlacingErrorEvent.ts index a9291352..6cfcc6da 100644 --- a/src/nitro/communication/messages/incoming/notifications/PetPlacingErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/PetPlacingErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { PetPlacingErrorEventParser } from '../../parser/notifications/PetPlacingErrorEventParser'; export class PetPlacingErrorEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/notifications/UnseenItemsEvent.ts b/src/nitro/communication/messages/incoming/notifications/UnseenItemsEvent.ts index 0d347fdd..22aa4c1d 100644 --- a/src/nitro/communication/messages/incoming/notifications/UnseenItemsEvent.ts +++ b/src/nitro/communication/messages/incoming/notifications/UnseenItemsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { UnseenItemsParser } from '../../parser/notifications/UnseenItemsParser'; export class UnseenItemsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UnseenItemsEvent extends MessageEvent implements IMessageEvent { return this.parser as UnseenItemsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/quest/CommunityGoalData.ts b/src/nitro/communication/messages/incoming/quest/CommunityGoalData.ts index c61bf15c..ff7276b2 100644 --- a/src/nitro/communication/messages/incoming/quest/CommunityGoalData.ts +++ b/src/nitro/communication/messages/incoming/quest/CommunityGoalData.ts @@ -1,5 +1,5 @@ +import { IMessageDataWrapper } from '../../../../../core'; import { IDisposable } from '../../../../../core/common/disposable/IDisposable'; -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; export class CommunityGoalData implements IDisposable { diff --git a/src/nitro/communication/messages/incoming/quest/CommunityGoalEarnedPrizesMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/CommunityGoalEarnedPrizesMessageEvent.ts index cba6f877..209aa1fc 100644 --- a/src/nitro/communication/messages/incoming/quest/CommunityGoalEarnedPrizesMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/CommunityGoalEarnedPrizesMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CommunityGoalEarnedPrizesMessageParser } from '../../parser/quest/CommunityGoalEarnedPrizesMessageParser'; export class CommunityGoalEarnedPrizesMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameData.ts b/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameData.ts index bb0338cf..a952cbe3 100644 --- a/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameData.ts +++ b/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameData.ts @@ -1,5 +1,5 @@ +import { IMessageDataWrapper } from '../../../../../core'; import { IDisposable } from '../../../../../core/common/disposable/IDisposable'; -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; import { HallOfFameEntryData } from './HallOfFameEntryData'; export class CommunityGoalHallOfFameData implements IDisposable diff --git a/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameMessageEvent.ts index f742686b..39f75d7c 100644 --- a/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/CommunityGoalHallOfFameMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CommunityGoalHallOfFameMessageParser } from '../../parser/quest/CommunityGoalHallOfFameMessageParser'; export class CommunityGoalHallOfFameMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/CommunityGoalProgressMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/CommunityGoalProgressMessageEvent.ts index 8f9519fc..fdfb453f 100644 --- a/src/nitro/communication/messages/incoming/quest/CommunityGoalProgressMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/CommunityGoalProgressMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { CommunityGoalProgressMessageParser } from '../../parser/quest/CommunityGoalProgressMessageParser'; export class CommunityGoalProgressMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/ConcurrentUsersGoalProgressMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/ConcurrentUsersGoalProgressMessageEvent.ts index 79fc4c8f..85e813da 100644 --- a/src/nitro/communication/messages/incoming/quest/ConcurrentUsersGoalProgressMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/ConcurrentUsersGoalProgressMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { ConcurrentUsersGoalProgressMessageParser } from '../../parser/quest/ConcurrentUsersGoalProgressMessageParser'; export class ConcurrentUsersGoalProgressMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/EpicPopupMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/EpicPopupMessageEvent.ts index 7080827a..667d1ee4 100644 --- a/src/nitro/communication/messages/incoming/quest/EpicPopupMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/EpicPopupMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { EpicPopupMessageParser } from '../../parser/quest/EpicPopupMessageParser'; export class EpicPopupMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/HallOfFameEntryData.ts b/src/nitro/communication/messages/incoming/quest/HallOfFameEntryData.ts index 7678e5bf..7a03d668 100644 --- a/src/nitro/communication/messages/incoming/quest/HallOfFameEntryData.ts +++ b/src/nitro/communication/messages/incoming/quest/HallOfFameEntryData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { ILandingPageUserEntry } from './ILandingPageUserEntry'; export class HallOfFameEntryData implements ILandingPageUserEntry diff --git a/src/nitro/communication/messages/incoming/quest/PrizeData.ts b/src/nitro/communication/messages/incoming/quest/PrizeData.ts index 092c77c8..ad6050b8 100644 --- a/src/nitro/communication/messages/incoming/quest/PrizeData.ts +++ b/src/nitro/communication/messages/incoming/quest/PrizeData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class PrizeData { diff --git a/src/nitro/communication/messages/incoming/quest/QuestCancelledMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/QuestCancelledMessageEvent.ts index 487ca547..45a7e2e9 100644 --- a/src/nitro/communication/messages/incoming/quest/QuestCancelledMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/QuestCancelledMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { QuestCancelledMessageParser } from '../../parser/quest/QuestCancelledMessageParser'; export class QuestCancelledMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/QuestCompletedMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/QuestCompletedMessageEvent.ts index 8dd49e75..f3d0b38f 100644 --- a/src/nitro/communication/messages/incoming/quest/QuestCompletedMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/QuestCompletedMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { QuestCompletedMessageParser } from '../../parser/quest/QuestCompletedMessageParser'; export class QuestCompletedMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/QuestDailyMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/QuestDailyMessageEvent.ts index 886c4906..6ec66676 100644 --- a/src/nitro/communication/messages/incoming/quest/QuestDailyMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/QuestDailyMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { QuestDailyMessageParser } from '../../parser/quest/QuestDailyMessageParser'; export class QuestDailyMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/QuestMessageData.ts b/src/nitro/communication/messages/incoming/quest/QuestMessageData.ts index 3d142584..a09bec65 100644 --- a/src/nitro/communication/messages/incoming/quest/QuestMessageData.ts +++ b/src/nitro/communication/messages/incoming/quest/QuestMessageData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class QuestMessageData { diff --git a/src/nitro/communication/messages/incoming/quest/QuestMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/QuestMessageEvent.ts index a92ecad2..345e3601 100644 --- a/src/nitro/communication/messages/incoming/quest/QuestMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/QuestMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { QuestMessageParser } from '../../parser/quest/QuestMessageParser'; export class QuestMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/QuestsMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/QuestsMessageEvent.ts index ca737872..41d23b88 100644 --- a/src/nitro/communication/messages/incoming/quest/QuestsMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/QuestsMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { QuestsMessageParser } from '../../parser/quest/QuestsMessageParser'; export class QuestsMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/quest/SeasonalQuestsMessageEvent.ts b/src/nitro/communication/messages/incoming/quest/SeasonalQuestsMessageEvent.ts index f1de7034..394638b1 100644 --- a/src/nitro/communication/messages/incoming/quest/SeasonalQuestsMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/quest/SeasonalQuestsMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { SeasonalQuestsParser } from '../../parser/quest/SeasonalQuestsParser'; export class SeasonalQuestsMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/access/RoomEnterErrorEvent.ts b/src/nitro/communication/messages/incoming/room/access/RoomEnterErrorEvent.ts index 7da823f2..3bb91fb9 100644 --- a/src/nitro/communication/messages/incoming/room/access/RoomEnterErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/RoomEnterErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { CantConnectMessageParser } from '../../../parser/room/access/CantConnectMessageParser'; export class RoomEnterErrorEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/access/RoomEnterEvent.ts b/src/nitro/communication/messages/incoming/room/access/RoomEnterEvent.ts index c46ee72a..0408ea9c 100644 --- a/src/nitro/communication/messages/incoming/room/access/RoomEnterEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/RoomEnterEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomEnterParser } from '../../../parser/room/access/RoomEnterParser'; export class RoomEnterEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomEnterEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomEnterParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/access/RoomForwardEvent.ts b/src/nitro/communication/messages/incoming/room/access/RoomForwardEvent.ts index 6d5ac9b3..d41b81c7 100644 --- a/src/nitro/communication/messages/incoming/room/access/RoomForwardEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/RoomForwardEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomFowardParser as RoomForwardParser } from '../../../parser/room/access/RoomFowardParser'; export class RoomForwardEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomForwardEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomForwardParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellAcceptedEvent.ts b/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellAcceptedEvent.ts index 1526dc6b..7fdebe12 100644 --- a/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellAcceptedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellAcceptedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomDoorbellAcceptedParser } from '../../../../parser/room/access/doorbell/RoomDoorbellAcceptedParser'; export class RoomDoorbellAcceptedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomDoorbellAcceptedEvent extends MessageEvent implements IMessageE { return this.parser as RoomDoorbellAcceptedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellEvent.ts b/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellEvent.ts index 70e698fb..ea5b6dd8 100644 --- a/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomDoorbellParser } from '../../../../parser/room/access/doorbell/RoomDoorbellParser'; export class RoomDoorbellEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellRejectedEvent.ts b/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellRejectedEvent.ts index 7547ad44..f2b95fc6 100644 --- a/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellRejectedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/doorbell/RoomDoorbellRejectedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomDoorbellRejectedParser } from '../../../../parser/room/access/doorbell/RoomDoorbellRejectedParser'; export class RoomDoorbellRejectedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomDoorbellRejectedEvent extends MessageEvent implements IMessageE { return this.parser as RoomDoorbellRejectedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsClearEvent.ts b/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsClearEvent.ts index 0aed6433..934ca64f 100644 --- a/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsClearEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsClearEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomRightsClearParser } from '../../../../parser/room/access/rights/RoomRightsClearParser'; export class RoomRightsClearEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomRightsClearEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomRightsClearParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsEvent.ts b/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsEvent.ts index 399bcf73..b8887f3b 100644 --- a/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomRightsParser } from '../../../../parser/room/access/rights/RoomRightsParser'; export class RoomRightsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomRightsEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomRightsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsOwnerEvent.ts b/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsOwnerEvent.ts index e846cdc4..dfbeee5a 100644 --- a/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsOwnerEvent.ts +++ b/src/nitro/communication/messages/incoming/room/access/rights/RoomRightsOwnerEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomRightsOwnerParser } from '../../../../parser/room/access/rights/RoomRightsOwnerParser'; export class RoomRightsOwnerEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomRightsOwnerEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomRightsOwnerParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/bots/BotCommandConfigurationEvent.ts b/src/nitro/communication/messages/incoming/room/bots/BotCommandConfigurationEvent.ts index 2dfdee94..d193aacd 100644 --- a/src/nitro/communication/messages/incoming/room/bots/BotCommandConfigurationEvent.ts +++ b/src/nitro/communication/messages/incoming/room/bots/BotCommandConfigurationEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { BotCommandConfigurationParser } from '../../../parser/room/bots/BotCommandConfigurationParser'; export class BotCommandConfigurationEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/data/RoomBannedUsersEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomBannedUsersEvent.ts index f4d56579..18039053 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomBannedUsersEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomBannedUsersEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomSettingsUsersListParser } from '../../../parser/room/data/RoomSettingsUsersListParser'; export class RoomBannedUsersEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomBannedUsersEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomSettingsUsersListParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomChatSettingsEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomChatSettingsEvent.ts index 407d3224..387fbfb2 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomChatSettingsEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomChatSettingsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomChatSettingsParser } from '../../../parser/room/data/RoomChatSettingsParser'; export class RoomChatSettingsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomChatSettingsEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomChatSettingsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomInfoEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomInfoEvent.ts index bc84fd70..07b3754b 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomInfoEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomInfoEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomInfoParser } from '../../../parser/room/data/RoomInfoParser'; export class RoomInfoEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomInfoEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomInfoParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomInfoOwnerEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomInfoOwnerEvent.ts index bfbfb969..a5802565 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomInfoOwnerEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomInfoOwnerEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomInfoOwnerParser } from '../../../parser/room/data/RoomInfoOwnerParser'; export class RoomInfoOwnerEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomInfoOwnerEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomInfoOwnerParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomScoreEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomScoreEvent.ts index 040c408a..e2b62e0c 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomScoreEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomScoreEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomScoreParser } from '../../../parser/room/data/RoomScoreParser'; export class RoomScoreEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomScoreEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomScoreParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomSettingsErrorEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomSettingsErrorEvent.ts index 589d8db0..a126f45b 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomSettingsErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomSettingsErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomSettingsErrorParser } from '../../../parser/room/data/RoomSettingsErrorParser'; export class RoomSettingsErrorEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomSettingsErrorEvent extends MessageEvent implements IMessageEven { return this.parser as RoomSettingsErrorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomSettingsEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomSettingsEvent.ts index 27deb0e6..0b0fcba6 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomSettingsEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomSettingsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomSettingsParser } from '../../../parser/room/data/RoomSettingsParser'; export class RoomSettingsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomSettingsEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomSettingsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomSettingsSavedEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomSettingsSavedEvent.ts index 7b3dbd4c..86cd0ce2 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomSettingsSavedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomSettingsSavedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomSettingsSavedParser } from '../../../parser/room/data/RoomSettingsSavedParser'; export class RoomSettingsSavedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomSettingsSavedEvent extends MessageEvent implements IMessageEven { return this.parser as RoomSettingsSavedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomSettingsUpdatedEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomSettingsUpdatedEvent.ts index 314e7946..0a832884 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomSettingsUpdatedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomSettingsUpdatedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomSettingsUpdatedParser } from '../../../parser/room/data/RoomSettingsUpdatedParser'; export class RoomSettingsUpdatedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomSettingsUpdatedEvent extends MessageEvent implements IMessageEv { return this.parser as RoomSettingsUpdatedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/data/RoomUsersWithRightsEvent.ts b/src/nitro/communication/messages/incoming/room/data/RoomUsersWithRightsEvent.ts index b32b8c8a..733597f6 100644 --- a/src/nitro/communication/messages/incoming/room/data/RoomUsersWithRightsEvent.ts +++ b/src/nitro/communication/messages/incoming/room/data/RoomUsersWithRightsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomSettingsUsersListParser } from '../../../parser/room/data/RoomSettingsUsersListParser'; export class RoomUsersWithRightsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUsersWithRightsEvent extends MessageEvent implements IMessageEv { return this.parser as RoomSettingsUsersListParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/engine/ObjectsDataUpdateEvent.ts b/src/nitro/communication/messages/incoming/room/engine/ObjectsDataUpdateEvent.ts index 2a6035a2..e76ac1b7 100644 --- a/src/nitro/communication/messages/incoming/room/engine/ObjectsDataUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/room/engine/ObjectsDataUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { ObjectsDataUpdateParser } from '../../../parser/room/engine/ObjectsDataUpdateParser'; export class ObjectsDataUpdateEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/engine/ObjectsRollingEvent.ts b/src/nitro/communication/messages/incoming/room/engine/ObjectsRollingEvent.ts index 3576dcff..7746238a 100644 --- a/src/nitro/communication/messages/incoming/room/engine/ObjectsRollingEvent.ts +++ b/src/nitro/communication/messages/incoming/room/engine/ObjectsRollingEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { ObjectsRollingParser } from '../../../parser/room/engine/ObjectsRollingParser'; export class ObjectsRollingEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class ObjectsRollingEvent extends MessageEvent implements IMessageEvent { return this.parser as ObjectsRollingParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/engine/RoomCreatedEvent.ts b/src/nitro/communication/messages/incoming/room/engine/RoomCreatedEvent.ts index cfa37558..5fc57b6c 100644 --- a/src/nitro/communication/messages/incoming/room/engine/RoomCreatedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/engine/RoomCreatedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomCreatedParser } from '../../../parser/room/engine/RoomCreatedParser'; export class RoomCreatedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomCreatedEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomCreatedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/FurnitureAliasesEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/FurnitureAliasesEvent.ts index e36c34ca..166d761f 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/FurnitureAliasesEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/FurnitureAliasesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureAliasesParser } from '../../../parser/room/furniture/FurnitureAliasesParser'; export class FurnitureAliasesEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureAliasesEvent extends MessageEvent implements IMessageEvent { return this.parser as FurnitureAliasesParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/FurnitureDataEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/FurnitureDataEvent.ts index 3e7808e6..18f276ce 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/FurnitureDataEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/FurnitureDataEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureDataParser } from '../../../parser/room/furniture/FurnitureDataParser'; export class FurnitureDataEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureDataEvent extends MessageEvent implements IMessageEvent { return this.parser as FurnitureDataParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/FurnitureItemDataEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/FurnitureItemDataEvent.ts index a54e8daf..49abb54c 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/FurnitureItemDataEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/FurnitureItemDataEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureItemDataParser } from '../../../parser/room/furniture/FurnitureItemDataParser'; export class FurnitureItemDataEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureItemDataEvent extends MessageEvent implements IMessageEven { return this.parser as FurnitureItemDataParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/FurnitureStackHeightEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/FurnitureStackHeightEvent.ts index 90a9baa6..a780f194 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/FurnitureStackHeightEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/FurnitureStackHeightEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureStackHeightParser } from '../../../parser/room/furniture/FurnitureStackHeightParser'; export class FurnitureStackHeightEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureStackHeightEvent extends MessageEvent implements IMessageE { return this.parser as FurnitureStackHeightParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/FurnitureState2Event.ts b/src/nitro/communication/messages/incoming/room/furniture/FurnitureState2Event.ts index 7cc24502..e0368bb3 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/FurnitureState2Event.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/FurnitureState2Event.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureState2Parser } from '../../../parser/room/furniture/FurnitureState2Parser'; export class FurnitureState2Event extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureState2Event extends MessageEvent implements IMessageEvent { return this.parser as FurnitureState2Parser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/FurnitureStateEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/FurnitureStateEvent.ts index 07b53842..ecb4a400 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/FurnitureStateEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/FurnitureStateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { FurnitureStateParser } from '../../../parser/room/furniture/FurnitureStateParser'; export class FurnitureStateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureStateEvent extends MessageEvent implements IMessageEvent { return this.parser as FurnitureStateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFinishedEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFinishedEvent.ts index a8bdf2a7..f40eaa3d 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFinishedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFinishedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { LoveLockFurniFinishedParser } from '../../../parser/room/furniture/LoveLockFurniFinishedParser'; export class LoveLockFurniFinishedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFriendConfirmedEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFriendConfirmedEvent.ts index 3e279a31..38170045 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFriendConfirmedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniFriendConfirmedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { LoveLockFurniFriendConfirmedParser } from '../../../parser/room/furniture/LoveLockFurniFriendConfirmedParser'; export class LoveLockFurniFriendConfirmedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniStartEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniStartEvent.ts index 2c6ce083..a9962cb9 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniStartEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/LoveLockFurniStartEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { LoveLockFurniStartParser } from '../../../parser/room/furniture/LoveLockFurniStartParser'; export class LoveLockFurniStartEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/furniture/RoomDimmerPresetsMessageEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/RoomDimmerPresetsMessageEvent.ts index 049823d0..49233fbb 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/RoomDimmerPresetsMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/RoomDimmerPresetsMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomDimmerPresetsMessageParser } from '../../../parser/room/furniture/RoomDimmerPresetsMessageParser'; export class RoomDimmerPresetsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomDimmerPresetsEvent extends MessageEvent implements IMessageEven { return this.parser as RoomDimmerPresetsMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorAddEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorAddEvent.ts index e4418384..b399a54b 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorAddEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorAddEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureFloorAddParser } from '../../../../parser/room/furniture/floor/FurnitureFloorAddParser'; export class FurnitureFloorAddEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureFloorAddEvent extends MessageEvent implements IMessageEven { return this.parser as FurnitureFloorAddParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorEvent.ts index 64aa7314..508527fc 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureFloorParser } from '../../../../parser/room/furniture/floor/FurnitureFloorParser'; export class FurnitureFloorEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureFloorEvent extends MessageEvent implements IMessageEvent { return this.parser as FurnitureFloorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorRemoveEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorRemoveEvent.ts index 727a165e..005cf3a6 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorRemoveEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorRemoveEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureFloorRemoveParser } from '../../../../parser/room/furniture/floor/FurnitureFloorRemoveParser'; export class FurnitureFloorRemoveEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureFloorRemoveEvent extends MessageEvent implements IMessageE { return this.parser as FurnitureFloorRemoveParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorUpdateEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorUpdateEvent.ts index 245e6aba..147efc26 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/floor/FurnitureFloorUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureFloorUpdateParser } from '../../../../parser/room/furniture/floor/FurnitureFloorUpdateParser'; export class FurnitureFloorUpdateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureFloorUpdateEvent extends MessageEvent implements IMessageE { return this.parser as FurnitureFloorUpdateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallAddEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallAddEvent.ts index 10f6f585..b9807153 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallAddEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallAddEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureWallAddParser } from '../../../../parser/room/furniture/wall/FurnitureWallAddParser'; export class FurnitureWallAddEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureWallAddEvent extends MessageEvent implements IMessageEvent { return this.parser as FurnitureWallAddParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallEvent.ts index 46d06b2e..0db0f55d 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureWallParser } from '../../../../parser/room/furniture/wall/FurnitureWallParser'; export class FurnitureWallEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureWallEvent extends MessageEvent implements IMessageEvent { return this.parser as FurnitureWallParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallRemoveEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallRemoveEvent.ts index 92840164..4028bcb7 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallRemoveEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallRemoveEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureWallRemoveParser } from '../../../../parser/room/furniture/wall/FurnitureWallRemoveParser'; export class FurnitureWallRemoveEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureWallRemoveEvent extends MessageEvent implements IMessageEv { return this.parser as FurnitureWallRemoveParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallUpdateEvent.ts b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallUpdateEvent.ts index 86e8f3b9..9f0590f7 100644 --- a/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/room/furniture/wall/FurnitureWallUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FurnitureWallUpdateParser } from '../../../../parser/room/furniture/wall/FurnitureWallUpdateParser'; export class FurnitureWallUpdateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class FurnitureWallUpdateEvent extends MessageEvent implements IMessageEv { return this.parser as FurnitureWallUpdateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomBlockedTilesEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomBlockedTilesEvent.ts index 2c708a42..5c7376de 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomBlockedTilesEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomBlockedTilesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomBlockedTilesParser } from '../../../parser/room/mapping/RoomBlockedTilesParser'; export class RoomBlockedTilesEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomBlockedTilesEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomBlockedTilesParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomDoorEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomDoorEvent.ts index 12051a65..7565a3e0 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomDoorEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomDoorEvent.ts @@ -1,6 +1,5 @@ +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomDoorParser } from '../../../parser/room/mapping/RoomDoorParser'; -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; export class RoomDoorEvent extends MessageEvent implements IMessageEvent { @@ -13,4 +12,4 @@ export class RoomDoorEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomDoorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapEvent.ts index 48b1cbdf..785ae3f0 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapEvent.ts @@ -1,6 +1,5 @@ +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomHeightMapParser } from '../../../parser/room/mapping/RoomHeightMapParser'; -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; export class RoomHeightMapEvent extends MessageEvent implements IMessageEvent { @@ -13,4 +12,4 @@ export class RoomHeightMapEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomHeightMapParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapUpdateEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapUpdateEvent.ts index 02cd7c01..60818584 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomHeightMapUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomHeightMapUpdateParser } from '../../../parser/room/mapping/RoomHeightMapUpdateParser'; export class RoomHeightMapUpdateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomHeightMapUpdateEvent extends MessageEvent implements IMessageEv { return this.parser as RoomHeightMapUpdateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomModelEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomModelEvent.ts index 17ac3cbc..aebef308 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomModelEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomModelEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomModelParser } from '../../../parser/room/mapping/RoomModelParser'; export class RoomModelEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomModelEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomModelParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomModelNameEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomModelNameEvent.ts index 575ec56a..c941832b 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomModelNameEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomModelNameEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomModelNameParser } from '../../../parser/room/mapping/RoomModelNameParser'; export class RoomModelNameEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomModelNameEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomModelNameParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomPaintEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomPaintEvent.ts index 9e1597af..9ed6cadd 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomPaintEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomPaintEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomPaintParser } from '../../../parser/room/mapping/RoomPaintParser'; export class RoomPaintEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomPaintEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomPaintParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/mapping/RoomThicknessEvent.ts b/src/nitro/communication/messages/incoming/room/mapping/RoomThicknessEvent.ts index 3ea31011..784da2a0 100644 --- a/src/nitro/communication/messages/incoming/room/mapping/RoomThicknessEvent.ts +++ b/src/nitro/communication/messages/incoming/room/mapping/RoomThicknessEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomThicknessParser } from '../../../parser/room/mapping/RoomThicknessParser'; export class RoomThicknessEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomThicknessEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomThicknessParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/pet/BreedingPetInfo.ts b/src/nitro/communication/messages/incoming/room/pet/BreedingPetInfo.ts index e01b9d75..2545b3aa 100644 --- a/src/nitro/communication/messages/incoming/room/pet/BreedingPetInfo.ts +++ b/src/nitro/communication/messages/incoming/room/pet/BreedingPetInfo.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class BreedingPetInfo { diff --git a/src/nitro/communication/messages/incoming/room/pet/PetFigureUpdateEvent.ts b/src/nitro/communication/messages/incoming/room/pet/PetFigureUpdateEvent.ts index 00a56355..b36c3f38 100644 --- a/src/nitro/communication/messages/incoming/room/pet/PetFigureUpdateEvent.ts +++ b/src/nitro/communication/messages/incoming/room/pet/PetFigureUpdateEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { PetFigureUpdateParser } from '../../../parser/room/pet/PetFigureUpdateParser'; export class PetFigureUpdateEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class PetFigureUpdateEvent extends MessageEvent implements IMessageEvent { return this.parser as PetFigureUpdateParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/pet/PetInfoEvent.ts b/src/nitro/communication/messages/incoming/room/pet/PetInfoEvent.ts index 3372412a..04e4a199 100644 --- a/src/nitro/communication/messages/incoming/room/pet/PetInfoEvent.ts +++ b/src/nitro/communication/messages/incoming/room/pet/PetInfoEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { PetInfoParser } from '../../../parser/room/pet/PetInfoParser'; export class PetInfoEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/pet/RarityCategoryData.ts b/src/nitro/communication/messages/incoming/room/pet/RarityCategoryData.ts index 02858ab3..8f0c38a5 100644 --- a/src/nitro/communication/messages/incoming/room/pet/RarityCategoryData.ts +++ b/src/nitro/communication/messages/incoming/room/pet/RarityCategoryData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class RarityCategoryData { diff --git a/src/nitro/communication/messages/incoming/room/session/YouArePlayingGameEvent.ts b/src/nitro/communication/messages/incoming/room/session/YouArePlayingGameEvent.ts index a8471056..0bfbf08c 100644 --- a/src/nitro/communication/messages/incoming/room/session/YouArePlayingGameEvent.ts +++ b/src/nitro/communication/messages/incoming/room/session/YouArePlayingGameEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { YouArePlayingGameParser } from '../../../parser/room/session/YouArePlayingGameParser'; export class YouArePlayingGameEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class YouArePlayingGameEvent extends MessageEvent implements IMessageEven { return this.parser as YouArePlayingGameParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitDanceEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitDanceEvent.ts index 0b2ab9d3..04c8b81f 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitDanceEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitDanceEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitDanceParser } from '../../../parser/room/unit/RoomUnitDanceParser'; export class RoomUnitDanceEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitDanceEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitDanceParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitEffectEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitEffectEvent.ts index 213ec52c..5f99b2d7 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitEffectEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitEffectEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitEffectParser } from '../../../parser/room/unit/RoomUnitEffectParser'; export class RoomUnitEffectEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitEffectEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitEffectParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitEvent.ts index 643afb5f..8621087a 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitParser } from '../../../parser/room/unit/RoomUnitParser'; export class RoomUnitEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitExpressionEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitExpressionEvent.ts index 36bc3478..72c2b13f 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitExpressionEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitExpressionEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitExpressionParser } from '../../../parser/room/unit/RoomUnitExpressionParser'; export class RoomUnitExpressionEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitExpressionEvent extends MessageEvent implements IMessageEve { return this.parser as RoomUnitExpressionParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemEvent.ts index e9ad8b58..846fe6db 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitHandItemParser } from '../../../parser/room/unit/RoomUnitHandItemParser'; export class RoomUnitHandItemEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitHandItemEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitHandItemParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemReceivedEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemReceivedEvent.ts index 3a0e88a8..03feb4ca 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemReceivedEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitHandItemReceivedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitHandItemReceivedParser } from '../../../parser/room/unit/RoomUnitHandItemReceivedParser'; export class RoomUnitHandItemReceivedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitIdleEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitIdleEvent.ts index ef7089ff..3289c62e 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitIdleEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitIdleEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitIdleParser } from '../../../parser/room/unit/RoomUnitIdleParser'; export class RoomUnitIdleEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitIdleEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitIdleParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitInfoEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitInfoEvent.ts index f3dee198..a75d320a 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitInfoEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitInfoEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitInfoParser } from '../../../parser/room/unit/RoomUnitInfoParser'; export class RoomUnitInfoEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitInfoEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitInfoParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitNumberEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitNumberEvent.ts index 316a82e6..aa1b0319 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitNumberEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitNumberEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitNumberParser } from '../../../parser/room/unit/RoomUnitNumberParser'; export class RoomUnitNumberEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitNumberEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitNumberParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitRemoveEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitRemoveEvent.ts index 3f410a2d..0a82b551 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitRemoveEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitRemoveEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitRemoveParser } from '../../../parser/room/unit/RoomUnitRemoveParser'; export class RoomUnitRemoveEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitRemoveEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitRemoveParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/RoomUnitStatusEvent.ts b/src/nitro/communication/messages/incoming/room/unit/RoomUnitStatusEvent.ts index 808b184f..7066f917 100644 --- a/src/nitro/communication/messages/incoming/room/unit/RoomUnitStatusEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/RoomUnitStatusEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RoomUnitStatusParser } from '../../../parser/room/unit/RoomUnitStatusParser'; export class RoomUnitStatusEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitStatusEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitStatusParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/chat/FloodControlEvent.ts b/src/nitro/communication/messages/incoming/room/unit/chat/FloodControlEvent.ts index 54d61dd7..25971e97 100644 --- a/src/nitro/communication/messages/incoming/room/unit/chat/FloodControlEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/chat/FloodControlEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { FloodControlParser } from '../../../../parser/room/unit/chat/FloodControlParser'; export class FloodControlEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/unit/chat/RemainingMuteEvent.ts b/src/nitro/communication/messages/incoming/room/unit/chat/RemainingMuteEvent.ts index 94eb5106..ebebf7ee 100644 --- a/src/nitro/communication/messages/incoming/room/unit/chat/RemainingMuteEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/chat/RemainingMuteEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RemainingMuteParser } from '../../../../parser/room/unit/chat/RemainingMuteParser'; export class RemainingMuteEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatEvent.ts b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatEvent.ts index bc5514d7..98ea1ac5 100644 --- a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomUnitChatParser } from '../../../../parser/room/unit/chat/RoomUnitChatParser'; export class RoomUnitChatEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitChatEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitChatParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatShoutEvent.ts b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatShoutEvent.ts index d6096b4d..441012bd 100644 --- a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatShoutEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatShoutEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomUnitChatParser } from '../../../../parser/room/unit/chat/RoomUnitChatParser'; export class RoomUnitChatShoutEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitChatShoutEvent extends MessageEvent implements IMessageEven { return this.parser as RoomUnitChatParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatWhisperEvent.ts b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatWhisperEvent.ts index 2f2944d0..90447a0d 100644 --- a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatWhisperEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitChatWhisperEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomUnitChatParser } from '../../../../parser/room/unit/chat/RoomUnitChatParser'; export class RoomUnitChatWhisperEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitChatWhisperEvent extends MessageEvent implements IMessageEv { return this.parser as RoomUnitChatParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitTypingEvent.ts b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitTypingEvent.ts index 159bd502..34f1dc9f 100644 --- a/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitTypingEvent.ts +++ b/src/nitro/communication/messages/incoming/room/unit/chat/RoomUnitTypingEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { RoomUnitTypingParser } from '../../../../parser/room/unit/chat/RoomUnitTypingParser'; export class RoomUnitTypingEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomUnitTypingEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomUnitTypingParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/ConditionDefinition.ts b/src/nitro/communication/messages/incoming/roomevents/ConditionDefinition.ts index 2671f6ae..b4519271 100644 --- a/src/nitro/communication/messages/incoming/roomevents/ConditionDefinition.ts +++ b/src/nitro/communication/messages/incoming/roomevents/ConditionDefinition.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { Triggerable } from './Triggerable'; export class ConditionDefinition extends Triggerable @@ -21,4 +21,4 @@ export class ConditionDefinition extends Triggerable { return this._type; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/RoomMutedEvent.ts b/src/nitro/communication/messages/incoming/roomevents/RoomMutedEvent.ts index bbe27abe..f6847674 100644 --- a/src/nitro/communication/messages/incoming/roomevents/RoomMutedEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/RoomMutedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { RoomMutedParser } from '../../parser/roomevents/RoomMutedParser'; export class RoomMutedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class RoomMutedEvent extends MessageEvent implements IMessageEvent { return this.parser as RoomMutedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/TriggerDefinition.ts b/src/nitro/communication/messages/incoming/roomevents/TriggerDefinition.ts index 10eec522..d6b4e815 100644 --- a/src/nitro/communication/messages/incoming/roomevents/TriggerDefinition.ts +++ b/src/nitro/communication/messages/incoming/roomevents/TriggerDefinition.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { Triggerable } from './Triggerable'; export class TriggerDefinition extends Triggerable diff --git a/src/nitro/communication/messages/incoming/roomevents/Triggerable.ts b/src/nitro/communication/messages/incoming/roomevents/Triggerable.ts index d9f454d1..554f92f2 100644 --- a/src/nitro/communication/messages/incoming/roomevents/Triggerable.ts +++ b/src/nitro/communication/messages/incoming/roomevents/Triggerable.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class Triggerable { diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredActionDefinition.ts b/src/nitro/communication/messages/incoming/roomevents/WiredActionDefinition.ts index 1db28deb..f174c7da 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredActionDefinition.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredActionDefinition.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { Triggerable } from './Triggerable'; export class WiredActionDefinition extends Triggerable diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredFurniActionEvent.ts b/src/nitro/communication/messages/incoming/roomevents/WiredFurniActionEvent.ts index e20ca83a..6d8a1d78 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredFurniActionEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredFurniActionEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WiredFurniActionParser } from '../../parser/roomevents/WiredFurniActionParser'; export class WiredFurniActionEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class WiredFurniActionEvent extends MessageEvent implements IMessageEvent { return this.parser as WiredFurniActionParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredFurniConditionEvent.ts b/src/nitro/communication/messages/incoming/roomevents/WiredFurniConditionEvent.ts index 4d9a729e..777b02ac 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredFurniConditionEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredFurniConditionEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WiredFurniConditionParser } from '../../parser/roomevents/WiredFurniConditionParser'; export class WiredFurniConditionEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class WiredFurniConditionEvent extends MessageEvent implements IMessageEv { return this.parser as WiredFurniConditionParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredFurniTriggerEvent.ts b/src/nitro/communication/messages/incoming/roomevents/WiredFurniTriggerEvent.ts index 4b4ff095..3dd647e2 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredFurniTriggerEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredFurniTriggerEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WiredFurniTriggerParser } from '../../parser/roomevents/WiredFurniTriggerParser'; export class WiredFurniTriggerEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class WiredFurniTriggerEvent extends MessageEvent implements IMessageEven { return this.parser as WiredFurniTriggerParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredOpenEvent.ts b/src/nitro/communication/messages/incoming/roomevents/WiredOpenEvent.ts index 0824e49d..e92dce72 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredOpenEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredOpenEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WiredOpenParser } from '../../parser/roomevents/WiredOpenParser'; export class WiredOpenEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class WiredOpenEvent extends MessageEvent implements IMessageEvent { return this.parser as WiredOpenParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredRewardResultMessageEvent.ts b/src/nitro/communication/messages/incoming/roomevents/WiredRewardResultMessageEvent.ts index 7792f7e2..6ac69e19 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredRewardResultMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredRewardResultMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WiredRewardResultMessageParser } from '../../parser/roomevents/WiredRewardResultMessageParser'; export class WiredRewardResultMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredSaveSuccessEvent.ts b/src/nitro/communication/messages/incoming/roomevents/WiredSaveSuccessEvent.ts index 02534465..8132ad88 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredSaveSuccessEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredSaveSuccessEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WiredSaveSuccessParser } from '../../parser/roomevents/WiredSaveSuccessParser'; export class WiredSaveSuccessEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class WiredSaveSuccessEvent extends MessageEvent implements IMessageEvent { return this.parser as WiredSaveSuccessParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/roomevents/WiredValidationErrorEvent.ts b/src/nitro/communication/messages/incoming/roomevents/WiredValidationErrorEvent.ts index 14d09754..78014c47 100644 --- a/src/nitro/communication/messages/incoming/roomevents/WiredValidationErrorEvent.ts +++ b/src/nitro/communication/messages/incoming/roomevents/WiredValidationErrorEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { WiredValidationErrorParser } from '../../parser/roomevents/WiredValidationErrorParser'; export class WiredValidationErrorEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class WiredValidationErrorEvent extends MessageEvent implements IMessageE { return this.parser as WiredValidationErrorParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/security/AuthenticatedEvent.ts b/src/nitro/communication/messages/incoming/security/AuthenticatedEvent.ts index 8c01ea30..58153eed 100644 --- a/src/nitro/communication/messages/incoming/security/AuthenticatedEvent.ts +++ b/src/nitro/communication/messages/incoming/security/AuthenticatedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { AuthenticatedParser } from '../../parser/security/AuthenticatedParser'; export class AuthenticatedEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class AuthenticatedEvent extends MessageEvent implements IMessageEvent { return this.parser as AuthenticatedParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/sound/JukeboxPlayListFullMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/JukeboxPlayListFullMessageEvent.ts index fcfdf849..350a4bf6 100644 --- a/src/nitro/communication/messages/incoming/sound/JukeboxPlayListFullMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/JukeboxPlayListFullMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { JukeboxPlayListFullMessageParser } from '../../parser'; export class JukeboxPlayListFullMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/sound/JukeboxSongDisksMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/JukeboxSongDisksMessageEvent.ts index 48ace66a..dc383a5e 100644 --- a/src/nitro/communication/messages/incoming/sound/JukeboxSongDisksMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/JukeboxSongDisksMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { JukeboxSongDisksMessageParser } from '../../parser'; export class JukeboxSongDisksMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/sound/NowPlayingMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/NowPlayingMessageEvent.ts index ae016990..d8756b4e 100644 --- a/src/nitro/communication/messages/incoming/sound/NowPlayingMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/NowPlayingMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { NowPlayingMessageParser } from '../../parser'; export class NowPlayingMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/sound/OfficialSongIdMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/OfficialSongIdMessageEvent.ts index 883f53c0..01524c21 100644 --- a/src/nitro/communication/messages/incoming/sound/OfficialSongIdMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/OfficialSongIdMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { OfficialSongIdMessageParser } from '../../parser'; export class OfficialSongIdMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/sound/PlayListMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/PlayListMessageEvent.ts index 21d35432..27eb5279 100644 --- a/src/nitro/communication/messages/incoming/sound/PlayListMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/PlayListMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { PlayListMessageParser } from '../../parser'; export class PlayListMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/sound/PlayListSongAddedMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/PlayListSongAddedMessageEvent.ts index dea1784d..7ce8fc79 100644 --- a/src/nitro/communication/messages/incoming/sound/PlayListSongAddedMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/PlayListSongAddedMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { PlayListSongAddedMessageParser } from '../../parser'; export class PlayListSongAddedMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/sound/TraxSongInfoMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/TraxSongInfoMessageEvent.ts index 8685aa8e..80c1b83b 100644 --- a/src/nitro/communication/messages/incoming/sound/TraxSongInfoMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/TraxSongInfoMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { TraxSongInfoMessageParser } from '../../parser'; export class TraxSongInfoMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/sound/UserSongDisksInventoryMessageEvent.ts b/src/nitro/communication/messages/incoming/sound/UserSongDisksInventoryMessageEvent.ts index 6a58eae0..006912ca 100644 --- a/src/nitro/communication/messages/incoming/sound/UserSongDisksInventoryMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/sound/UserSongDisksInventoryMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { UserSongDisksInventoryMessageParser } from '../../parser'; export class UserSongDisksInventoryMessageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/user/ApproveNameMessageEvent.ts b/src/nitro/communication/messages/incoming/user/ApproveNameMessageEvent.ts new file mode 100644 index 00000000..74ce5938 --- /dev/null +++ b/src/nitro/communication/messages/incoming/user/ApproveNameMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { ApproveNameResultParser } from '../../parser'; + +export class ApproveNameMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, ApproveNameResultParser); + } + + public getParser(): ApproveNameResultParser + { + return this.parser as ApproveNameResultParser; + } +} diff --git a/src/nitro/communication/messages/incoming/user/GuildMembershipsMessageEvent.ts b/src/nitro/communication/messages/incoming/user/GuildMembershipsMessageEvent.ts new file mode 100644 index 00000000..16492a0f --- /dev/null +++ b/src/nitro/communication/messages/incoming/user/GuildMembershipsMessageEvent.ts @@ -0,0 +1,15 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; +import { GuildMembershipsMessageParser } from '../../parser/user/GuildMembershipsMessageParser'; + +export class GuildMembershipsMessageEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, GuildMembershipsMessageParser); + } + + public getParser(): GuildMembershipsMessageParser + { + return this.parser as GuildMembershipsMessageParser; + } +} diff --git a/src/nitro/communication/messages/incoming/user/IgnoreResultEvent.ts b/src/nitro/communication/messages/incoming/user/IgnoreResultEvent.ts index 2b700fdd..836fbd5b 100644 --- a/src/nitro/communication/messages/incoming/user/IgnoreResultEvent.ts +++ b/src/nitro/communication/messages/incoming/user/IgnoreResultEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { IgnoreResultParser } from '../../parser/user/IgnoreResultParser'; export class IgnoreResultEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/user/IgnoredUsersEvent.ts b/src/nitro/communication/messages/incoming/user/IgnoredUsersEvent.ts index d8ade5c9..7af9badd 100644 --- a/src/nitro/communication/messages/incoming/user/IgnoredUsersEvent.ts +++ b/src/nitro/communication/messages/incoming/user/IgnoredUsersEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { IgnoredUsersParser } from '../../parser/user/IgnoredUsersParser'; export class IgnoredUsersEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/user/InClientLinkEvent.ts b/src/nitro/communication/messages/incoming/user/InClientLinkEvent.ts index 76d0bc15..31f1dae3 100644 --- a/src/nitro/communication/messages/incoming/user/InClientLinkEvent.ts +++ b/src/nitro/communication/messages/incoming/user/InClientLinkEvent.ts @@ -1,6 +1,5 @@ +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { InClientLinkParser } from '../../parser/user/InClientLinkParser'; -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; export class InClientLinkEvent extends MessageEvent implements IMessageEvent { @@ -13,4 +12,4 @@ export class InClientLinkEvent extends MessageEvent implements IMessageEvent { return this.parser as InClientLinkParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/RespectReceivedEvent.ts b/src/nitro/communication/messages/incoming/user/RespectReceivedEvent.ts index f9765451..5c08dc69 100644 --- a/src/nitro/communication/messages/incoming/user/RespectReceivedEvent.ts +++ b/src/nitro/communication/messages/incoming/user/RespectReceivedEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../core'; import { RespectReceivedParser } from '../../parser/user/RespectReceivedParser'; export class RespectReceivedEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/user/access/UserPerksEvent.ts b/src/nitro/communication/messages/incoming/user/access/UserPerksEvent.ts index e921e8d6..083f7d00 100644 --- a/src/nitro/communication/messages/incoming/user/access/UserPerksEvent.ts +++ b/src/nitro/communication/messages/incoming/user/access/UserPerksEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserPerksParser } from '../../../parser/user/access/UserPerksParser'; export class UserPerksEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserPerksEvent extends MessageEvent implements IMessageEvent { return this.parser as UserPerksParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/access/UserPermissionsEvent.ts b/src/nitro/communication/messages/incoming/user/access/UserPermissionsEvent.ts index 73ffd528..dffb0040 100644 --- a/src/nitro/communication/messages/incoming/user/access/UserPermissionsEvent.ts +++ b/src/nitro/communication/messages/incoming/user/access/UserPermissionsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserPermissionsParser } from '../../../parser/user/access/UserPermissionsParser'; export class UserPermissionsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserPermissionsEvent extends MessageEvent implements IMessageEvent { return this.parser as UserPermissionsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/data/RelationshipStatusInfoEvent.ts b/src/nitro/communication/messages/incoming/user/data/RelationshipStatusInfoEvent.ts index 513ac49f..f54e3ec0 100644 --- a/src/nitro/communication/messages/incoming/user/data/RelationshipStatusInfoEvent.ts +++ b/src/nitro/communication/messages/incoming/user/data/RelationshipStatusInfoEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { RelationshipStatusInfoMessageParser } from '../../../parser/user/data/RelationshipStatusInfoMessageParser'; export class RelationshipStatusInfoEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/incoming/user/data/UserCurrentBadgesEvent.ts b/src/nitro/communication/messages/incoming/user/data/UserCurrentBadgesEvent.ts index c9936402..7158099b 100644 --- a/src/nitro/communication/messages/incoming/user/data/UserCurrentBadgesEvent.ts +++ b/src/nitro/communication/messages/incoming/user/data/UserCurrentBadgesEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserCurrentBadgesParser } from '../../../parser/user/data/UserCurrentBadgesParser'; export class UserCurrentBadgesEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserCurrentBadgesEvent extends MessageEvent implements IMessageEven { return this.parser as UserCurrentBadgesParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/data/UserInfoEvent.ts b/src/nitro/communication/messages/incoming/user/data/UserInfoEvent.ts index ffc071e7..fc50e45b 100644 --- a/src/nitro/communication/messages/incoming/user/data/UserInfoEvent.ts +++ b/src/nitro/communication/messages/incoming/user/data/UserInfoEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserInfoParser } from '../../../parser/user/data/UserInfoParser'; export class UserInfoEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserInfoEvent extends MessageEvent implements IMessageEvent { return this.parser as UserInfoParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/data/UserNameChangeMessageEvent.ts b/src/nitro/communication/messages/incoming/user/data/UserNameChangeMessageEvent.ts index 2b0d19a8..e44f06b1 100644 --- a/src/nitro/communication/messages/incoming/user/data/UserNameChangeMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/user/data/UserNameChangeMessageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserNameChangeMessageParser } from '../../../parser/user/data/UserNameChangeMessageParser'; export class UserNameChangeMessageEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserNameChangeMessageEvent extends MessageEvent implements IMessage { return this.parser as UserNameChangeMessageParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/data/UserProfileEvent.ts b/src/nitro/communication/messages/incoming/user/data/UserProfileEvent.ts index 82491aed..fec9dd43 100644 --- a/src/nitro/communication/messages/incoming/user/data/UserProfileEvent.ts +++ b/src/nitro/communication/messages/incoming/user/data/UserProfileEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserProfileParser } from '../../../parser/user/data/UserProfileParser'; export class UserProfileEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserProfileEvent extends MessageEvent implements IMessageEvent { return this.parser as UserProfileParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/data/UserSettingsEvent.ts b/src/nitro/communication/messages/incoming/user/data/UserSettingsEvent.ts index 7add18ac..75da6830 100644 --- a/src/nitro/communication/messages/incoming/user/data/UserSettingsEvent.ts +++ b/src/nitro/communication/messages/incoming/user/data/UserSettingsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserSettingsParser } from '../../../parser/user/data/UserSettingsParser'; export class UserSettingsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserSettingsEvent extends MessageEvent implements IMessageEvent { return this.parser as UserSettingsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/index.ts b/src/nitro/communication/messages/incoming/user/index.ts index 7eb7f52f..f95ca938 100644 --- a/src/nitro/communication/messages/incoming/user/index.ts +++ b/src/nitro/communication/messages/incoming/user/index.ts @@ -1,4 +1,5 @@ export * from './access'; +export * from './ApproveNameMessageEvent'; export * from './data'; export * from './IgnoredUsersEvent'; export * from './IgnoreResultEvent'; diff --git a/src/nitro/communication/messages/incoming/user/inventory/currency/UserCreditsEvent.ts b/src/nitro/communication/messages/incoming/user/inventory/currency/UserCreditsEvent.ts index bc2b65c5..584c1845 100644 --- a/src/nitro/communication/messages/incoming/user/inventory/currency/UserCreditsEvent.ts +++ b/src/nitro/communication/messages/incoming/user/inventory/currency/UserCreditsEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { UserCreditsParser } from '../../../../parser/user/inventory/currency/UserCreditsParser'; export class UserCreditsEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserCreditsEvent extends MessageEvent implements IMessageEvent { return this.parser as UserCreditsParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/inventory/currency/UserCurrencyEvent.ts b/src/nitro/communication/messages/incoming/user/inventory/currency/UserCurrencyEvent.ts index 6175e1bb..09c88ce6 100644 --- a/src/nitro/communication/messages/incoming/user/inventory/currency/UserCurrencyEvent.ts +++ b/src/nitro/communication/messages/incoming/user/inventory/currency/UserCurrencyEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { UserCurrencyParser } from '../../../../parser/user/inventory/currency/UserCurrencyParser'; export class UserCurrencyEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserCurrencyEvent extends MessageEvent implements IMessageEvent { return this.parser as UserCurrencyParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/inventory/subscription/UserSubscriptionEvent.ts b/src/nitro/communication/messages/incoming/user/inventory/subscription/UserSubscriptionEvent.ts index 2f370f24..300bfe11 100644 --- a/src/nitro/communication/messages/incoming/user/inventory/subscription/UserSubscriptionEvent.ts +++ b/src/nitro/communication/messages/incoming/user/inventory/subscription/UserSubscriptionEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../../core'; import { UserSubscriptionParser } from '../../../../parser/user/inventory/subscription/UserSubscriptionParser'; export class UserSubscriptionEvent extends MessageEvent implements IMessageEvent @@ -13,4 +12,4 @@ export class UserSubscriptionEvent extends MessageEvent implements IMessageEvent { return this.parser as UserSubscriptionParser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/incoming/user/wardrobe/UserWardrobePageEvent.ts b/src/nitro/communication/messages/incoming/user/wardrobe/UserWardrobePageEvent.ts index d0d87747..4d445a19 100644 --- a/src/nitro/communication/messages/incoming/user/wardrobe/UserWardrobePageEvent.ts +++ b/src/nitro/communication/messages/incoming/user/wardrobe/UserWardrobePageEvent.ts @@ -1,5 +1,4 @@ -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; +import { IMessageEvent, MessageEvent } from '../../../../../../core'; import { UserWardrobePageParser } from '../../../parser/user/wardrobe/UserWardrobePageParser'; export class UserWardrobePageEvent extends MessageEvent implements IMessageEvent diff --git a/src/nitro/communication/messages/parser/advertisement/InterstitialMessageParser.ts b/src/nitro/communication/messages/parser/advertisement/InterstitialMessageParser.ts index 70d7821f..20692dd0 100644 --- a/src/nitro/communication/messages/parser/advertisement/InterstitialMessageParser.ts +++ b/src/nitro/communication/messages/parser/advertisement/InterstitialMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class InterstitialMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/advertisement/RoomAdErrorMessageParser.ts b/src/nitro/communication/messages/parser/advertisement/RoomAdErrorMessageParser.ts index f0b73404..f31f4e67 100644 --- a/src/nitro/communication/messages/parser/advertisement/RoomAdErrorMessageParser.ts +++ b/src/nitro/communication/messages/parser/advertisement/RoomAdErrorMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class RoomAdErrorMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/availability/AvailabilityStatusMessageParser.ts b/src/nitro/communication/messages/parser/availability/AvailabilityStatusMessageParser.ts index 4f9f47df..a9b6a194 100644 --- a/src/nitro/communication/messages/parser/availability/AvailabilityStatusMessageParser.ts +++ b/src/nitro/communication/messages/parser/availability/AvailabilityStatusMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class AvailabilityStatusMessageParser implements IMessageParser { @@ -45,4 +44,4 @@ export class AvailabilityStatusMessageParser implements IMessageParser { return this._isAuthenticUser; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/availability/AvailabilityTimeMessageParser.ts b/src/nitro/communication/messages/parser/availability/AvailabilityTimeMessageParser.ts index 938523b5..9b1f4bfb 100644 --- a/src/nitro/communication/messages/parser/availability/AvailabilityTimeMessageParser.ts +++ b/src/nitro/communication/messages/parser/availability/AvailabilityTimeMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class AvailabilityTimeMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/availability/HotelClosedAndOpensMessageParser.ts b/src/nitro/communication/messages/parser/availability/HotelClosedAndOpensMessageParser.ts index 9786aff4..af3ffa9f 100644 --- a/src/nitro/communication/messages/parser/availability/HotelClosedAndOpensMessageParser.ts +++ b/src/nitro/communication/messages/parser/availability/HotelClosedAndOpensMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class HotelClosedAndOpensMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/availability/HotelClosesAndWillOpenAtMessageParser.ts b/src/nitro/communication/messages/parser/availability/HotelClosesAndWillOpenAtMessageParser.ts index d0935e4b..7013e448 100644 --- a/src/nitro/communication/messages/parser/availability/HotelClosesAndWillOpenAtMessageParser.ts +++ b/src/nitro/communication/messages/parser/availability/HotelClosesAndWillOpenAtMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class HotelClosesAndWillOpenAtMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/availability/HotelWillCloseInMinutesMessageParser.ts b/src/nitro/communication/messages/parser/availability/HotelWillCloseInMinutesMessageParser.ts index 2e358762..25b084a0 100644 --- a/src/nitro/communication/messages/parser/availability/HotelWillCloseInMinutesMessageParser.ts +++ b/src/nitro/communication/messages/parser/availability/HotelWillCloseInMinutesMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class HotelWillCloseInMinutesMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/availability/MaintenanceStatusMessageParser.ts b/src/nitro/communication/messages/parser/availability/MaintenanceStatusMessageParser.ts index 97f380e7..cb0328a5 100644 --- a/src/nitro/communication/messages/parser/availability/MaintenanceStatusMessageParser.ts +++ b/src/nitro/communication/messages/parser/availability/MaintenanceStatusMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class MaintenanceStatusMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/avatar/ChangeUserNameResultMessageParser.ts b/src/nitro/communication/messages/parser/avatar/ChangeUserNameResultMessageParser.ts index 15a8bb19..fe908069 100644 --- a/src/nitro/communication/messages/parser/avatar/ChangeUserNameResultMessageParser.ts +++ b/src/nitro/communication/messages/parser/avatar/ChangeUserNameResultMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class ChangeUserNameResultMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/avatar/CheckUserNameResultMessageParser.ts b/src/nitro/communication/messages/parser/avatar/CheckUserNameResultMessageParser.ts index 727f1efc..76ff0ead 100644 --- a/src/nitro/communication/messages/parser/avatar/CheckUserNameResultMessageParser.ts +++ b/src/nitro/communication/messages/parser/avatar/CheckUserNameResultMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class CheckUserNameResultMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/avatar/FigureUpdateParser.ts b/src/nitro/communication/messages/parser/avatar/FigureUpdateParser.ts index da40ecd3..d9e64413 100644 --- a/src/nitro/communication/messages/parser/avatar/FigureUpdateParser.ts +++ b/src/nitro/communication/messages/parser/avatar/FigureUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class FigureUpdateParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/avatar/WardrobeMessageParser.ts b/src/nitro/communication/messages/parser/avatar/WardrobeMessageParser.ts index 710318e9..bf193392 100644 --- a/src/nitro/communication/messages/parser/avatar/WardrobeMessageParser.ts +++ b/src/nitro/communication/messages/parser/avatar/WardrobeMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { OutfitData } from '../../incoming'; export class WardrobeMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/callforhelp/CfhSanctionMessageParser.ts b/src/nitro/communication/messages/parser/callforhelp/CfhSanctionMessageParser.ts index 37b097b3..d5fcddad 100644 --- a/src/nitro/communication/messages/parser/callforhelp/CfhSanctionMessageParser.ts +++ b/src/nitro/communication/messages/parser/callforhelp/CfhSanctionMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { CfhSanctionTypeData } from '../../incoming/callforhelp'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class CfhSanctionMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/callforhelp/CfhTopicsInitMessageParser.ts b/src/nitro/communication/messages/parser/callforhelp/CfhTopicsInitMessageParser.ts index 6365657f..f2ef9856 100644 --- a/src/nitro/communication/messages/parser/callforhelp/CfhTopicsInitMessageParser.ts +++ b/src/nitro/communication/messages/parser/callforhelp/CfhTopicsInitMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { CallForHelpCategoryData } from '../modtool'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class CfhTopicsInitMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/callforhelp/SanctionStatusMessageParser.ts b/src/nitro/communication/messages/parser/callforhelp/SanctionStatusMessageParser.ts index a3e9b60a..b64eb812 100644 --- a/src/nitro/communication/messages/parser/callforhelp/SanctionStatusMessageParser.ts +++ b/src/nitro/communication/messages/parser/callforhelp/SanctionStatusMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class SanctionStatusMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/camera/CameraPublishStatusMessageParser.ts b/src/nitro/communication/messages/parser/camera/CameraPublishStatusMessageParser.ts index be9ce189..c23ee0f1 100644 --- a/src/nitro/communication/messages/parser/camera/CameraPublishStatusMessageParser.ts +++ b/src/nitro/communication/messages/parser/camera/CameraPublishStatusMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class CameraPublishStatusMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/camera/CameraPurchaseOKMessageParser.ts b/src/nitro/communication/messages/parser/camera/CameraPurchaseOKMessageParser.ts index 1ecb9d84..fc7c0658 100644 --- a/src/nitro/communication/messages/parser/camera/CameraPurchaseOKMessageParser.ts +++ b/src/nitro/communication/messages/parser/camera/CameraPurchaseOKMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class CameraPurchaseOKMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/camera/CameraStorageUrlMessageParser.ts b/src/nitro/communication/messages/parser/camera/CameraStorageUrlMessageParser.ts index 101a808a..dd32d742 100644 --- a/src/nitro/communication/messages/parser/camera/CameraStorageUrlMessageParser.ts +++ b/src/nitro/communication/messages/parser/camera/CameraStorageUrlMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class CameraStorageUrlMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/camera/CompetitionStatusMessageParser.ts b/src/nitro/communication/messages/parser/camera/CompetitionStatusMessageParser.ts index aa8d6119..40202c8c 100644 --- a/src/nitro/communication/messages/parser/camera/CompetitionStatusMessageParser.ts +++ b/src/nitro/communication/messages/parser/camera/CompetitionStatusMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class CompetitionStatusMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/camera/InitCameraMessageParser.ts b/src/nitro/communication/messages/parser/camera/InitCameraMessageParser.ts index 8680e335..523c76d7 100644 --- a/src/nitro/communication/messages/parser/camera/InitCameraMessageParser.ts +++ b/src/nitro/communication/messages/parser/camera/InitCameraMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class InitCameraMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/camera/ThumbnailStatusMessageParser.ts b/src/nitro/communication/messages/parser/camera/ThumbnailStatusMessageParser.ts index 06cb5ace..ac628b3d 100644 --- a/src/nitro/communication/messages/parser/camera/ThumbnailStatusMessageParser.ts +++ b/src/nitro/communication/messages/parser/camera/ThumbnailStatusMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class ThumbnailStatusMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/campaign/CampaignCalendarDataMessageParser.ts b/src/nitro/communication/messages/parser/campaign/CampaignCalendarDataMessageParser.ts index 40c51aff..3bfce039 100644 --- a/src/nitro/communication/messages/parser/campaign/CampaignCalendarDataMessageParser.ts +++ b/src/nitro/communication/messages/parser/campaign/CampaignCalendarDataMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; import { CampaignCalendarData } from './CampaignCalendarData'; export class CampaignCalendarDataMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/campaign/CampaignCalendarDoorOpenedMessageParser.ts b/src/nitro/communication/messages/parser/campaign/CampaignCalendarDoorOpenedMessageParser.ts index 14a732dd..3bf902dc 100644 --- a/src/nitro/communication/messages/parser/campaign/CampaignCalendarDoorOpenedMessageParser.ts +++ b/src/nitro/communication/messages/parser/campaign/CampaignCalendarDoorOpenedMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class CampaignCalendarDoorOpenedMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/catalog/BonusRareInfoMessageParser.ts b/src/nitro/communication/messages/parser/catalog/BonusRareInfoMessageParser.ts index d3d988cd..8eb02b35 100644 --- a/src/nitro/communication/messages/parser/catalog/BonusRareInfoMessageParser.ts +++ b/src/nitro/communication/messages/parser/catalog/BonusRareInfoMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class BonusRareInfoMessageParser implements IMessageParser { @@ -17,7 +17,7 @@ export class BonusRareInfoMessageParser implements IMessageParser return true; } - public parse(wrapper:IMessageDataWrapper): boolean + public parse(wrapper: IMessageDataWrapper): boolean { if(!wrapper) return false; diff --git a/src/nitro/communication/messages/parser/catalog/BuildersClubFurniCountMessageParser.ts b/src/nitro/communication/messages/parser/catalog/BuildersClubFurniCountMessageParser.ts new file mode 100644 index 00000000..a3a0f7a7 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/BuildersClubFurniCountMessageParser.ts @@ -0,0 +1,28 @@ +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; + +export class BuildersClubFurniCountMessageParser implements IMessageParser +{ + private _furniCount: number; + + public flush(): boolean + { + this._furniCount = 0; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._furniCount = wrapper.readInt(); + + return true; + } + + public get furniCount(): number + { + return this._furniCount; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/BuildersClubSubscriptionStatusMessageParser.ts b/src/nitro/communication/messages/parser/catalog/BuildersClubSubscriptionStatusMessageParser.ts new file mode 100644 index 00000000..95a781e6 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/BuildersClubSubscriptionStatusMessageParser.ts @@ -0,0 +1,54 @@ +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; + +export class BuildersClubSubscriptionStatusMessageParser implements IMessageParser +{ + private _Str_16456: number; + private _Str_12494: number; + private _Str_19123: number; + private _Str_17298: number; + + public flush(): boolean + { + this._Str_16456 = 0; + this._Str_12494 = 0; + this._Str_19123 = 0; + this._Str_17298 = 0; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._Str_16456 = wrapper.readInt(); + this._Str_12494 = wrapper.readInt(); + this._Str_19123 = wrapper.readInt(); + + if(wrapper.bytesAvailable) this._Str_17298 = wrapper.readInt(); + else this._Str_17298 = this._Str_16456; + + return true; + } + + public get _Str_3709(): number + { + return this._Str_16456; + } + + public get _Str_15864(): number + { + return this._Str_12494; + } + + public get _Str_24094(): number + { + return this._Str_19123; + } + + public get _Str_24379(): number + { + return this._Str_17298; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/BundleDiscountRulesetMessageParser.ts b/src/nitro/communication/messages/parser/catalog/BundleDiscountRulesetMessageParser.ts new file mode 100644 index 00000000..9816e6d9 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/BundleDiscountRulesetMessageParser.ts @@ -0,0 +1,29 @@ +import { IMessageDataWrapper } from '../../../../../core'; +import { BundleDiscountRuleset } from '../../incoming'; +import { IMessageParser } from './../../../../../core'; + +export class BundleDiscountRulesetMessageParser implements IMessageParser +{ + private _bundleDiscountRuleset: BundleDiscountRuleset; + + public flush(): boolean + { + this._bundleDiscountRuleset = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._bundleDiscountRuleset = new BundleDiscountRuleset(wrapper); + + return true; + } + + public get bundleDiscountRuleset(): BundleDiscountRuleset + { + return this._bundleDiscountRuleset; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogClubParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogClubParser.ts deleted file mode 100644 index e06c1c63..00000000 --- a/src/nitro/communication/messages/parser/catalog/CatalogClubParser.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogClubOfferData } from './utils/CatalogClubOfferData'; - -export class CatalogClubParser implements IMessageParser -{ - private _offers: CatalogClubOfferData[]; - - public flush(): boolean - { - this._offers = []; - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - - let totalOffers = wrapper.readInt(); - - while(totalOffers > 0) - { - this._offers.push(new CatalogClubOfferData(wrapper)); - - totalOffers--; - } - - return true; - } - - public get offers(): CatalogClubOfferData[] - { - return this._offers; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/parser/catalog/CatalogGiftUsernameUnavailableParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogGiftUsernameUnavailableParser.ts deleted file mode 100644 index a33a9898..00000000 --- a/src/nitro/communication/messages/parser/catalog/CatalogGiftUsernameUnavailableParser.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; - -export class CatalogGiftUsernameUnavailableParser implements IMessageParser -{ - - public flush(): boolean - { - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - - return true; - } - - -} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPagesParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogIndexMessageParser.ts similarity index 58% rename from src/nitro/communication/messages/parser/catalog/CatalogPagesParser.ts rename to src/nitro/communication/messages/parser/catalog/CatalogIndexMessageParser.ts index 099549ef..00102499 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogPagesParser.ts +++ b/src/nitro/communication/messages/parser/catalog/CatalogIndexMessageParser.ts @@ -1,10 +1,9 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogPageData } from './utils/CatalogPageData'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { NodeData } from '../../incoming/catalog/NodeData'; -export class CatalogPagesParser implements IMessageParser +export class CatalogIndexMessageParser implements IMessageParser { - private _root: CatalogPageData; + private _root: NodeData; private _newAdditionsAvailable: boolean; private _catalogType: string; @@ -19,14 +18,14 @@ export class CatalogPagesParser implements IMessageParser { if(!wrapper) return false; - this._root = new CatalogPageData(wrapper); + this._root = new NodeData(wrapper); this._newAdditionsAvailable = wrapper.readBoolean(); this._catalogType = wrapper.readString(); return true; } - public get root(): CatalogPageData + public get root(): NodeData { return this._root; } @@ -40,4 +39,4 @@ export class CatalogPagesParser implements IMessageParser { return this._catalogType; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogModeParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogModeParser.ts deleted file mode 100644 index 97ec9b7f..00000000 --- a/src/nitro/communication/messages/parser/catalog/CatalogModeParser.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; - -export class CatalogModeParser implements IMessageParser -{ - private _mode: number; - - public flush(): boolean - { - this._mode = -1; - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - - this._mode = wrapper.readInt(); - - return true; - } - - public get mode(): number - { - return this._mode; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPageExpirationParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogPageExpirationParser.ts new file mode 100644 index 00000000..5f1e0970 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/CatalogPageExpirationParser.ts @@ -0,0 +1,51 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class CatalogPageExpirationParser implements IMessageParser +{ + private _pageName: string; + private _pageId: number; + private _Str_5158: number; + private _image: string; + + public flush(): boolean + { + this._pageName = null; + this._pageId = 0; + this._Str_5158 = 0; + this._image = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._pageId = wrapper.readInt(); + this._pageName = wrapper.readString(); + this._Str_5158 = wrapper.readInt(); + this._image = wrapper.readString(); + + return true; + } + + public get pageName(): string + { + return this._pageName; + } + + public get pageId(): number + { + return this._pageId; + } + + public get _Str_17123(): number + { + return this._Str_5158; + } + + public get image(): string + { + return this._image; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPageParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogPageMessageParser.ts similarity index 72% rename from src/nitro/communication/messages/parser/catalog/CatalogPageParser.ts rename to src/nitro/communication/messages/parser/catalog/CatalogPageMessageParser.ts index 021b9656..3ad38ec3 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogPageParser.ts +++ b/src/nitro/communication/messages/parser/catalog/CatalogPageMessageParser.ts @@ -1,20 +1,19 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogFrontPageItem } from './utils/CatalogFrontPageItem'; -import { CatalogLocalizationData } from './utils/CatalogLocalizationData'; -import { CatalogPageOfferData } from './utils/CatalogPageOfferData'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { CatalogLocalizationData } from '../../incoming/catalog/CatalogLocalizationData'; +import { CatalogPageMessageOfferData } from '../../incoming/catalog/CatalogPageMessageOfferData'; +import { FrontPageItem } from '../../incoming/catalog/FrontPageItem'; import { ICatalogPageParser } from './utils/ICatalogPageParser'; -export class CatalogPageParser implements IMessageParser, ICatalogPageParser +export class CatalogPageMessageParser implements IMessageParser, ICatalogPageParser { private _pageId: number; private _catalogType: string; private _layoutCode: string; private _localization: CatalogLocalizationData; - private _offers: CatalogPageOfferData[]; + private _offers: CatalogPageMessageOfferData[]; private _offerId: number; private _acceptSeasonCurrencyAsCredits: boolean; - private _frontPageItems: CatalogFrontPageItem[]; + private _frontPageItems: FrontPageItem[]; public flush(): boolean { @@ -43,7 +42,7 @@ export class CatalogPageParser implements IMessageParser, ICatalogPageParser while(totalOffers > 0) { - this._offers.push(new CatalogPageOfferData(wrapper)); + this._offers.push(new CatalogPageMessageOfferData(wrapper)); totalOffers--; } @@ -57,7 +56,7 @@ export class CatalogPageParser implements IMessageParser, ICatalogPageParser while(totalFrontPageItems > 0) { - this._frontPageItems.push(new CatalogFrontPageItem(wrapper)); + this._frontPageItems.push(new FrontPageItem(wrapper)); totalFrontPageItems--; } @@ -86,7 +85,7 @@ export class CatalogPageParser implements IMessageParser, ICatalogPageParser return this._localization; } - public get offers(): CatalogPageOfferData[] + public get offers(): CatalogPageMessageOfferData[] { return this._offers; } @@ -101,7 +100,7 @@ export class CatalogPageParser implements IMessageParser, ICatalogPageParser return this._acceptSeasonCurrencyAsCredits; } - public get frontPageItems(): CatalogFrontPageItem[] + public get frontPageItems(): FrontPageItem[] { return this._frontPageItems; } diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPageWithEarliestExpiryMessageParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogPageWithEarliestExpiryMessageParser.ts new file mode 100644 index 00000000..d0f2d9a7 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/CatalogPageWithEarliestExpiryMessageParser.ts @@ -0,0 +1,43 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class CatalogPageWithEarliestExpiryMessageParser implements IMessageParser +{ + private _pageName: string; + private _Str_5158: number; + private _image: string; + + public flush(): boolean + { + this._pageName = null; + this._Str_5158 = 0; + this._image = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._pageName = wrapper.readString(); + this._Str_5158 = wrapper.readInt(); + this._image = wrapper.readString(); + + return true; + } + + public get pageName(): string + { + return this._pageName; + } + + public get _Str_17123(): number + { + return this._Str_5158; + } + + public get image(): string + { + return this._image; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogUpdatedParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogPublishedMessageParser.ts similarity index 74% rename from src/nitro/communication/messages/parser/catalog/CatalogUpdatedParser.ts rename to src/nitro/communication/messages/parser/catalog/CatalogPublishedMessageParser.ts index 07d5f654..b04564bd 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogUpdatedParser.ts +++ b/src/nitro/communication/messages/parser/catalog/CatalogPublishedMessageParser.ts @@ -1,7 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; -export class CatalogUpdatedParser implements IMessageParser +export class CatalogPublishedMessageParser implements IMessageParser { private _instantlyRefreshCatalogue: boolean; private _newFurniDataHash: string; @@ -34,4 +33,4 @@ export class CatalogUpdatedParser implements IMessageParser { return this._newFurniDataHash; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPurchaseParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogPurchaseParser.ts deleted file mode 100644 index 239d13aa..00000000 --- a/src/nitro/communication/messages/parser/catalog/CatalogPurchaseParser.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogPurchaseData } from './utils/CatalogPurchaseData'; - -export class CatalogPurchaseParser implements IMessageParser -{ - private _offer: CatalogPurchaseData; - - public flush(): boolean - { - this._offer = null; - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - - this._offer = new CatalogPurchaseData(wrapper); - - return true; - } - - public get offer(): CatalogPurchaseData - { - return this._offer; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/parser/catalog/CatalogSearchParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogSearchParser.ts deleted file mode 100644 index a415ae42..00000000 --- a/src/nitro/communication/messages/parser/catalog/CatalogSearchParser.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogPageOfferData } from './utils/CatalogPageOfferData'; - -export class CatalogSearchParser implements IMessageParser -{ - private _offer: CatalogPageOfferData; - - public flush(): boolean - { - this._offer = null; - - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - - this._offer = new CatalogPageOfferData(wrapper); - - return true; - } - - public get offer(): CatalogPageOfferData - { - return this._offer; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/parser/catalog/CatalogSoldOutParser.ts b/src/nitro/communication/messages/parser/catalog/CatalogSoldOutParser.ts deleted file mode 100644 index b864b5b9..00000000 --- a/src/nitro/communication/messages/parser/catalog/CatalogSoldOutParser.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; - -export class CatalogSoldOutParser implements IMessageParser -{ - public flush(): boolean - { - return true; - } - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - - return true; - } -} \ No newline at end of file diff --git a/src/nitro/communication/messages/parser/catalog/ClubGiftInfoParser.ts b/src/nitro/communication/messages/parser/catalog/ClubGiftInfoParser.ts index 56ae01a2..cf53b47b 100644 --- a/src/nitro/communication/messages/parser/catalog/ClubGiftInfoParser.ts +++ b/src/nitro/communication/messages/parser/catalog/ClubGiftInfoParser.ts @@ -1,13 +1,12 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogPageOfferData } from './utils/CatalogPageOfferData'; -import { ClubGiftData } from './utils/ClubGiftData'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { CatalogPageMessageOfferData } from '../../incoming/catalog/CatalogPageMessageOfferData'; +import { ClubGiftData } from '../../incoming/catalog/ClubGiftData'; export class ClubGiftInfoParser implements IMessageParser { private _daysUntilNextGift:number; private _giftsAvailable:number; - private _offers: CatalogPageOfferData[]; + private _offers: CatalogPageMessageOfferData[]; private _giftData:Map; public flush(): boolean @@ -29,7 +28,7 @@ export class ClubGiftInfoParser implements IMessageParser for(let i = 0; i < offerCount; i ++) { - this._offers.push(new CatalogPageOfferData(wrapper)); + this._offers.push(new CatalogPageMessageOfferData(wrapper)); } const giftDataCount = wrapper.readInt(); @@ -43,7 +42,7 @@ export class ClubGiftInfoParser implements IMessageParser return true; } - public get offers(): CatalogPageOfferData[] + public get offers(): CatalogPageMessageOfferData[] { return this._offers; } diff --git a/src/nitro/communication/messages/parser/catalog/ClubGiftSelectedParser.ts b/src/nitro/communication/messages/parser/catalog/ClubGiftSelectedParser.ts new file mode 100644 index 00000000..0e684e4f --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/ClubGiftSelectedParser.ts @@ -0,0 +1,44 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { CatalogPageMessageProductData } from '../../incoming'; + +export class ClubGiftSelectedParser implements IMessageParser +{ + private _productCode: string; + private _products: CatalogPageMessageProductData[]; + + public flush(): boolean + { + this._productCode = null; + this._products = []; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._productCode = wrapper.readString(); + + let count = wrapper.readInt(); + + while(count > 0) + { + this._products.push(new CatalogPageMessageProductData(wrapper)); + + count--; + } + + return true; + } + + public get productCode(): string + { + return this._productCode; + } + + public get products(): CatalogPageMessageProductData[] + { + return this._products; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/DirectSMSClubBuyAvailableMessageParser.ts b/src/nitro/communication/messages/parser/catalog/DirectSMSClubBuyAvailableMessageParser.ts new file mode 100644 index 00000000..7749b219 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/DirectSMSClubBuyAvailableMessageParser.ts @@ -0,0 +1,53 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class DirectSMSClubBuyAvailableMessageParser implements IMessageParser +{ + private _available: boolean; + private _Str_16515: string; + private _Str_22121: string; + private _Str_21897: number; + + public flush(): boolean + { + this._available = false; + this._Str_16515 = null; + this._Str_22121 = null; + this._Str_21897 = 0; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._Str_16515 = wrapper.readString(); + + if(this._Str_16515 !== '') this._available = true; + + this._Str_22121 = wrapper.readString(); + this._Str_21897 = wrapper.readInt(); + + return true; + } + + public get available(): boolean + { + return this._available; + } + + public get _Str_26301(): string + { + return this._Str_16515; + } + + public get _Str_26118(): string + { + return this._Str_22121; + } + + public get _Str_26380(): number + { + return this._Str_21897; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/GiftReceiverNotFoundParser.ts b/src/nitro/communication/messages/parser/catalog/GiftReceiverNotFoundParser.ts new file mode 100644 index 00000000..6cbdc1dd --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/GiftReceiverNotFoundParser.ts @@ -0,0 +1,20 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class GiftReceiverNotFoundParser implements IMessageParser +{ + + public flush(): boolean + { + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + return true; + } + + +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogGiftConfigurationParser.ts b/src/nitro/communication/messages/parser/catalog/GiftWrappingConfigurationParser.ts similarity index 82% rename from src/nitro/communication/messages/parser/catalog/CatalogGiftConfigurationParser.ts rename to src/nitro/communication/messages/parser/catalog/GiftWrappingConfigurationParser.ts index fbaae143..7c618a0a 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogGiftConfigurationParser.ts +++ b/src/nitro/communication/messages/parser/catalog/GiftWrappingConfigurationParser.ts @@ -1,10 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogFrontPageItem } from './utils/CatalogFrontPageItem'; -import { CatalogLocalizationData } from './utils/CatalogLocalizationData'; -import { CatalogPageOfferData } from './utils/CatalogPageOfferData'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; -export class CatalogGiftConfigurationParser implements IMessageParser +export class GiftWrappingConfigurationParser implements IMessageParser { private _isEnabled: boolean = false; private _price: number = null; diff --git a/src/nitro/communication/messages/parser/catalog/HabboClubExtendOfferMessageParser.ts b/src/nitro/communication/messages/parser/catalog/HabboClubExtendOfferMessageParser.ts new file mode 100644 index 00000000..03fa8c33 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/HabboClubExtendOfferMessageParser.ts @@ -0,0 +1,28 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { ClubOfferExtendedData } from '../../incoming/catalog/ClubOfferExtendedData'; + +export class HabboClubExtendOfferMessageParser implements IMessageParser +{ + private _offer: ClubOfferExtendedData; + + public flush(): boolean + { + this._offer = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._offer = new ClubOfferExtendedData(wrapper); + + return true; + } + + public get offer(): ClubOfferExtendedData + { + return this._offer; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/HabboClubOffersMessageParser.ts b/src/nitro/communication/messages/parser/catalog/HabboClubOffersMessageParser.ts new file mode 100644 index 00000000..df5efda2 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/HabboClubOffersMessageParser.ts @@ -0,0 +1,35 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { ClubOfferData } from '../../incoming/catalog/ClubOfferData'; + +export class HabboClubOffersMessageParser implements IMessageParser +{ + private _offers: ClubOfferData[]; + + public flush(): boolean + { + this._offers = []; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + let totalOffers = wrapper.readInt(); + + while(totalOffers > 0) + { + this._offers.push(new ClubOfferData(wrapper)); + + totalOffers--; + } + + return true; + } + + public get offers(): ClubOfferData[] + { + return this._offers; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/IsOfferGiftableMessageParser.ts b/src/nitro/communication/messages/parser/catalog/IsOfferGiftableMessageParser.ts new file mode 100644 index 00000000..68a90510 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/IsOfferGiftableMessageParser.ts @@ -0,0 +1,35 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class IsOfferGiftableMessageParser implements IMessageParser +{ + private _offerId: number; + private _Str_21271: boolean; + + public flush(): boolean + { + this._offerId = 0; + this._Str_21271 = false; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._offerId = wrapper.readInt(); + this._Str_21271 = wrapper.readBoolean(); + + return true; + } + + public get offerId(): number + { + return this._offerId; + } + + public get _Str_18028(): boolean + { + return this._Str_21271; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/LimitedEditionSoldOutParser.ts b/src/nitro/communication/messages/parser/catalog/LimitedEditionSoldOutParser.ts new file mode 100644 index 00000000..42339760 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/LimitedEditionSoldOutParser.ts @@ -0,0 +1,16 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class LimitedEditionSoldOutParser implements IMessageParser +{ + public flush(): boolean + { + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + return true; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/LimitedOfferAppearingNextMessageParser.ts b/src/nitro/communication/messages/parser/catalog/LimitedOfferAppearingNextMessageParser.ts new file mode 100644 index 00000000..47fbf0b4 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/LimitedOfferAppearingNextMessageParser.ts @@ -0,0 +1,51 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class LimitedOfferAppearingNextMessageParser implements IMessageParser +{ + private _Str_6800: number; + private _pageId: number; + private _offerId: number; + private _productType: string; + + public flush(): boolean + { + this._Str_6800 = -1; + this._pageId = -1; + this._offerId = -1; + this._productType = ''; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._Str_6800 = wrapper.readInt(); + this._pageId = wrapper.readInt(); + this._offerId = wrapper.readInt(); + this._productType = wrapper.readString(); + + return true; + } + + public get _Str_23051(): number + { + return this._Str_6800; + } + + public get pageId(): number + { + return this._pageId; + } + + public get offerId(): number + { + return this._offerId; + } + + public get productType(): string + { + return this._productType; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/NotEnoughBalanceMessageParser.ts b/src/nitro/communication/messages/parser/catalog/NotEnoughBalanceMessageParser.ts new file mode 100644 index 00000000..af9764ad --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/NotEnoughBalanceMessageParser.ts @@ -0,0 +1,44 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class NotEnoughBalanceMessageParser implements IMessageParser +{ + private _Str_17433: boolean = false; + private _Str_19031: boolean = false; + private _activityPointType: number = 0; + + public flush(): boolean + { + this._Str_17433 = false; + this._Str_19031 = false; + this._activityPointType = 0; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._Str_17433 = wrapper.readBoolean(); + this._Str_19031 = wrapper.readBoolean(); + + if(wrapper.bytesAvailable) this._activityPointType = wrapper.readInt(); + + return true; + } + + public get notEnoughCredits(): boolean + { + return this._Str_17433; + } + + public get _Str_24352(): boolean + { + return this._Str_19031; + } + + public get activityPointType(): number + { + return this._activityPointType; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/ProductOfferMessageParser.ts b/src/nitro/communication/messages/parser/catalog/ProductOfferMessageParser.ts new file mode 100644 index 00000000..d7bb9719 --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/ProductOfferMessageParser.ts @@ -0,0 +1,28 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { CatalogPageMessageOfferData } from '../../incoming/catalog/CatalogPageMessageOfferData'; + +export class ProductOfferMessageParser implements IMessageParser +{ + private _offer: CatalogPageMessageOfferData; + + public flush(): boolean + { + this._offer = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._offer = new CatalogPageMessageOfferData(wrapper); + + return true; + } + + public get offer(): CatalogPageMessageOfferData + { + return this._offer; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPurchaseFailedParser.ts b/src/nitro/communication/messages/parser/catalog/PurchaseErrorMessageParser.ts similarity index 57% rename from src/nitro/communication/messages/parser/catalog/CatalogPurchaseFailedParser.ts rename to src/nitro/communication/messages/parser/catalog/PurchaseErrorMessageParser.ts index e125b690..10796a3a 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogPurchaseFailedParser.ts +++ b/src/nitro/communication/messages/parser/catalog/PurchaseErrorMessageParser.ts @@ -1,7 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; -export class CatalogPurchaseFailedParser implements IMessageParser +export class PurchaseErrorMessageParser implements IMessageParser { private _code: number; @@ -25,4 +24,4 @@ export class CatalogPurchaseFailedParser implements IMessageParser { return this._code; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPurchaseUnavailableParser.ts b/src/nitro/communication/messages/parser/catalog/PurchaseNotAllowedMessageParser.ts similarity index 57% rename from src/nitro/communication/messages/parser/catalog/CatalogPurchaseUnavailableParser.ts rename to src/nitro/communication/messages/parser/catalog/PurchaseNotAllowedMessageParser.ts index 89707f25..203fccf8 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogPurchaseUnavailableParser.ts +++ b/src/nitro/communication/messages/parser/catalog/PurchaseNotAllowedMessageParser.ts @@ -1,7 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; -export class CatalogPurchaseUnavailableParser implements IMessageParser +export class PurchaseNotAllowedMessageParser implements IMessageParser { private _code: number; @@ -25,4 +24,4 @@ export class CatalogPurchaseUnavailableParser implements IMessageParser { return this._code; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/catalog/PurchaseOKMessageParser.ts b/src/nitro/communication/messages/parser/catalog/PurchaseOKMessageParser.ts new file mode 100644 index 00000000..2455cfbe --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/PurchaseOKMessageParser.ts @@ -0,0 +1,28 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { PurchaseOKMessageOfferData } from '../../incoming/catalog/PurchaseOKMessageOfferData'; + +export class PurchaseOKMessageParser implements IMessageParser +{ + private _offer: PurchaseOKMessageOfferData; + + public flush(): boolean + { + this._offer = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._offer = new PurchaseOKMessageOfferData(wrapper); + + return true; + } + + public get offer(): PurchaseOKMessageOfferData + { + return this._offer; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/RoomAdPurchaseInfoEventParser.ts b/src/nitro/communication/messages/parser/catalog/RoomAdPurchaseInfoEventParser.ts new file mode 100644 index 00000000..5815520d --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/RoomAdPurchaseInfoEventParser.ts @@ -0,0 +1,44 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { RoomEntryData } from '../user'; + +export class RoomAdPurchaseInfoEventParser implements IMessageParser +{ + private _isVip: boolean; + private _rooms: RoomEntryData[]; + + public flush(): boolean + { + this._isVip = false; + this._rooms = []; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._isVip = wrapper.readBoolean(); + + let count = wrapper.readInt(); + + while(count > 0) + { + this._rooms.push(new RoomEntryData(wrapper.readInt(), wrapper.readString(), wrapper.readBoolean())); + + count--; + } + + return true; + } + + public get isVip(): boolean + { + return this._isVip; + } + + public get rooms(): RoomEntryData[] + { + return this._rooms; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/SeasonalCalendarDailyOfferMessageParser.ts b/src/nitro/communication/messages/parser/catalog/SeasonalCalendarDailyOfferMessageParser.ts new file mode 100644 index 00000000..a374d9fb --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/SeasonalCalendarDailyOfferMessageParser.ts @@ -0,0 +1,36 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { CatalogPageMessageOfferData } from '../../incoming'; + +export class SeasonalCalendarDailyOfferMessageParser implements IMessageParser +{ + private _pageId: number; + private _data: CatalogPageMessageOfferData; + + public flush(): boolean + { + this._pageId = -1; + this._data = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._pageId = wrapper.readInt(); + this._data = new CatalogPageMessageOfferData(wrapper); + + return true; + } + + public get pageId(): number + { + return this._pageId; + } + + public get data(): CatalogPageMessageOfferData + { + return this._data; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/utils/SellablePetPaletteData.ts b/src/nitro/communication/messages/parser/catalog/SellablePetPaletteData.ts similarity index 92% rename from src/nitro/communication/messages/parser/catalog/utils/SellablePetPaletteData.ts rename to src/nitro/communication/messages/parser/catalog/SellablePetPaletteData.ts index b7d4dd1b..d87f02ea 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/SellablePetPaletteData.ts +++ b/src/nitro/communication/messages/parser/catalog/SellablePetPaletteData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class SellablePetPaletteData { diff --git a/src/nitro/communication/messages/parser/catalog/CatalogPetBreedsParser.ts b/src/nitro/communication/messages/parser/catalog/SellablePetPalettesParser.ts similarity index 77% rename from src/nitro/communication/messages/parser/catalog/CatalogPetBreedsParser.ts rename to src/nitro/communication/messages/parser/catalog/SellablePetPalettesParser.ts index e72296be..36f47a60 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogPetBreedsParser.ts +++ b/src/nitro/communication/messages/parser/catalog/SellablePetPalettesParser.ts @@ -1,6 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { SellablePetPaletteData } from './utils'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { SellablePetPaletteData } from './SellablePetPaletteData'; export class SellablePetPalettesParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/catalog/TargetedOfferNotFoundParser.ts b/src/nitro/communication/messages/parser/catalog/TargetedOfferNotFoundParser.ts new file mode 100644 index 00000000..32a943bc --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/TargetedOfferNotFoundParser.ts @@ -0,0 +1,16 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; + +export class TargetedOfferNotFoundParser implements IMessageParser +{ + public flush(): boolean + { + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + return true; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/TargetedOfferParser.ts b/src/nitro/communication/messages/parser/catalog/TargetedOfferParser.ts new file mode 100644 index 00000000..ed73822a --- /dev/null +++ b/src/nitro/communication/messages/parser/catalog/TargetedOfferParser.ts @@ -0,0 +1,28 @@ +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { TargetedOfferData } from '../../incoming/catalog/TargetedOfferData'; + +export class TargetedOfferParser implements IMessageParser +{ + private _data: TargetedOfferData; + + public flush(): boolean + { + this._data = null; + + return true; + } + + public parse(wrapper: IMessageDataWrapper): boolean + { + if(!wrapper) return false; + + this._data = new TargetedOfferData(wrapper); + + return true; + } + + public get data(): TargetedOfferData + { + return this._data; + } +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogRedeemVoucherErrorParser.ts b/src/nitro/communication/messages/parser/catalog/VoucherRedeemErrorMessageParser.ts similarity index 60% rename from src/nitro/communication/messages/parser/catalog/CatalogRedeemVoucherErrorParser.ts rename to src/nitro/communication/messages/parser/catalog/VoucherRedeemErrorMessageParser.ts index 893cc7ed..9380dfc2 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogRedeemVoucherErrorParser.ts +++ b/src/nitro/communication/messages/parser/catalog/VoucherRedeemErrorMessageParser.ts @@ -1,7 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; -export class CatalogRedeemVoucherErrorParser implements IMessageParser +export class VoucherRedeemErrorMessageParser implements IMessageParser { private _errorCode:string = ''; @@ -24,4 +23,4 @@ export class CatalogRedeemVoucherErrorParser implements IMessageParser { return this._errorCode; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogRedeemVoucherOkParser.ts b/src/nitro/communication/messages/parser/catalog/VoucherRedeemOkMessageParser.ts similarity index 71% rename from src/nitro/communication/messages/parser/catalog/CatalogRedeemVoucherOkParser.ts rename to src/nitro/communication/messages/parser/catalog/VoucherRedeemOkMessageParser.ts index 5f28983a..f23f7642 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogRedeemVoucherOkParser.ts +++ b/src/nitro/communication/messages/parser/catalog/VoucherRedeemOkMessageParser.ts @@ -1,7 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; -export class CatalogRedeemVoucherOkParser implements IMessageParser +export class VoucherRedeemOkMessageParser implements IMessageParser { private _productName:string = ''; private _productDescription:string = ''; @@ -32,4 +31,4 @@ export class CatalogRedeemVoucherOkParser implements IMessageParser { return this._productDescription; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/catalog/index.ts b/src/nitro/communication/messages/parser/catalog/index.ts index 3a6bc3b4..d75379a6 100644 --- a/src/nitro/communication/messages/parser/catalog/index.ts +++ b/src/nitro/communication/messages/parser/catalog/index.ts @@ -1,23 +1,34 @@ export * from './BonusRareInfoMessageParser'; -export * from './CatalogApproveNameResultParser'; -export * from './CatalogClubParser'; -export * from './CatalogGiftConfigurationParser'; -export * from './CatalogGiftUsernameUnavailableParser'; -export * from './CatalogGroupsParser'; -export * from './CatalogModeParser'; -export * from './CatalogPageParser'; -export * from './CatalogPagesParser'; -export * from './CatalogPetBreedsParser'; -export * from './CatalogPurchaseFailedParser'; -export * from './CatalogPurchaseParser'; -export * from './CatalogPurchaseUnavailableParser'; -export * from './CatalogRedeemVoucherErrorParser'; -export * from './CatalogRedeemVoucherOkParser'; -export * from './CatalogSearchParser'; -export * from './CatalogSoldOutParser'; -export * from './CatalogUpdatedParser'; +export * from './BuildersClubFurniCountMessageParser'; +export * from './BuildersClubSubscriptionStatusMessageParser'; +export * from './BundleDiscountRulesetMessageParser'; +export * from './CatalogIndexMessageParser'; +export * from './CatalogPageExpirationParser'; +export * from './CatalogPageMessageParser'; +export * from './CatalogPageWithEarliestExpiryMessageParser'; +export * from './CatalogPublishedMessageParser'; export * from './ClubGiftInfoParser'; +export * from './ClubGiftSelectedParser'; +export * from './DirectSMSClubBuyAvailableMessageParser'; +export * from './GiftReceiverNotFoundParser'; +export * from './GiftWrappingConfigurationParser'; +export * from './HabboClubExtendOfferMessageParser'; +export * from './HabboClubOffersMessageParser'; +export * from './IsOfferGiftableMessageParser'; +export * from './LimitedEditionSoldOutParser'; +export * from './LimitedOfferAppearingNextMessageParser'; export * from './marketplace'; -export * from './MarketplaceConfigParser'; -export * from './MarketplaceItemStatsParser'; +export * from './NotEnoughBalanceMessageParser'; +export * from './ProductOfferMessageParser'; +export * from './PurchaseErrorMessageParser'; +export * from './PurchaseNotAllowedMessageParser'; +export * from './PurchaseOKMessageParser'; +export * from './RoomAdPurchaseInfoEventParser'; +export * from './SeasonalCalendarDailyOfferMessageParser'; +export * from './SellablePetPaletteData'; +export * from './SellablePetPalettesParser'; +export * from './TargetedOfferNotFoundParser'; +export * from './TargetedOfferParser'; export * from './utils'; +export * from './VoucherRedeemErrorMessageParser'; +export * from './VoucherRedeemOkMessageParser'; diff --git a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceBuyOfferResultParser.ts b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceBuyOfferResultParser.ts index 29d4fe69..8de94745 100644 --- a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceBuyOfferResultParser.ts +++ b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceBuyOfferResultParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class MarketplaceBuyOfferResultParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceCancelItemParser.ts b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceCancelItemParser.ts index 565ad113..3a5ec837 100644 --- a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceCancelItemParser.ts +++ b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceCancelItemParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class MarketplaceCancelItemParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/catalog/MarketplaceConfigParser.ts b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceConfigParser.ts similarity index 88% rename from src/nitro/communication/messages/parser/catalog/MarketplaceConfigParser.ts rename to src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceConfigParser.ts index 1cef80d1..d24f0079 100644 --- a/src/nitro/communication/messages/parser/catalog/MarketplaceConfigParser.ts +++ b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceConfigParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class MarketplaceConfigParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/catalog/MarketplaceItemStatsParser.ts b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceItemStatsParser.ts similarity index 90% rename from src/nitro/communication/messages/parser/catalog/MarketplaceItemStatsParser.ts rename to src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceItemStatsParser.ts index b51fb5da..dd1addb4 100644 --- a/src/nitro/communication/messages/parser/catalog/MarketplaceItemStatsParser.ts +++ b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceItemStatsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class MarketplaceItemStatsParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOffersReceivedParser.ts b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOffersReceivedParser.ts index 44395183..f3b8f425 100644 --- a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOffersReceivedParser.ts +++ b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOffersReceivedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { IObjectData } from '../../../../../room/object/data/IObjectData'; import { ObjectDataFactory } from '../../../../../room/object/data/ObjectDataFactory'; import { LegacyDataType } from '../../../../../room/object/data/type/LegacyDataType'; diff --git a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOwnItemsParser.ts b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOwnItemsParser.ts index 11f91ba8..b6c263db 100644 --- a/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOwnItemsParser.ts +++ b/src/nitro/communication/messages/parser/catalog/marketplace/MarketplaceOwnItemsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { IObjectData } from '../../../../../room/object/data/IObjectData'; import { ObjectDataFactory } from '../../../../../room/object/data/ObjectDataFactory'; import { LegacyDataType } from '../../../../../room/object/data/type/LegacyDataType'; diff --git a/src/nitro/communication/messages/parser/catalog/marketplace/index.ts b/src/nitro/communication/messages/parser/catalog/marketplace/index.ts index 333bba08..06c4fb5b 100644 --- a/src/nitro/communication/messages/parser/catalog/marketplace/index.ts +++ b/src/nitro/communication/messages/parser/catalog/marketplace/index.ts @@ -1,5 +1,7 @@ export * from './MarketplaceBuyOfferResultParser'; export * from './MarketplaceCancelItemParser'; +export * from './MarketplaceConfigParser'; +export * from './MarketplaceItemStatsParser'; export * from './MarketplaceOffer'; export * from './MarketplaceOfferData'; export * from './MarketplaceOffersReceivedParser'; diff --git a/src/nitro/communication/messages/parser/catalog/utils/CatalogGroupData.ts b/src/nitro/communication/messages/parser/catalog/utils/CatalogGroupData.ts index db3839fd..1b0e08ab 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/CatalogGroupData.ts +++ b/src/nitro/communication/messages/parser/catalog/utils/CatalogGroupData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class CatalogGroupData { diff --git a/src/nitro/communication/messages/parser/catalog/utils/ClubGiftData.ts b/src/nitro/communication/messages/parser/catalog/utils/ClubGiftData.ts deleted file mode 100644 index b2268ec2..00000000 --- a/src/nitro/communication/messages/parser/catalog/utils/ClubGiftData.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; - -export class ClubGiftData -{ - private _offerId:number; - private _isVip:boolean; - private _isSelectable:boolean; - private _daysRequired:number; - - constructor(wrapper: IMessageDataWrapper) - { - if(!wrapper) throw new Error('invalid_wrapper'); - - this.parse(wrapper); - } - - - public parse(wrapper: IMessageDataWrapper): boolean - { - if(!wrapper) return false; - - this._offerId = wrapper.readInt(); - this._isVip = wrapper.readBoolean(); - this._daysRequired = wrapper.readInt(); - this._isSelectable = wrapper.readBoolean(); - return true; - } - - public get offerId():number - { - return this._offerId; - } - - public get isVip():boolean - { - return this._isVip; - } - - public get isSelectable():boolean - { - return this._isSelectable; - } - - public get daysRequired():number - { - return this._daysRequired; - } -} diff --git a/src/nitro/communication/messages/parser/catalog/utils/ICatalogPageParser.ts b/src/nitro/communication/messages/parser/catalog/utils/ICatalogPageParser.ts index 9c181c10..c7c9ba3e 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/ICatalogPageParser.ts +++ b/src/nitro/communication/messages/parser/catalog/utils/ICatalogPageParser.ts @@ -1,6 +1,5 @@ -import { CatalogLocalizationData } from './CatalogLocalizationData'; -import { CatalogPageOfferData } from './CatalogPageOfferData'; -import { CatalogFrontPageItem } from './CatalogFrontPageItem'; +import { CatalogPageMessageOfferData } from '../../../incoming/catalog/CatalogPageMessageOfferData'; +import { FrontPageItem } from '../../../incoming/catalog/FrontPageItem'; import { ICatalogLocalizationData } from './ICatalogLocalizationData'; export interface ICatalogPageParser @@ -9,9 +8,9 @@ export interface ICatalogPageParser readonly catalogType: string; readonly layoutCode: string; readonly localization: ICatalogLocalizationData; - readonly offers: CatalogPageOfferData[]; + readonly offers: CatalogPageMessageOfferData[]; readonly offerId: number; readonly acceptSeasonCurrencyAsCredits: boolean; - readonly frontPageItems: CatalogFrontPageItem[]; + readonly frontPageItems: FrontPageItem[]; } diff --git a/src/nitro/communication/messages/parser/catalog/utils/index.ts b/src/nitro/communication/messages/parser/catalog/utils/index.ts index ee6147c7..1ed67ade 100644 --- a/src/nitro/communication/messages/parser/catalog/utils/index.ts +++ b/src/nitro/communication/messages/parser/catalog/utils/index.ts @@ -1,14 +1,5 @@ -export * from './CatalogClubOfferData'; -export * from './CatalogFrontPageItem'; export * from './CatalogGroupData'; -export * from './CatalogLocalizationData'; -export * from './CatalogPageData'; -export * from './CatalogPageOfferData'; -export * from './CatalogProductOfferData'; -export * from './CatalogPurchaseData'; export * from './CatalogSearchData'; -export * from './ClubGiftData'; export * from './ICatalogLocalizationData'; export * from './ICatalogPageData'; export * from './ICatalogPageParser'; -export * from './SellablePetPaletteData'; diff --git a/src/nitro/communication/messages/parser/client/ClientPingParser.ts b/src/nitro/communication/messages/parser/client/ClientPingParser.ts index 743609f1..f8920c7c 100644 --- a/src/nitro/communication/messages/parser/client/ClientPingParser.ts +++ b/src/nitro/communication/messages/parser/client/ClientPingParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class ClientPingParser implements IMessageParser { @@ -14,4 +13,4 @@ export class ClientPingParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/crafting/CraftableProductsMessageParser.ts b/src/nitro/communication/messages/parser/crafting/CraftableProductsMessageParser.ts index 437f15a0..9d9354b1 100644 --- a/src/nitro/communication/messages/parser/crafting/CraftableProductsMessageParser.ts +++ b/src/nitro/communication/messages/parser/crafting/CraftableProductsMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; import { CraftingResultObjectParser } from './CraftingResultObjectParser'; export class CraftableProductsMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/crafting/CraftingRecipeIngredientParser.ts b/src/nitro/communication/messages/parser/crafting/CraftingRecipeIngredientParser.ts index 15d00ccf..10a13648 100644 --- a/src/nitro/communication/messages/parser/crafting/CraftingRecipeIngredientParser.ts +++ b/src/nitro/communication/messages/parser/crafting/CraftingRecipeIngredientParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class CraftingRecipeIngredientParser { diff --git a/src/nitro/communication/messages/parser/crafting/CraftingRecipeMessageParser.ts b/src/nitro/communication/messages/parser/crafting/CraftingRecipeMessageParser.ts index 88645661..0874b754 100644 --- a/src/nitro/communication/messages/parser/crafting/CraftingRecipeMessageParser.ts +++ b/src/nitro/communication/messages/parser/crafting/CraftingRecipeMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; import { CraftingRecipeIngredientParser } from './CraftingRecipeIngredientParser'; export class CraftingRecipeMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/crafting/CraftingRecipesAvailableMessageParser.ts b/src/nitro/communication/messages/parser/crafting/CraftingRecipesAvailableMessageParser.ts index 065e300c..590026a8 100644 --- a/src/nitro/communication/messages/parser/crafting/CraftingRecipesAvailableMessageParser.ts +++ b/src/nitro/communication/messages/parser/crafting/CraftingRecipesAvailableMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class CraftingRecipesAvailableMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/crafting/CraftingResultMessageParser.ts b/src/nitro/communication/messages/parser/crafting/CraftingResultMessageParser.ts index 39f2845b..e8abe5e5 100644 --- a/src/nitro/communication/messages/parser/crafting/CraftingResultMessageParser.ts +++ b/src/nitro/communication/messages/parser/crafting/CraftingResultMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; import { CraftingResultObjectParser } from './CraftingResultObjectParser'; export class CraftingResultMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/crafting/CraftingResultObjectParser.ts b/src/nitro/communication/messages/parser/crafting/CraftingResultObjectParser.ts index 41fd49ba..118c28b7 100644 --- a/src/nitro/communication/messages/parser/crafting/CraftingResultObjectParser.ts +++ b/src/nitro/communication/messages/parser/crafting/CraftingResultObjectParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class CraftingResultObjectParser { diff --git a/src/nitro/communication/messages/parser/desktop/DesktopViewParser.ts b/src/nitro/communication/messages/parser/desktop/DesktopViewParser.ts index f994c710..d30a511d 100644 --- a/src/nitro/communication/messages/parser/desktop/DesktopViewParser.ts +++ b/src/nitro/communication/messages/parser/desktop/DesktopViewParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class DesktopViewParser implements IMessageParser { @@ -14,4 +13,4 @@ export class DesktopViewParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/AcceptFriendResultParser.ts b/src/nitro/communication/messages/parser/friendlist/AcceptFriendResultParser.ts index ec15fb4a..30763b7c 100644 --- a/src/nitro/communication/messages/parser/friendlist/AcceptFriendResultParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/AcceptFriendResultParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { AcceptFriendFailerData } from '../../incoming/friendlist/AcceptFriendFailureData'; export class AcceptFriendResultParser implements IMessageParser @@ -33,4 +32,4 @@ export class AcceptFriendResultParser implements IMessageParser { return this._failuers; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/FindFriendsProcessResultParser.ts b/src/nitro/communication/messages/parser/friendlist/FindFriendsProcessResultParser.ts index ec25eee7..34093733 100644 --- a/src/nitro/communication/messages/parser/friendlist/FindFriendsProcessResultParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/FindFriendsProcessResultParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class FindFriendsProcessResultParser implements IMessageParser { @@ -25,4 +24,4 @@ export class FindFriendsProcessResultParser implements IMessageParser { return this._success; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/FollowFriendFailedParser.ts b/src/nitro/communication/messages/parser/friendlist/FollowFriendFailedParser.ts index 254838b0..b6ba356b 100644 --- a/src/nitro/communication/messages/parser/friendlist/FollowFriendFailedParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/FollowFriendFailedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class FollowFriendFailedParser implements IMessageParser { @@ -25,4 +24,4 @@ export class FollowFriendFailedParser implements IMessageParser { return this._errorCode; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/FriendListFragmentMessageParser.ts b/src/nitro/communication/messages/parser/friendlist/FriendListFragmentMessageParser.ts index 0efb5889..1997a972 100644 --- a/src/nitro/communication/messages/parser/friendlist/FriendListFragmentMessageParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/FriendListFragmentMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { FriendParser } from '../../incoming/friendlist/FriendParser'; export class FriendListFragmentParser implements IMessageParser @@ -50,4 +49,4 @@ export class FriendListFragmentParser implements IMessageParser { return this._fragment; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/FriendListUpdateParser.ts b/src/nitro/communication/messages/parser/friendlist/FriendListUpdateParser.ts index b15e0f5a..9666a683 100644 --- a/src/nitro/communication/messages/parser/friendlist/FriendListUpdateParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/FriendListUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { FriendCategoryData } from '../../incoming/friendlist/FriendCategoryData'; import { FriendParser } from '../../incoming/friendlist/FriendParser'; @@ -79,4 +78,4 @@ export class FriendListUpdateParser implements IMessageParser { return this._updatedFriends; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/FriendNotificationParser.ts b/src/nitro/communication/messages/parser/friendlist/FriendNotificationParser.ts index ec5a4899..fca63268 100644 --- a/src/nitro/communication/messages/parser/friendlist/FriendNotificationParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/FriendNotificationParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class FriendNotificationParser implements IMessageParser { @@ -41,4 +40,4 @@ export class FriendNotificationParser implements IMessageParser { return this._message; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/FriendRequestsParser.ts b/src/nitro/communication/messages/parser/friendlist/FriendRequestsParser.ts index e45fda29..5097f9f4 100644 --- a/src/nitro/communication/messages/parser/friendlist/FriendRequestsParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/FriendRequestsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { FriendRequestData } from '../../incoming/friendlist/FriendRequestData'; export class FriendRequestsParser implements IMessageParser @@ -42,4 +41,4 @@ export class FriendRequestsParser implements IMessageParser { return this._requests; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/HabboSearchResultParser.ts b/src/nitro/communication/messages/parser/friendlist/HabboSearchResultParser.ts index f832ed62..f2f0d876 100644 --- a/src/nitro/communication/messages/parser/friendlist/HabboSearchResultParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/HabboSearchResultParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { HabboSearchResultData } from '../../incoming/friendlist/HabboSearchResultData'; export class HabboSearchResultParser implements IMessageParser @@ -49,4 +48,4 @@ export class HabboSearchResultParser implements IMessageParser { return this._others; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/InstantMessageErrorParser.ts b/src/nitro/communication/messages/parser/friendlist/InstantMessageErrorParser.ts index b3593b3a..3b1e8ea2 100644 --- a/src/nitro/communication/messages/parser/friendlist/InstantMessageErrorParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/InstantMessageErrorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class InstantMessageErrorParser implements IMessageParser { @@ -41,4 +40,4 @@ export class InstantMessageErrorParser implements IMessageParser { return this._message; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/MessageErrorParser.ts b/src/nitro/communication/messages/parser/friendlist/MessageErrorParser.ts index daa0204b..47104896 100644 --- a/src/nitro/communication/messages/parser/friendlist/MessageErrorParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/MessageErrorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class MessageErrorParser implements IMessageParser { @@ -33,4 +32,4 @@ export class MessageErrorParser implements IMessageParser { return this._errorCode; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/MessengerInitParser.ts b/src/nitro/communication/messages/parser/friendlist/MessengerInitParser.ts index 0a85b0fc..6dfe5f6a 100644 --- a/src/nitro/communication/messages/parser/friendlist/MessengerInitParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/MessengerInitParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { FriendCategoryData } from '../../incoming/friendlist/FriendCategoryData'; export class MessengerInitParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/friendlist/MiniMailNewMessageParser.ts b/src/nitro/communication/messages/parser/friendlist/MiniMailNewMessageParser.ts index 26ce3edc..02f7a095 100644 --- a/src/nitro/communication/messages/parser/friendlist/MiniMailNewMessageParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/MiniMailNewMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class MiniMailNewMessageParser implements IMessageParser { @@ -14,4 +13,4 @@ export class MiniMailNewMessageParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/MiniMailUnreadCountParser.ts b/src/nitro/communication/messages/parser/friendlist/MiniMailUnreadCountParser.ts index d9204650..c0ab2121 100644 --- a/src/nitro/communication/messages/parser/friendlist/MiniMailUnreadCountParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/MiniMailUnreadCountParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class MiniMailUnreadCountParser implements IMessageParser { @@ -25,4 +24,4 @@ export class MiniMailUnreadCountParser implements IMessageParser { return this._count; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/NewConsoleMessageParser.ts b/src/nitro/communication/messages/parser/friendlist/NewConsoleMessageParser.ts index 1a284240..d6d9c161 100644 --- a/src/nitro/communication/messages/parser/friendlist/NewConsoleMessageParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/NewConsoleMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class NewConsoleMessageParser implements IMessageParser { @@ -53,4 +52,4 @@ export class NewConsoleMessageParser implements IMessageParser { return this._extraData; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/NewFriendRequestMessageParser.ts b/src/nitro/communication/messages/parser/friendlist/NewFriendRequestMessageParser.ts index 4824a8bb..9365771e 100644 --- a/src/nitro/communication/messages/parser/friendlist/NewFriendRequestMessageParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/NewFriendRequestMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { FriendRequestData } from '../../incoming/friendlist/FriendRequestData'; export class NewFriendRequestParser implements IMessageParser @@ -26,4 +25,4 @@ export class NewFriendRequestParser implements IMessageParser { return this._request; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/RoomInviteErrorParser.ts b/src/nitro/communication/messages/parser/friendlist/RoomInviteErrorParser.ts index ae93d188..d5502972 100644 --- a/src/nitro/communication/messages/parser/friendlist/RoomInviteErrorParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/RoomInviteErrorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class RoomInviteErrorParser implements IMessageParser { @@ -41,4 +40,4 @@ export class RoomInviteErrorParser implements IMessageParser { return this._failedRecipients; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/friendlist/RoomInviteMessageParser.ts b/src/nitro/communication/messages/parser/friendlist/RoomInviteMessageParser.ts index 9c91a82a..ad944051 100644 --- a/src/nitro/communication/messages/parser/friendlist/RoomInviteMessageParser.ts +++ b/src/nitro/communication/messages/parser/friendlist/RoomInviteMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class RoomInviteParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomInviteParser implements IMessageParser { return this._messageText; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/game/LoadGameUrlParser.ts b/src/nitro/communication/messages/parser/game/LoadGameUrlParser.ts index d8d8b1ef..6ba94f35 100644 --- a/src/nitro/communication/messages/parser/game/LoadGameUrlParser.ts +++ b/src/nitro/communication/messages/parser/game/LoadGameUrlParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class LoadGameUrlParser implements IMessageParser { @@ -41,4 +40,4 @@ export class LoadGameUrlParser implements IMessageParser { return this._gameClientId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/generic/GenericErrorParser.ts b/src/nitro/communication/messages/parser/generic/GenericErrorParser.ts index 2db53a35..5c6b4eb9 100644 --- a/src/nitro/communication/messages/parser/generic/GenericErrorParser.ts +++ b/src/nitro/communication/messages/parser/generic/GenericErrorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class GenericErrorParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/group/GroupBadgePartsParser.ts b/src/nitro/communication/messages/parser/group/GroupBadgePartsParser.ts index 75c13ba8..8c051c9a 100644 --- a/src/nitro/communication/messages/parser/group/GroupBadgePartsParser.ts +++ b/src/nitro/communication/messages/parser/group/GroupBadgePartsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class GroupBadgePartsParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/group/GroupBuyDataParser.ts b/src/nitro/communication/messages/parser/group/GroupBuyDataParser.ts index ae7ef1de..fd17e5b9 100644 --- a/src/nitro/communication/messages/parser/group/GroupBuyDataParser.ts +++ b/src/nitro/communication/messages/parser/group/GroupBuyDataParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class GroupBuyDataParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/group/GroupConfirmMemberRemoveParser.ts b/src/nitro/communication/messages/parser/group/GroupConfirmMemberRemoveParser.ts index 510e3818..d97cb97f 100644 --- a/src/nitro/communication/messages/parser/group/GroupConfirmMemberRemoveParser.ts +++ b/src/nitro/communication/messages/parser/group/GroupConfirmMemberRemoveParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class GroupConfirmMemberRemoveParser implements IMessageParser { @@ -33,4 +32,4 @@ export class GroupConfirmMemberRemoveParser implements IMessageParser { return this._furnitureCount; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/group/GroupInformationParser.ts b/src/nitro/communication/messages/parser/group/GroupInformationParser.ts index e4573ab7..ef3899fd 100644 --- a/src/nitro/communication/messages/parser/group/GroupInformationParser.ts +++ b/src/nitro/communication/messages/parser/group/GroupInformationParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class GroupInformationParser implements IMessageParser { @@ -147,4 +146,4 @@ export class GroupInformationParser implements IMessageParser { return this._pendingRequestsCount; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/group/GroupMembersParser.ts b/src/nitro/communication/messages/parser/group/GroupMembersParser.ts index abdbdd3f..570b509a 100644 --- a/src/nitro/communication/messages/parser/group/GroupMembersParser.ts +++ b/src/nitro/communication/messages/parser/group/GroupMembersParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { GroupMemberParser } from './utils'; export class GroupMembersParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/group/GroupSettingsParser.ts b/src/nitro/communication/messages/parser/group/GroupSettingsParser.ts index f55c41b6..289ad01b 100644 --- a/src/nitro/communication/messages/parser/group/GroupSettingsParser.ts +++ b/src/nitro/communication/messages/parser/group/GroupSettingsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { GroupBadgePart } from './utils/GroupBadgePart'; export class GroupSettingsParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/group/utils/GroupDataParser.ts b/src/nitro/communication/messages/parser/group/utils/GroupDataParser.ts index 991ada1b..249d7406 100644 --- a/src/nitro/communication/messages/parser/group/utils/GroupDataParser.ts +++ b/src/nitro/communication/messages/parser/group/utils/GroupDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class GroupDataParser { @@ -88,4 +88,4 @@ export class GroupDataParser { return this._hasForum; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/group/utils/GroupMemberParser.ts b/src/nitro/communication/messages/parser/group/utils/GroupMemberParser.ts index 05f7c85e..276eeb8c 100644 --- a/src/nitro/communication/messages/parser/group/utils/GroupMemberParser.ts +++ b/src/nitro/communication/messages/parser/group/utils/GroupMemberParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class GroupRank { diff --git a/src/nitro/communication/messages/parser/help/CallForHelpResultMessageParser.ts b/src/nitro/communication/messages/parser/help/CallForHelpResultMessageParser.ts index 98eee1d3..a1e34395 100644 --- a/src/nitro/communication/messages/parser/help/CallForHelpResultMessageParser.ts +++ b/src/nitro/communication/messages/parser/help/CallForHelpResultMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class CallForHelpResultMessageParser implements IMessageParser { @@ -33,4 +32,4 @@ export class CallForHelpResultMessageParser implements IMessageParser { return this._messageText; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/achievements/AchievementParser.ts b/src/nitro/communication/messages/parser/inventory/achievements/AchievementParser.ts index 3a67b502..8e89ca27 100644 --- a/src/nitro/communication/messages/parser/inventory/achievements/AchievementParser.ts +++ b/src/nitro/communication/messages/parser/inventory/achievements/AchievementParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { AchievementData } from '../../../incoming/inventory/achievements/AchievementData'; export class AchievementParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/achievements/AchievementsParser.ts b/src/nitro/communication/messages/parser/inventory/achievements/AchievementsParser.ts index cbab053a..a8c7151b 100644 --- a/src/nitro/communication/messages/parser/inventory/achievements/AchievementsParser.ts +++ b/src/nitro/communication/messages/parser/inventory/achievements/AchievementsParser.ts @@ -1,6 +1,5 @@  -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { AchievementData } from '../../../incoming/inventory/achievements/AchievementData'; export class AchievementsParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/achievements/AchievementsScoreParser.ts b/src/nitro/communication/messages/parser/inventory/achievements/AchievementsScoreParser.ts index b816c4c5..2d378f28 100644 --- a/src/nitro/communication/messages/parser/inventory/achievements/AchievementsScoreParser.ts +++ b/src/nitro/communication/messages/parser/inventory/achievements/AchievementsScoreParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class AchievementsScoreParser implements IMessageParser { @@ -25,4 +24,4 @@ export class AchievementsScoreParser implements IMessageParser { return this._score; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectActivatedParser.ts b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectActivatedParser.ts index edd61712..efd3f5aa 100644 --- a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectActivatedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectActivatedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class AvatarEffectActivatedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectAddedParser.ts b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectAddedParser.ts index 9271ae99..26b498ae 100644 --- a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectAddedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectAddedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class AvatarEffectAddedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectExpiredParser.ts b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectExpiredParser.ts index 0319d0f3..36886d3b 100644 --- a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectExpiredParser.ts +++ b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectExpiredParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class AvatarEffectExpiredParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectSelectedParser.ts b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectSelectedParser.ts index afa0067d..ddc0cd77 100644 --- a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectSelectedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectSelectedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class AvatarEffectSelectedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectsParser.ts b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectsParser.ts index 6615e3bd..8161a934 100644 --- a/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectsParser.ts +++ b/src/nitro/communication/messages/parser/inventory/avatareffect/AvatarEffectsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { AvatarEffect } from '../../../incoming/inventory/avatareffect/AvatarEffect'; export class AvatarEffectsParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/badges/BadgeAndPointLimit.ts b/src/nitro/communication/messages/parser/inventory/badges/BadgeAndPointLimit.ts index a53a898a..1b0300a2 100644 --- a/src/nitro/communication/messages/parser/inventory/badges/BadgeAndPointLimit.ts +++ b/src/nitro/communication/messages/parser/inventory/badges/BadgeAndPointLimit.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class BadgeAndPointLimit { diff --git a/src/nitro/communication/messages/parser/inventory/badges/BadgePointLimitsParser.ts b/src/nitro/communication/messages/parser/inventory/badges/BadgePointLimitsParser.ts index 7f8bcada..0ccd9eff 100644 --- a/src/nitro/communication/messages/parser/inventory/badges/BadgePointLimitsParser.ts +++ b/src/nitro/communication/messages/parser/inventory/badges/BadgePointLimitsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { BadgeAndPointLimit } from './BadgeAndPointLimit'; export class BadgePointLimitsParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/badges/BadgeReceivedParser.ts b/src/nitro/communication/messages/parser/inventory/badges/BadgeReceivedParser.ts index 7bb5331c..6c726548 100644 --- a/src/nitro/communication/messages/parser/inventory/badges/BadgeReceivedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/badges/BadgeReceivedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class BadgeReceivedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/badges/BadgesParser.ts b/src/nitro/communication/messages/parser/inventory/badges/BadgesParser.ts index 5361cc09..f24420e4 100644 --- a/src/nitro/communication/messages/parser/inventory/badges/BadgesParser.ts +++ b/src/nitro/communication/messages/parser/inventory/badges/BadgesParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { AdvancedMap } from '../../../../../../core/utils/AdvancedMap'; export class BadgesParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/badges/IsBadgeRequestFulfilledParser.ts b/src/nitro/communication/messages/parser/inventory/badges/IsBadgeRequestFulfilledParser.ts index 47cd1c45..dba8988d 100644 --- a/src/nitro/communication/messages/parser/inventory/badges/IsBadgeRequestFulfilledParser.ts +++ b/src/nitro/communication/messages/parser/inventory/badges/IsBadgeRequestFulfilledParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class IsBadgeRequestFulfilledParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/bots/BotAddedToInventoryParser.ts b/src/nitro/communication/messages/parser/inventory/bots/BotAddedToInventoryParser.ts index 3c3c4b64..63c4d122 100644 --- a/src/nitro/communication/messages/parser/inventory/bots/BotAddedToInventoryParser.ts +++ b/src/nitro/communication/messages/parser/inventory/bots/BotAddedToInventoryParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { BotData } from './BotData'; export class BotAddedToInventoryParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/bots/BotData.ts b/src/nitro/communication/messages/parser/inventory/bots/BotData.ts index 0c41834c..29afd162 100644 --- a/src/nitro/communication/messages/parser/inventory/bots/BotData.ts +++ b/src/nitro/communication/messages/parser/inventory/bots/BotData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class BotData { @@ -43,4 +43,4 @@ export class BotData { return this._gender; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/bots/BotInventoryMessageParser.ts b/src/nitro/communication/messages/parser/inventory/bots/BotInventoryMessageParser.ts index 35aff960..e7c8e47d 100644 --- a/src/nitro/communication/messages/parser/inventory/bots/BotInventoryMessageParser.ts +++ b/src/nitro/communication/messages/parser/inventory/bots/BotInventoryMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { BotData } from './BotData'; export class BotInventoryMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/bots/BotReceivedMessageParser.ts b/src/nitro/communication/messages/parser/inventory/bots/BotReceivedMessageParser.ts index 43b2b87d..27aa4527 100644 --- a/src/nitro/communication/messages/parser/inventory/bots/BotReceivedMessageParser.ts +++ b/src/nitro/communication/messages/parser/inventory/bots/BotReceivedMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { BotData } from './BotData'; export class BotInventoryParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/bots/BotRemovedFromInventoryParser.ts b/src/nitro/communication/messages/parser/inventory/bots/BotRemovedFromInventoryParser.ts index d93e2c33..c8a764f9 100644 --- a/src/nitro/communication/messages/parser/inventory/bots/BotRemovedFromInventoryParser.ts +++ b/src/nitro/communication/messages/parser/inventory/bots/BotRemovedFromInventoryParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class BotRemovedFromInventoryParser implements IMessageParser { @@ -25,4 +24,4 @@ export class BotRemovedFromInventoryParser implements IMessageParser { return this._itemId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/clothing/FigureSetIdsMessageParser.ts b/src/nitro/communication/messages/parser/inventory/clothing/FigureSetIdsMessageParser.ts index 8040823d..60b3d9ab 100644 --- a/src/nitro/communication/messages/parser/inventory/clothing/FigureSetIdsMessageParser.ts +++ b/src/nitro/communication/messages/parser/inventory/clothing/FigureSetIdsMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FigureSetIdsMessageParser implements IMessageParser { @@ -48,4 +47,4 @@ export class FigureSetIdsMessageParser implements IMessageParser { return this._boundFurnitureNames; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/clothing/_Str_8728.ts b/src/nitro/communication/messages/parser/inventory/clothing/_Str_8728.ts index bc668240..f3d5a41f 100644 --- a/src/nitro/communication/messages/parser/inventory/clothing/_Str_8728.ts +++ b/src/nitro/communication/messages/parser/inventory/clothing/_Str_8728.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class _Str_8728 implements IMessageParser { @@ -25,4 +24,4 @@ export class _Str_8728 implements IMessageParser { return this._itemId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/clothing/_Str_9021.ts b/src/nitro/communication/messages/parser/inventory/clothing/_Str_9021.ts index 555769dc..119c59fe 100644 --- a/src/nitro/communication/messages/parser/inventory/clothing/_Str_9021.ts +++ b/src/nitro/communication/messages/parser/inventory/clothing/_Str_9021.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class _Str_9021 implements IMessageParser { @@ -25,4 +24,4 @@ export class _Str_9021 implements IMessageParser { return this._itemId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListAddOrUpdateParser.ts b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListAddOrUpdateParser.ts index 5eaadf51..e956450a 100644 --- a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListAddOrUpdateParser.ts +++ b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListAddOrUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { FurnitureListItemParser } from './utils/FurnitureListItemParser'; export class FurnitureListAddOrUpdateParser implements IMessageParser @@ -26,4 +25,4 @@ export class FurnitureListAddOrUpdateParser implements IMessageParser { return this._items; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListInvalidateParser.ts b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListInvalidateParser.ts index d611a3a6..4731124a 100644 --- a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListInvalidateParser.ts +++ b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListInvalidateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurnitureListInvalidateParser implements IMessageParser { @@ -14,4 +13,4 @@ export class FurnitureListInvalidateParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListParser.ts b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListParser.ts index edd386ee..0464dee0 100644 --- a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListParser.ts +++ b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { FurnitureListItemParser } from './utils/FurnitureListItemParser'; export class FurnitureListParser implements IMessageParser @@ -52,4 +51,4 @@ export class FurnitureListParser implements IMessageParser { return this._fragment; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListRemovedParser.ts b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListRemovedParser.ts index 3cb66b8e..ee0e1303 100644 --- a/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListRemovedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/furniture/FurnitureListRemovedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurnitureListRemovedParser implements IMessageParser { @@ -25,4 +24,4 @@ export class FurnitureListRemovedParser implements IMessageParser { return this._itemId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/furniture/FurniturePostItPlacedParser.ts b/src/nitro/communication/messages/parser/inventory/furniture/FurniturePostItPlacedParser.ts index 78ea8ac0..730360c7 100644 --- a/src/nitro/communication/messages/parser/inventory/furniture/FurniturePostItPlacedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/furniture/FurniturePostItPlacedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurniturePostItPlacedParser implements IMessageParser { @@ -33,4 +32,4 @@ export class FurniturePostItPlacedParser implements IMessageParser { return this._itemsLeft; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/furniture/PresentOpenedMessageParser.ts b/src/nitro/communication/messages/parser/inventory/furniture/PresentOpenedMessageParser.ts index ff21cb18..e81ef17d 100644 --- a/src/nitro/communication/messages/parser/inventory/furniture/PresentOpenedMessageParser.ts +++ b/src/nitro/communication/messages/parser/inventory/furniture/PresentOpenedMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class PresentOpenedMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/furniture/utils/FurnitureListItemParser.ts b/src/nitro/communication/messages/parser/inventory/furniture/utils/FurnitureListItemParser.ts index 4938dc17..8a18efa4 100644 --- a/src/nitro/communication/messages/parser/inventory/furniture/utils/FurnitureListItemParser.ts +++ b/src/nitro/communication/messages/parser/inventory/furniture/utils/FurnitureListItemParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../../core'; import { Nitro } from '../../../../../../Nitro'; import { IObjectData } from '../../../../../../room/object/data/IObjectData'; import { IFurnitureItemData } from '../../../../incoming/inventory/furni/IFurnitureItemData'; diff --git a/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceCanMakeOfferResultParser.ts b/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceCanMakeOfferResultParser.ts index 2cef030c..caa681b8 100644 --- a/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceCanMakeOfferResultParser.ts +++ b/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceCanMakeOfferResultParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class MarketplaceCanMakeOfferResultParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceItemPostedParser.ts b/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceItemPostedParser.ts index 21b624f6..f88f9c43 100644 --- a/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceItemPostedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/marketplace/MarketplaceItemPostedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class MarketplaceItemPostedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingRequestParser.ts b/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingRequestParser.ts index 4840e664..d09d8435 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingRequestParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingRequestParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { BreedingPetInfo } from '../../../incoming/room/pet/BreedingPetInfo'; import { RarityCategoryData } from '../../../incoming/room/pet/RarityCategoryData'; diff --git a/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingResultParser.ts b/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingResultParser.ts index dc397621..5554e565 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingResultParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/ConfirmBreedingResultParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class ConfirmBreedingResultParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/pets/GoToBreedingNestFailureParser.ts b/src/nitro/communication/messages/parser/inventory/pets/GoToBreedingNestFailureParser.ts index 5d49339b..6442865e 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/GoToBreedingNestFailureParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/GoToBreedingNestFailureParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class GoToBreedingNestFailureParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/pets/NestBreedingSuccessParser.ts b/src/nitro/communication/messages/parser/inventory/pets/NestBreedingSuccessParser.ts index 795aea44..2136c8a8 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/NestBreedingSuccessParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/NestBreedingSuccessParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class NestBreedingSuccessParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/pets/PetAddedToInventoryParser.ts b/src/nitro/communication/messages/parser/inventory/pets/PetAddedToInventoryParser.ts index 26c8e91c..a94682b7 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/PetAddedToInventoryParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/PetAddedToInventoryParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { PetData } from './PetData'; export class PetAddedToInventoryParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/pets/PetBoughtNotificationMessageParser.ts b/src/nitro/communication/messages/parser/inventory/pets/PetBoughtNotificationMessageParser.ts index f7fdfbce..ba980978 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/PetBoughtNotificationMessageParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/PetBoughtNotificationMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { PetData } from './PetData'; export class PetBoughtNotificationMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/pets/PetBreedingMessageParser.ts b/src/nitro/communication/messages/parser/inventory/pets/PetBreedingMessageParser.ts index 33aa8db0..fadabdd0 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/PetBreedingMessageParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/PetBreedingMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class PetBreedingMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/pets/PetData.ts b/src/nitro/communication/messages/parser/inventory/pets/PetData.ts index cf4c4a8c..8b943797 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/PetData.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/PetData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { PetFigureDataParser } from './PetFigureDataParser'; export class PetData diff --git a/src/nitro/communication/messages/parser/inventory/pets/PetFigureDataParser.ts b/src/nitro/communication/messages/parser/inventory/pets/PetFigureDataParser.ts index fb3f0d94..1529468e 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/PetFigureDataParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/PetFigureDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class PetFigureDataParser { diff --git a/src/nitro/communication/messages/parser/inventory/pets/PetInventoryParser.ts b/src/nitro/communication/messages/parser/inventory/pets/PetInventoryParser.ts index f1a45ed4..dc912140 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/PetInventoryParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/PetInventoryParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { PetData } from './PetData'; export class PetInventoryParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/pets/PetRemovedFromInventoryParser.ts b/src/nitro/communication/messages/parser/inventory/pets/PetRemovedFromInventoryParser.ts index f00ec59f..d3d8a661 100644 --- a/src/nitro/communication/messages/parser/inventory/pets/PetRemovedFromInventoryParser.ts +++ b/src/nitro/communication/messages/parser/inventory/pets/PetRemovedFromInventoryParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class PetRemovedFromInventoryParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/purse/UserCreditsMessageParser.ts b/src/nitro/communication/messages/parser/inventory/purse/UserCreditsMessageParser.ts index ea0ef61a..cb97187d 100644 --- a/src/nitro/communication/messages/parser/inventory/purse/UserCreditsMessageParser.ts +++ b/src/nitro/communication/messages/parser/inventory/purse/UserCreditsMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserCreditsMessageParser implements IMessageParser { @@ -23,4 +22,4 @@ export class UserCreditsMessageParser implements IMessageParser { return this._balance; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingAcceptParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingAcceptParser.ts index 9d59b4f0..1c5b3ae9 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingAcceptParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingAcceptParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingAcceptParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingCloseParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingCloseParser.ts index 0ff562f0..f0c52991 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingCloseParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingCloseParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingCloseParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingCompletedParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingCompletedParser.ts index 21e5cbe3..71facf5e 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingCompletedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingCompletedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingCompletedParser implements IMessageParser { @@ -14,4 +13,4 @@ export class TradingCompletedParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingConfirmationParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingConfirmationParser.ts index 957141a7..e74cc507 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingConfirmationParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingConfirmationParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingConfirmationParser implements IMessageParser { @@ -14,4 +13,4 @@ export class TradingConfirmationParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingListItemParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingListItemParser.ts index c0a54b4f..fa520b04 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingListItemParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingListItemParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { ItemDataStructure } from '../../../incoming/inventory/trading/ItemDataStructure'; export class TradingListItemParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingNotOpenParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingNotOpenParser.ts index f389a765..646daa25 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingNotOpenParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingNotOpenParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingNotOpenParser implements IMessageParser { @@ -14,4 +13,4 @@ export class TradingNotOpenParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingOpenFailedParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingOpenFailedParser.ts index 7fe0cd86..afa927f8 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingOpenFailedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingOpenFailedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingOpenFailedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingOpenParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingOpenParser.ts index 441b9ae4..7291cf26 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingOpenParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingOpenParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingOpenParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingOtherNotAllowedParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingOtherNotAllowedParser.ts index e94a939f..f8cf1007 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingOtherNotAllowedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingOtherNotAllowedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingOtherNotAllowedParser implements IMessageParser { @@ -14,4 +13,4 @@ export class TradingOtherNotAllowedParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/inventory/trading/TradingYouAreNotAllowedParser.ts b/src/nitro/communication/messages/parser/inventory/trading/TradingYouAreNotAllowedParser.ts index d9c83f1e..c85e861f 100644 --- a/src/nitro/communication/messages/parser/inventory/trading/TradingYouAreNotAllowedParser.ts +++ b/src/nitro/communication/messages/parser/inventory/trading/TradingYouAreNotAllowedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class TradingYouAreNotAllowedParser implements IMessageParser { @@ -14,4 +13,4 @@ export class TradingYouAreNotAllowedParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/landingview/PromoArticlesMessageParser.ts b/src/nitro/communication/messages/parser/landingview/PromoArticlesMessageParser.ts index 48af0f87..faed5f06 100644 --- a/src/nitro/communication/messages/parser/landingview/PromoArticlesMessageParser.ts +++ b/src/nitro/communication/messages/parser/landingview/PromoArticlesMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { PromoArticleData } from '../../incoming/landingview/PromoArticleData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class PromoArticlesMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/landingview/votes/CommunityVoteReceivedParser.ts b/src/nitro/communication/messages/parser/landingview/votes/CommunityVoteReceivedParser.ts index 21b9928c..4495ad55 100644 --- a/src/nitro/communication/messages/parser/landingview/votes/CommunityVoteReceivedParser.ts +++ b/src/nitro/communication/messages/parser/landingview/votes/CommunityVoteReceivedParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../../core'; +import { IMessageParser } from './../../../../../../core'; export class CommunityVoteReceivedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/modtool/ModtoolCFHTopicsParser.ts b/src/nitro/communication/messages/parser/modtool/ModtoolCFHTopicsParser.ts index d5a4a6c1..42deee1b 100644 --- a/src/nitro/communication/messages/parser/modtool/ModtoolCFHTopicsParser.ts +++ b/src/nitro/communication/messages/parser/modtool/ModtoolCFHTopicsParser.ts @@ -1,5 +1,4 @@ -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { CallForHelpCategoryData } from './utils/CallForHelpCategoryData'; export class ModtoolCFHTopicsParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/modtool/ModtoolMainParser.ts b/src/nitro/communication/messages/parser/modtool/ModtoolMainParser.ts index fc471017..e8329d33 100644 --- a/src/nitro/communication/messages/parser/modtool/ModtoolMainParser.ts +++ b/src/nitro/communication/messages/parser/modtool/ModtoolMainParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { ModeratorInitData } from './utils/ModeratorInitData'; export class ModtoolMainParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/modtool/ModtoolRoomChatlogParser.ts b/src/nitro/communication/messages/parser/modtool/ModtoolRoomChatlogParser.ts index 8c7bbee4..7023fcd4 100644 --- a/src/nitro/communication/messages/parser/modtool/ModtoolRoomChatlogParser.ts +++ b/src/nitro/communication/messages/parser/modtool/ModtoolRoomChatlogParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { ModtoolRoomChatlogLine } from './utils/ModtoolRoomChatlogLine'; export class ModtoolRoomChatlogParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/modtool/ModtoolRoomInfoParser.ts b/src/nitro/communication/messages/parser/modtool/ModtoolRoomInfoParser.ts index 84fe6673..04037d06 100644 --- a/src/nitro/communication/messages/parser/modtool/ModtoolRoomInfoParser.ts +++ b/src/nitro/communication/messages/parser/modtool/ModtoolRoomInfoParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class ModtoolRoomInfoParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/modtool/ModtoolRoomUsersParser.ts b/src/nitro/communication/messages/parser/modtool/ModtoolRoomUsersParser.ts index 5003752b..4c346a2e 100644 --- a/src/nitro/communication/messages/parser/modtool/ModtoolRoomUsersParser.ts +++ b/src/nitro/communication/messages/parser/modtool/ModtoolRoomUsersParser.ts @@ -1,6 +1,4 @@ -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { CallForHelpCategoryData } from './utils/CallForHelpCategoryData'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { ModtoolRoomVisitedData } from './utils/ModtoolRoomVisitedData'; export class ModtoolRoomUsersParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/modtool/ModtoolUserChatlogParser.ts b/src/nitro/communication/messages/parser/modtool/ModtoolUserChatlogParser.ts index c8acd0bf..05ac699c 100644 --- a/src/nitro/communication/messages/parser/modtool/ModtoolUserChatlogParser.ts +++ b/src/nitro/communication/messages/parser/modtool/ModtoolUserChatlogParser.ts @@ -1,7 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { ModtoolUserChatlogParserVisit } from './utils/ModtoolUserChatlogParserVisit'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { ModtoolUserChatlogParserChatlog } from './utils/ModtoolUserChatlogParserChatlog'; +import { ModtoolUserChatlogParserVisit } from './utils/ModtoolUserChatlogParserVisit'; export class ModtoolUserChatlogParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/modtool/ModtoolUserInfoParser.ts b/src/nitro/communication/messages/parser/modtool/ModtoolUserInfoParser.ts index bf0a4f63..217582ca 100644 --- a/src/nitro/communication/messages/parser/modtool/ModtoolUserInfoParser.ts +++ b/src/nitro/communication/messages/parser/modtool/ModtoolUserInfoParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { ModeratorUserInfoData } from './utils/ModeratorUserInfoData'; export class ModtoolUserInfoParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/modtool/utils/CallForHelpCategoryData.ts b/src/nitro/communication/messages/parser/modtool/utils/CallForHelpCategoryData.ts index 2b504d1f..f6e85a27 100644 --- a/src/nitro/communication/messages/parser/modtool/utils/CallForHelpCategoryData.ts +++ b/src/nitro/communication/messages/parser/modtool/utils/CallForHelpCategoryData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class CallForHelpCategoryData { diff --git a/src/nitro/communication/messages/parser/modtool/utils/IssueInfoMessageParser.ts b/src/nitro/communication/messages/parser/modtool/utils/IssueInfoMessageParser.ts index daad709b..3f7b2ff9 100644 --- a/src/nitro/communication/messages/parser/modtool/utils/IssueInfoMessageParser.ts +++ b/src/nitro/communication/messages/parser/modtool/utils/IssueInfoMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { IssueMessageData } from './IssueMessageData'; import { PatternMatchData } from './PatternMatchData'; diff --git a/src/nitro/communication/messages/parser/modtool/utils/ModeratorInitData.ts b/src/nitro/communication/messages/parser/modtool/utils/ModeratorInitData.ts index e2a78645..68f76d79 100644 --- a/src/nitro/communication/messages/parser/modtool/utils/ModeratorInitData.ts +++ b/src/nitro/communication/messages/parser/modtool/utils/ModeratorInitData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { IssueInfoMessageParser } from './IssueInfoMessageParser'; import { IssueMessageData } from './IssueMessageData'; diff --git a/src/nitro/communication/messages/parser/modtool/utils/ModeratorUserInfoData.ts b/src/nitro/communication/messages/parser/modtool/utils/ModeratorUserInfoData.ts index 05e18b5e..af5cf152 100644 --- a/src/nitro/communication/messages/parser/modtool/utils/ModeratorUserInfoData.ts +++ b/src/nitro/communication/messages/parser/modtool/utils/ModeratorUserInfoData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class ModeratorUserInfoData { diff --git a/src/nitro/communication/messages/parser/modtool/utils/ModtoolRoomVisitedData.ts b/src/nitro/communication/messages/parser/modtool/utils/ModtoolRoomVisitedData.ts index e08fdd03..1393b2e1 100644 --- a/src/nitro/communication/messages/parser/modtool/utils/ModtoolRoomVisitedData.ts +++ b/src/nitro/communication/messages/parser/modtool/utils/ModtoolRoomVisitedData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { RoomVisitData } from './RoomVisitData'; diff --git a/src/nitro/communication/messages/parser/modtool/utils/PatternMatchData.ts b/src/nitro/communication/messages/parser/modtool/utils/PatternMatchData.ts index c0ea416a..d415b394 100644 --- a/src/nitro/communication/messages/parser/modtool/utils/PatternMatchData.ts +++ b/src/nitro/communication/messages/parser/modtool/utils/PatternMatchData.ts @@ -1,5 +1,5 @@ +import { IMessageDataWrapper } from '../../../../../../core'; import { IDisposable } from '../../../../../../core/common/disposable/IDisposable'; -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; export class PatternMatchData implements IDisposable { diff --git a/src/nitro/communication/messages/parser/modtool/utils/RoomVisitData.ts b/src/nitro/communication/messages/parser/modtool/utils/RoomVisitData.ts index 53e3e279..fab1f5d7 100644 --- a/src/nitro/communication/messages/parser/modtool/utils/RoomVisitData.ts +++ b/src/nitro/communication/messages/parser/modtool/utils/RoomVisitData.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class RoomVisitData { diff --git a/src/nitro/communication/messages/parser/mysterybox/MysteryBoxKeysParser.ts b/src/nitro/communication/messages/parser/mysterybox/MysteryBoxKeysParser.ts index 385a4fa2..e107e81d 100644 --- a/src/nitro/communication/messages/parser/mysterybox/MysteryBoxKeysParser.ts +++ b/src/nitro/communication/messages/parser/mysterybox/MysteryBoxKeysParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class MysteryBoxKeysParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorCategoriesParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorCategoriesParser.ts index 057d00ed..6c9af04b 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorCategoriesParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorCategoriesParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { NavigatorCategoryDataParser } from './NavigatorCategoryDataParser'; export class NavigatorCategoriesParser implements IMessageParser @@ -33,4 +32,4 @@ export class NavigatorCategoriesParser implements IMessageParser { return this._categories; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorCategoryDataParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorCategoryDataParser.ts index 2d56cdb3..1659bcde 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorCategoryDataParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorCategoryDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class NavigatorCategoryDataParser { @@ -80,4 +80,4 @@ export class NavigatorCategoryDataParser { return this._staffOnly; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorCollapsedParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorCollapsedParser.ts index 04fcdb08..44af5b81 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorCollapsedParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorCollapsedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class NavigatorCollapsedParser implements IMessageParser { @@ -32,4 +31,4 @@ export class NavigatorCollapsedParser implements IMessageParser { return this._categories; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoriesParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoriesParser.ts index e2c311b6..c07c6e68 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoriesParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoriesParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { NavigatorEventCategoryDataParser } from './NavigatorEventCategoryDataParser'; export class NavigatorEventCategoriesParser implements IMessageParser @@ -33,4 +32,4 @@ export class NavigatorEventCategoriesParser implements IMessageParser { return this._categories; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoryDataParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoryDataParser.ts index 65f6bb66..01d5c421 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoryDataParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorEventCategoryDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class NavigatorEventCategoryDataParser { @@ -48,4 +48,4 @@ export class NavigatorEventCategoryDataParser { return this._visible; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorHomeRoomParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorHomeRoomParser.ts index ba60fe72..25fe78f0 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorHomeRoomParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorHomeRoomParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class NavigatorHomeRoomParser implements IMessageParser { @@ -33,4 +32,4 @@ export class NavigatorHomeRoomParser implements IMessageParser { return this._roomIdToEnter; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorLiftedDataParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorLiftedDataParser.ts index 605b7f77..109e57c0 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorLiftedDataParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorLiftedDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; export class NavigatorLiftedDataParser { @@ -56,4 +56,4 @@ export class NavigatorLiftedDataParser { return this._caption; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorLiftedParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorLiftedParser.ts index 0aabb983..a1584721 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorLiftedParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorLiftedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { NavigatorLiftedDataParser } from './NavigatorLiftedDataParser'; export class NavigatorLiftedParser implements IMessageParser @@ -33,4 +32,4 @@ export class NavigatorLiftedParser implements IMessageParser { return this._rooms; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorMetadataParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorMetadataParser.ts index 3f747206..2ead4b5c 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorMetadataParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorMetadataParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { NavigatorTopLevelContext } from './utils/NavigatorTopLevelContext'; export class NavigatorMetadataParser implements IMessageParser @@ -33,4 +32,4 @@ export class NavigatorMetadataParser implements IMessageParser { return this._topLevelContexts; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorOpenRoomCreatorParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorOpenRoomCreatorParser.ts index 9923eb6e..58d08ffb 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorOpenRoomCreatorParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorOpenRoomCreatorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class NavigatorOpenRoomCreatorParser implements IMessageParser { @@ -14,4 +13,4 @@ export class NavigatorOpenRoomCreatorParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorSearchParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorSearchParser.ts index e2a6f403..7acb7612 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorSearchParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorSearchParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { NavigatorSearchResultSet } from './utils/NavigatorSearchResultSet'; export class NavigatorSearchParser implements IMessageParser @@ -26,4 +25,4 @@ export class NavigatorSearchParser implements IMessageParser { return this._result; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorSearchesParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorSearchesParser.ts index 753720bb..c116ffc9 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorSearchesParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorSearchesParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { NavigatorSavedSearch } from './utils/NavigatorSavedSearch'; export class NavigatorSearchesParser implements IMessageParser @@ -33,4 +32,4 @@ export class NavigatorSearchesParser implements IMessageParser { return this._searches; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/NavigatorSettingsParser.ts b/src/nitro/communication/messages/parser/navigator/NavigatorSettingsParser.ts index c0f7b7e8..7fa45d45 100644 --- a/src/nitro/communication/messages/parser/navigator/NavigatorSettingsParser.ts +++ b/src/nitro/communication/messages/parser/navigator/NavigatorSettingsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class NavigatorSettingsParser implements IMessageParser { @@ -65,4 +64,4 @@ export class NavigatorSettingsParser implements IMessageParser { return this._resultsMode; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/utils/NavigatorSavedSearch.ts b/src/nitro/communication/messages/parser/navigator/utils/NavigatorSavedSearch.ts index 38467db3..900fdc7d 100644 --- a/src/nitro/communication/messages/parser/navigator/utils/NavigatorSavedSearch.ts +++ b/src/nitro/communication/messages/parser/navigator/utils/NavigatorSavedSearch.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class NavigatorSavedSearch { @@ -56,4 +56,4 @@ export class NavigatorSavedSearch { return this._localization; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultList.ts b/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultList.ts index 358d2ae2..83f15813 100644 --- a/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultList.ts +++ b/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultList.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { RoomDataParser } from '../../room/data/RoomDataParser'; export class NavigatorSearchResultList @@ -81,4 +81,4 @@ export class NavigatorSearchResultList { return this._rooms; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultSet.ts b/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultSet.ts index 470bb80f..c1858eee 100644 --- a/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultSet.ts +++ b/src/nitro/communication/messages/parser/navigator/utils/NavigatorSearchResultSet.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { NavigatorSearchResultList } from './NavigatorSearchResultList'; export class NavigatorSearchResultSet @@ -57,4 +57,4 @@ export class NavigatorSearchResultSet { return this._results; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/navigator/utils/NavigatorTopLevelContext.ts b/src/nitro/communication/messages/parser/navigator/utils/NavigatorTopLevelContext.ts index b2b8980d..3830e3c9 100644 --- a/src/nitro/communication/messages/parser/navigator/utils/NavigatorTopLevelContext.ts +++ b/src/nitro/communication/messages/parser/navigator/utils/NavigatorTopLevelContext.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { NavigatorSavedSearch } from './NavigatorSavedSearch'; export class NavigatorTopLevelContext @@ -49,4 +49,4 @@ export class NavigatorTopLevelContext { return this._savedSearches; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/notifications/AchievementNotificationMessageParser.ts b/src/nitro/communication/messages/parser/notifications/AchievementNotificationMessageParser.ts index bdff526e..730d41a4 100644 --- a/src/nitro/communication/messages/parser/notifications/AchievementNotificationMessageParser.ts +++ b/src/nitro/communication/messages/parser/notifications/AchievementNotificationMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { AchievementLevelUpData } from '../../incoming'; export class AchievementNotificationMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/notifications/ActivityPointNotificationParser.ts b/src/nitro/communication/messages/parser/notifications/ActivityPointNotificationParser.ts index af0f0595..27fa496e 100644 --- a/src/nitro/communication/messages/parser/notifications/ActivityPointNotificationParser.ts +++ b/src/nitro/communication/messages/parser/notifications/ActivityPointNotificationParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class ActivityPointNotificationParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/notifications/BotErrorEventParser.ts b/src/nitro/communication/messages/parser/notifications/BotErrorEventParser.ts index b7c30b85..7a500b9a 100644 --- a/src/nitro/communication/messages/parser/notifications/BotErrorEventParser.ts +++ b/src/nitro/communication/messages/parser/notifications/BotErrorEventParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class BotErrorEventParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/notifications/ClubGiftNotificationParser.ts b/src/nitro/communication/messages/parser/notifications/ClubGiftNotificationParser.ts index 436ba57f..28cb5d95 100644 --- a/src/nitro/communication/messages/parser/notifications/ClubGiftNotificationParser.ts +++ b/src/nitro/communication/messages/parser/notifications/ClubGiftNotificationParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class ClubGiftNotificationParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/notifications/HabboBroadcastMessageParser.ts b/src/nitro/communication/messages/parser/notifications/HabboBroadcastMessageParser.ts index 7bb96b7b..07d37fee 100644 --- a/src/nitro/communication/messages/parser/notifications/HabboBroadcastMessageParser.ts +++ b/src/nitro/communication/messages/parser/notifications/HabboBroadcastMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class HabboBroadcastMessageParser implements IMessageParser { @@ -25,4 +24,4 @@ export class HabboBroadcastMessageParser implements IMessageParser { return this._message; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/notifications/HotelWillShutdownParser.ts b/src/nitro/communication/messages/parser/notifications/HotelWillShutdownParser.ts index bd7f8fc8..27acb3db 100644 --- a/src/nitro/communication/messages/parser/notifications/HotelWillShutdownParser.ts +++ b/src/nitro/communication/messages/parser/notifications/HotelWillShutdownParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class HotelWillShutdownParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/notifications/InfoFeedEnableMessageParser.ts b/src/nitro/communication/messages/parser/notifications/InfoFeedEnableMessageParser.ts index d326ca50..bbed11b5 100644 --- a/src/nitro/communication/messages/parser/notifications/InfoFeedEnableMessageParser.ts +++ b/src/nitro/communication/messages/parser/notifications/InfoFeedEnableMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class InfoFeedEnableMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/notifications/MOTDNotificationParser.ts b/src/nitro/communication/messages/parser/notifications/MOTDNotificationParser.ts index a3e6695c..1319fb95 100644 --- a/src/nitro/communication/messages/parser/notifications/MOTDNotificationParser.ts +++ b/src/nitro/communication/messages/parser/notifications/MOTDNotificationParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class MOTDNotificationParser implements IMessageParser { @@ -32,4 +31,4 @@ export class MOTDNotificationParser implements IMessageParser { return this._messages; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/notifications/ModeratorMessageParser.ts b/src/nitro/communication/messages/parser/notifications/ModeratorMessageParser.ts index aee4a095..5ef14012 100644 --- a/src/nitro/communication/messages/parser/notifications/ModeratorMessageParser.ts +++ b/src/nitro/communication/messages/parser/notifications/ModeratorMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class ModeratorMessageParser implements IMessageParser { @@ -33,4 +32,4 @@ export class ModeratorMessageParser implements IMessageParser { return this._link; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/notifications/NotificationDialogMessageParser.ts b/src/nitro/communication/messages/parser/notifications/NotificationDialogMessageParser.ts index 7c16a5e1..b817fbe4 100644 --- a/src/nitro/communication/messages/parser/notifications/NotificationDialogMessageParser.ts +++ b/src/nitro/communication/messages/parser/notifications/NotificationDialogMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class NotificationDialogMessageParser implements IMessageParser { @@ -41,4 +40,4 @@ export class NotificationDialogMessageParser implements IMessageParser { return this._parameters; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/notifications/PetPlacingErrorEventParser.ts b/src/nitro/communication/messages/parser/notifications/PetPlacingErrorEventParser.ts index 9fbe2d6b..d9df9f45 100644 --- a/src/nitro/communication/messages/parser/notifications/PetPlacingErrorEventParser.ts +++ b/src/nitro/communication/messages/parser/notifications/PetPlacingErrorEventParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class PetPlacingErrorEventParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/notifications/UnseenItemsParser.ts b/src/nitro/communication/messages/parser/notifications/UnseenItemsParser.ts index c91e3c51..f386819c 100644 --- a/src/nitro/communication/messages/parser/notifications/UnseenItemsParser.ts +++ b/src/nitro/communication/messages/parser/notifications/UnseenItemsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { AdvancedMap } from '../../../../../core/utils/AdvancedMap'; export class UnseenItemsParser implements IMessageParser @@ -50,4 +49,4 @@ export class UnseenItemsParser implements IMessageParser { return this._items.getKeys(); } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/quest/CommunityGoalEarnedPrizesMessageParser.ts b/src/nitro/communication/messages/parser/quest/CommunityGoalEarnedPrizesMessageParser.ts index 7fcbeb02..fe78dfcc 100644 --- a/src/nitro/communication/messages/parser/quest/CommunityGoalEarnedPrizesMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/CommunityGoalEarnedPrizesMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { PrizeData } from '../../incoming/quest/PrizeData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class CommunityGoalEarnedPrizesMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/CommunityGoalHallOfFameMessageParser.ts b/src/nitro/communication/messages/parser/quest/CommunityGoalHallOfFameMessageParser.ts index f8210399..5f06b3f2 100644 --- a/src/nitro/communication/messages/parser/quest/CommunityGoalHallOfFameMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/CommunityGoalHallOfFameMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { CommunityGoalHallOfFameData } from '../../incoming/quest/CommunityGoalHallOfFameData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class CommunityGoalHallOfFameMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/CommunityGoalProgressMessageParser.ts b/src/nitro/communication/messages/parser/quest/CommunityGoalProgressMessageParser.ts index 5f06505a..301eb246 100644 --- a/src/nitro/communication/messages/parser/quest/CommunityGoalProgressMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/CommunityGoalProgressMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { CommunityGoalData } from '../../incoming/quest/CommunityGoalData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class CommunityGoalProgressMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/ConcurrentUsersGoalProgressMessageParser.ts b/src/nitro/communication/messages/parser/quest/ConcurrentUsersGoalProgressMessageParser.ts index af597b4d..d08d5563 100644 --- a/src/nitro/communication/messages/parser/quest/ConcurrentUsersGoalProgressMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/ConcurrentUsersGoalProgressMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class ConcurrentUsersGoalProgressMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/EpicPopupMessageParser.ts b/src/nitro/communication/messages/parser/quest/EpicPopupMessageParser.ts index a9caa21a..75bad0dd 100644 --- a/src/nitro/communication/messages/parser/quest/EpicPopupMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/EpicPopupMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class EpicPopupMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/QuestCancelledMessageParser.ts b/src/nitro/communication/messages/parser/quest/QuestCancelledMessageParser.ts index 797ebaf4..76e22aa4 100644 --- a/src/nitro/communication/messages/parser/quest/QuestCancelledMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/QuestCancelledMessageParser.ts @@ -1,5 +1,5 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper } from '../../../../../core'; +import { IMessageParser } from './../../../../../core'; export class QuestCancelledMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/QuestCompletedMessageParser.ts b/src/nitro/communication/messages/parser/quest/QuestCompletedMessageParser.ts index 3d3a1c01..544b5af0 100644 --- a/src/nitro/communication/messages/parser/quest/QuestCompletedMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/QuestCompletedMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { QuestMessageData } from '../../incoming/quest/QuestMessageData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class QuestCompletedMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/QuestDailyMessageParser.ts b/src/nitro/communication/messages/parser/quest/QuestDailyMessageParser.ts index 64d0f911..73864fb0 100644 --- a/src/nitro/communication/messages/parser/quest/QuestDailyMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/QuestDailyMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { QuestMessageData } from '../../incoming/quest/QuestMessageData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class QuestDailyMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/QuestMessageParser.ts b/src/nitro/communication/messages/parser/quest/QuestMessageParser.ts index 241c07d7..8213f98c 100644 --- a/src/nitro/communication/messages/parser/quest/QuestMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/QuestMessageParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { QuestMessageData } from '../../incoming/quest/QuestMessageData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class QuestMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/quest/QuestsMessageParser.ts b/src/nitro/communication/messages/parser/quest/QuestsMessageParser.ts index 6695905c..90f9825c 100644 --- a/src/nitro/communication/messages/parser/quest/QuestsMessageParser.ts +++ b/src/nitro/communication/messages/parser/quest/QuestsMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { QuestMessageData } from '../../incoming/quest/QuestMessageData'; export class QuestsMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/quest/SeasonalQuestsParser.ts b/src/nitro/communication/messages/parser/quest/SeasonalQuestsParser.ts index 2ddece51..130bcd33 100644 --- a/src/nitro/communication/messages/parser/quest/SeasonalQuestsParser.ts +++ b/src/nitro/communication/messages/parser/quest/SeasonalQuestsParser.ts @@ -1,6 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../core'; import { QuestMessageData } from '../../incoming/quest/QuestMessageData'; -import { IMessageParser } from './../../../../../core/communication/messages/IMessageParser'; +import { IMessageParser } from './../../../../../core'; export class SeasonalQuestsParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/access/CantConnectMessageParser.ts b/src/nitro/communication/messages/parser/room/access/CantConnectMessageParser.ts index 5e338468..e5d20359 100644 --- a/src/nitro/communication/messages/parser/room/access/CantConnectMessageParser.ts +++ b/src/nitro/communication/messages/parser/room/access/CantConnectMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class CantConnectMessageParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/access/RoomEnterParser.ts b/src/nitro/communication/messages/parser/room/access/RoomEnterParser.ts index 7a8c769d..b52cf962 100644 --- a/src/nitro/communication/messages/parser/room/access/RoomEnterParser.ts +++ b/src/nitro/communication/messages/parser/room/access/RoomEnterParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomEnterParser implements IMessageParser { @@ -14,4 +13,4 @@ export class RoomEnterParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/access/RoomFowardParser.ts b/src/nitro/communication/messages/parser/room/access/RoomFowardParser.ts index ca7664d7..5afe9cac 100644 --- a/src/nitro/communication/messages/parser/room/access/RoomFowardParser.ts +++ b/src/nitro/communication/messages/parser/room/access/RoomFowardParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomFowardParser implements IMessageParser { @@ -25,4 +24,4 @@ export class RoomFowardParser implements IMessageParser { return this._roomId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellAcceptedParser.ts b/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellAcceptedParser.ts index dddafe8f..7ddcd59b 100644 --- a/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellAcceptedParser.ts +++ b/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellAcceptedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RoomDoorbellAcceptedParser implements IMessageParser { @@ -25,4 +24,4 @@ export class RoomDoorbellAcceptedParser implements IMessageParser { return this._userName; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellParser.ts b/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellParser.ts index c7bb1bbe..98e8fa22 100644 --- a/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellParser.ts +++ b/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RoomDoorbellParser implements IMessageParser { @@ -25,4 +24,4 @@ export class RoomDoorbellParser implements IMessageParser { return this._userName; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellRejectedParser.ts b/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellRejectedParser.ts index b5935c81..e8cb0259 100644 --- a/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellRejectedParser.ts +++ b/src/nitro/communication/messages/parser/room/access/doorbell/RoomDoorbellRejectedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RoomDoorbellRejectedParser implements IMessageParser { @@ -25,4 +24,4 @@ export class RoomDoorbellRejectedParser implements IMessageParser { return this._userName; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/access/rights/RoomRightsClearParser.ts b/src/nitro/communication/messages/parser/room/access/rights/RoomRightsClearParser.ts index 530c97e8..3d74ddb4 100644 --- a/src/nitro/communication/messages/parser/room/access/rights/RoomRightsClearParser.ts +++ b/src/nitro/communication/messages/parser/room/access/rights/RoomRightsClearParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RoomRightsClearParser implements IMessageParser { @@ -14,4 +13,4 @@ export class RoomRightsClearParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/access/rights/RoomRightsOwnerParser.ts b/src/nitro/communication/messages/parser/room/access/rights/RoomRightsOwnerParser.ts index 06fa654e..13ec5347 100644 --- a/src/nitro/communication/messages/parser/room/access/rights/RoomRightsOwnerParser.ts +++ b/src/nitro/communication/messages/parser/room/access/rights/RoomRightsOwnerParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RoomRightsOwnerParser implements IMessageParser { @@ -14,4 +13,4 @@ export class RoomRightsOwnerParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/access/rights/RoomRightsParser.ts b/src/nitro/communication/messages/parser/room/access/rights/RoomRightsParser.ts index 6f5f9100..031a4884 100644 --- a/src/nitro/communication/messages/parser/room/access/rights/RoomRightsParser.ts +++ b/src/nitro/communication/messages/parser/room/access/rights/RoomRightsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; import { RoomControllerLevel } from '../../../../../../session/enum/RoomControllerLevel'; export class RoomRightsParser implements IMessageParser @@ -26,4 +25,4 @@ export class RoomRightsParser implements IMessageParser { return this._controllerLevel; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/bots/BotCommandConfigurationParser.ts b/src/nitro/communication/messages/parser/room/bots/BotCommandConfigurationParser.ts index 142b5c9b..015e8596 100644 --- a/src/nitro/communication/messages/parser/room/bots/BotCommandConfigurationParser.ts +++ b/src/nitro/communication/messages/parser/room/bots/BotCommandConfigurationParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class BotCommandConfigurationParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/data/RoomChatSettings.ts b/src/nitro/communication/messages/parser/room/data/RoomChatSettings.ts index 0d33983f..558f8bfe 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomChatSettings.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomChatSettings.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class RoomChatSettings { diff --git a/src/nitro/communication/messages/parser/room/data/RoomChatSettingsParser.ts b/src/nitro/communication/messages/parser/room/data/RoomChatSettingsParser.ts index 07dac98d..7fc5270e 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomChatSettingsParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomChatSettingsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { RoomChatSettings } from './RoomChatSettings'; export class RoomChatSettingsParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/room/data/RoomDataParser.ts b/src/nitro/communication/messages/parser/room/data/RoomDataParser.ts index 262a6327..5f079798 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomDataParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class RoomDataParser { diff --git a/src/nitro/communication/messages/parser/room/data/RoomInfoOwnerParser.ts b/src/nitro/communication/messages/parser/room/data/RoomInfoOwnerParser.ts index a6b8ff72..fd28163a 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomInfoOwnerParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomInfoOwnerParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomInfoOwnerParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomInfoOwnerParser implements IMessageParser { return this._isOwner; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/data/RoomInfoParser.ts b/src/nitro/communication/messages/parser/room/data/RoomInfoParser.ts index 9ff7aca6..eec4c6a3 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomInfoParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomInfoParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { RoomChatSettings } from './RoomChatSettings'; import { RoomDataParser } from './RoomDataParser'; import { RoomModerationSettings } from './RoomModerationSettings'; diff --git a/src/nitro/communication/messages/parser/room/data/RoomModerationSettings.ts b/src/nitro/communication/messages/parser/room/data/RoomModerationSettings.ts index 2509de1c..12157c0b 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomModerationSettings.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomModerationSettings.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class RoomModerationSettings { diff --git a/src/nitro/communication/messages/parser/room/data/RoomScoreParser.ts b/src/nitro/communication/messages/parser/room/data/RoomScoreParser.ts index 3060aa78..b6cc1cd5 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomScoreParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomScoreParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomScoreParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomScoreParser implements IMessageParser { return this._canLike; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/data/RoomSettingsErrorParser.ts b/src/nitro/communication/messages/parser/room/data/RoomSettingsErrorParser.ts index 40f625fc..89189263 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomSettingsErrorParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomSettingsErrorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomSettingsErrorParser implements IMessageParser { @@ -41,4 +40,4 @@ export class RoomSettingsErrorParser implements IMessageParser { return this._message; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/data/RoomSettingsParser.ts b/src/nitro/communication/messages/parser/room/data/RoomSettingsParser.ts index 322a4222..692093b0 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomSettingsParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomSettingsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { RoomChatSettings } from './RoomChatSettings'; import { RoomModerationSettings } from './RoomModerationSettings'; diff --git a/src/nitro/communication/messages/parser/room/data/RoomSettingsSavedParser.ts b/src/nitro/communication/messages/parser/room/data/RoomSettingsSavedParser.ts index bb8fee57..8b360eec 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomSettingsSavedParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomSettingsSavedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomSettingsSavedParser implements IMessageParser { @@ -25,4 +24,4 @@ export class RoomSettingsSavedParser implements IMessageParser { return this._roomId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/data/RoomSettingsUpdatedParser.ts b/src/nitro/communication/messages/parser/room/data/RoomSettingsUpdatedParser.ts index dfa8f83e..ec491ea5 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomSettingsUpdatedParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomSettingsUpdatedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomSettingsUpdatedParser implements IMessageParser { @@ -25,4 +24,4 @@ export class RoomSettingsUpdatedParser implements IMessageParser { return this._roomId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/data/RoomSettingsUsersListParser.ts b/src/nitro/communication/messages/parser/room/data/RoomSettingsUsersListParser.ts index a475c6df..694458ce 100644 --- a/src/nitro/communication/messages/parser/room/data/RoomSettingsUsersListParser.ts +++ b/src/nitro/communication/messages/parser/room/data/RoomSettingsUsersListParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomSettingsUsersListParser implements IMessageParser { @@ -43,4 +42,4 @@ export class RoomSettingsUsersListParser implements IMessageParser { return this._users; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/engine/ObjectsDataUpdateParser.ts b/src/nitro/communication/messages/parser/room/engine/ObjectsDataUpdateParser.ts index 2fc9ce0c..9f719a78 100644 --- a/src/nitro/communication/messages/parser/room/engine/ObjectsDataUpdateParser.ts +++ b/src/nitro/communication/messages/parser/room/engine/ObjectsDataUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { ObjectData } from '../../../incoming/room/engine/ObjectData'; import { FurnitureDataParser } from '../furniture/FurnitureDataParser'; diff --git a/src/nitro/communication/messages/parser/room/engine/ObjectsRollingParser.ts b/src/nitro/communication/messages/parser/room/engine/ObjectsRollingParser.ts index 925b4f95..addb74c5 100644 --- a/src/nitro/communication/messages/parser/room/engine/ObjectsRollingParser.ts +++ b/src/nitro/communication/messages/parser/room/engine/ObjectsRollingParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { Vector3d } from '../../../../../../room/utils/Vector3d'; import { ObjectRolling } from '../../../../../room/utils/ObjectRolling'; diff --git a/src/nitro/communication/messages/parser/room/engine/RoomCreatedParser.ts b/src/nitro/communication/messages/parser/room/engine/RoomCreatedParser.ts index 7b524d74..759c58df 100644 --- a/src/nitro/communication/messages/parser/room/engine/RoomCreatedParser.ts +++ b/src/nitro/communication/messages/parser/room/engine/RoomCreatedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomCreatedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/furniture/FurnitureAliasesParser.ts b/src/nitro/communication/messages/parser/room/furniture/FurnitureAliasesParser.ts index 5ca56e53..d8da221c 100644 --- a/src/nitro/communication/messages/parser/room/furniture/FurnitureAliasesParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/FurnitureAliasesParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurnitureAliasesParser implements IMessageParser { @@ -32,4 +31,4 @@ export class FurnitureAliasesParser implements IMessageParser { return this._aliases; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/FurnitureDataParser.ts b/src/nitro/communication/messages/parser/room/furniture/FurnitureDataParser.ts index 4e996072..e7a4cbb7 100644 --- a/src/nitro/communication/messages/parser/room/furniture/FurnitureDataParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/FurnitureDataParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { IObjectData } from '../../../../../room/object/data/IObjectData'; import { ObjectDataFactory } from '../../../../../room/object/data/ObjectDataFactory'; @@ -48,4 +47,4 @@ export class FurnitureDataParser implements IMessageParser { return this._data; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/FurnitureItemDataParser.ts b/src/nitro/communication/messages/parser/room/furniture/FurnitureItemDataParser.ts index 6e1a1455..8c2e700e 100644 --- a/src/nitro/communication/messages/parser/room/furniture/FurnitureItemDataParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/FurnitureItemDataParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurnitureItemDataParser implements IMessageParser { @@ -33,4 +32,4 @@ export class FurnitureItemDataParser implements IMessageParser { return this._data; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/FurnitureStackHeightParser.ts b/src/nitro/communication/messages/parser/room/furniture/FurnitureStackHeightParser.ts index 36822664..c5a9a525 100644 --- a/src/nitro/communication/messages/parser/room/furniture/FurnitureStackHeightParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/FurnitureStackHeightParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurnitureStackHeightParser implements IMessageParser { @@ -33,4 +32,4 @@ export class FurnitureStackHeightParser implements IMessageParser { return this._height; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/FurnitureState2Parser.ts b/src/nitro/communication/messages/parser/room/furniture/FurnitureState2Parser.ts index e4b342e7..08a650c1 100644 --- a/src/nitro/communication/messages/parser/room/furniture/FurnitureState2Parser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/FurnitureState2Parser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurnitureState2Parser implements IMessageParser { @@ -33,4 +32,4 @@ export class FurnitureState2Parser implements IMessageParser { return this._value; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/FurnitureStateParser.ts b/src/nitro/communication/messages/parser/room/furniture/FurnitureStateParser.ts index ee8ea5a6..946650ee 100644 --- a/src/nitro/communication/messages/parser/room/furniture/FurnitureStateParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/FurnitureStateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class FurnitureStateParser implements IMessageParser { @@ -33,4 +32,4 @@ export class FurnitureStateParser implements IMessageParser { return this._state; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFinishedParser.ts b/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFinishedParser.ts index adb1875d..01375774 100644 --- a/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFinishedParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFinishedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class LoveLockFurniFinishedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFriendConfirmedParser.ts b/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFriendConfirmedParser.ts index f46b9d96..9cee7c49 100644 --- a/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFriendConfirmedParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniFriendConfirmedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class LoveLockFurniFriendConfirmedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniStartParser.ts b/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniStartParser.ts index ea99046f..6dc832fb 100644 --- a/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniStartParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/LoveLockFurniStartParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class LoveLockFurniStartParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/furniture/RoomDimmerPresetsMessageParser.ts b/src/nitro/communication/messages/parser/room/furniture/RoomDimmerPresetsMessageParser.ts index 06d4075b..f44a8a28 100644 --- a/src/nitro/communication/messages/parser/room/furniture/RoomDimmerPresetsMessageParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/RoomDimmerPresetsMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { MoodlightFromServer } from '../../../incoming/room/furniture/moodlightFromServer'; export class RoomDimmerPresetsMessageParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorAddParser.ts b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorAddParser.ts index 613a969a..74da26a4 100644 --- a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorAddParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorAddParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; import { FurnitureFloorDataParser } from './FurnitureFloorDataParser'; export class FurnitureFloorAddParser implements IMessageParser @@ -27,4 +26,4 @@ export class FurnitureFloorAddParser implements IMessageParser { return this._item; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorDataParser.ts b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorDataParser.ts index 975708d4..71179d78 100644 --- a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorDataParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../../core'; import { IObjectData } from '../../../../../../room/object/data/IObjectData'; import { FurnitureDataParser } from '../FurnitureDataParser'; @@ -157,4 +157,4 @@ export class FurnitureFloorDataParser { this._spriteName = type; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorParser.ts b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorParser.ts index b892f4d1..75ad735d 100644 --- a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; import { FurnitureFloorDataParser } from './FurnitureFloorDataParser'; export class FurnitureFloorParser implements IMessageParser @@ -66,4 +65,4 @@ export class FurnitureFloorParser implements IMessageParser { return this._items; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorRemoveParser.ts b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorRemoveParser.ts index a99a160d..7bec9336 100644 --- a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorRemoveParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorRemoveParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class FurnitureFloorRemoveParser implements IMessageParser { @@ -49,4 +48,4 @@ export class FurnitureFloorRemoveParser implements IMessageParser { return this._delay; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorUpdateParser.ts b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorUpdateParser.ts index 8f3e57af..acf8834d 100644 --- a/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorUpdateParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/floor/FurnitureFloorUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; import { FurnitureFloorDataParser } from './FurnitureFloorDataParser'; export class FurnitureFloorUpdateParser implements IMessageParser @@ -26,4 +25,4 @@ export class FurnitureFloorUpdateParser implements IMessageParser { return this._item; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallAddParser.ts b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallAddParser.ts index ebad7846..23c07c23 100644 --- a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallAddParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallAddParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; import { FurnitureWallDataParser } from './FurnitureWallDataParser'; export class FurnitureWallAddParser implements IMessageParser @@ -27,4 +26,4 @@ export class FurnitureWallAddParser implements IMessageParser { return this._item; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallDataParser.ts b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallDataParser.ts index 2d4439ef..35f5b618 100644 --- a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallDataParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../../core'; export class FurnitureWallDataParser { diff --git a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallParser.ts b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallParser.ts index 94f78286..4334ce01 100644 --- a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; import { FurnitureWallDataParser } from './FurnitureWallDataParser'; export class FurnitureWallParser implements IMessageParser @@ -66,4 +65,4 @@ export class FurnitureWallParser implements IMessageParser { return this._items; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallRemoveParser.ts b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallRemoveParser.ts index a441141f..fdc5203b 100644 --- a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallRemoveParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallRemoveParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class FurnitureWallRemoveParser implements IMessageParser { @@ -33,4 +32,4 @@ export class FurnitureWallRemoveParser implements IMessageParser { return this._userId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallUpdateParser.ts b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallUpdateParser.ts index 11ea7d14..f9875063 100644 --- a/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallUpdateParser.ts +++ b/src/nitro/communication/messages/parser/room/furniture/wall/FurnitureWallUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; import { FurnitureWallDataParser } from './FurnitureWallDataParser'; export class FurnitureWallUpdateParser implements IMessageParser @@ -27,4 +26,4 @@ export class FurnitureWallUpdateParser implements IMessageParser { return this._item; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomBlockedTilesParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomBlockedTilesParser.ts index 1a6a56f3..3a07dccb 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomBlockedTilesParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomBlockedTilesParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomBlockedTilesParser implements IMessageParser { @@ -37,4 +36,4 @@ export class RoomBlockedTilesParser implements IMessageParser { return this._blockedTilesMap; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomDoorParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomDoorParser.ts index 3df38b3c..43338aec 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomDoorParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomDoorParser.ts @@ -1,5 +1,4 @@ -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomDoorParser implements IMessageParser { @@ -41,4 +40,4 @@ export class RoomDoorParser implements IMessageParser { return this._direction; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapParser.ts index 0baf15c0..ced17a14 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomHeightMapParser implements IMessageParser { @@ -86,4 +85,4 @@ export class RoomHeightMapParser implements IMessageParser { return this._heights; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapUpdateParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapUpdateParser.ts index 8da1e045..7f1e0c43 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapUpdateParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomHeightMapUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { RoomHeightMapParser } from './RoomHeightMapParser'; export class RoomHeightMapUpdateParser implements IMessageParser @@ -73,4 +72,4 @@ export class RoomHeightMapUpdateParser implements IMessageParser { return this._value; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomModelNameParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomModelNameParser.ts index bf062350..d9c42590 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomModelNameParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomModelNameParser.ts @@ -1,5 +1,4 @@ -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomModelNameParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomModelNameParser implements IMessageParser { return this._roomId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomModelParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomModelParser.ts index 1679d418..bde2694f 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomModelParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomModelParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { RoomPlaneParser } from '../../../../../room/object/RoomPlaneParser'; export class RoomModelParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomPaintParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomPaintParser.ts index 5a68b09c..4abe196d 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomPaintParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomPaintParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomPaintParser implements IMessageParser { @@ -63,4 +62,4 @@ export class RoomPaintParser implements IMessageParser { return this._landscapeAnimation; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/mapping/RoomThicknessParser.ts b/src/nitro/communication/messages/parser/room/mapping/RoomThicknessParser.ts index 2e47c600..f682e1fa 100644 --- a/src/nitro/communication/messages/parser/room/mapping/RoomThicknessParser.ts +++ b/src/nitro/communication/messages/parser/room/mapping/RoomThicknessParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomThicknessParser implements IMessageParser { @@ -48,4 +47,4 @@ export class RoomThicknessParser implements IMessageParser { return this._thicknessFloor; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/pet/PetExperienceParser.ts b/src/nitro/communication/messages/parser/room/pet/PetExperienceParser.ts index 04f826fe..1057ee68 100644 --- a/src/nitro/communication/messages/parser/room/pet/PetExperienceParser.ts +++ b/src/nitro/communication/messages/parser/room/pet/PetExperienceParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class PetExperienceParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/pet/PetFigureUpdateParser.ts b/src/nitro/communication/messages/parser/room/pet/PetFigureUpdateParser.ts index e966ff86..84aef8f0 100644 --- a/src/nitro/communication/messages/parser/room/pet/PetFigureUpdateParser.ts +++ b/src/nitro/communication/messages/parser/room/pet/PetFigureUpdateParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { PetFigureDataParser } from '../../inventory/pets/PetFigureDataParser'; export class PetFigureUpdateParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/room/pet/PetInfoParser.ts b/src/nitro/communication/messages/parser/room/pet/PetInfoParser.ts index a5861c03..a8894ec3 100644 --- a/src/nitro/communication/messages/parser/room/pet/PetInfoParser.ts +++ b/src/nitro/communication/messages/parser/room/pet/PetInfoParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class PetInfoParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/session/YouArePlayingGameParser.ts b/src/nitro/communication/messages/parser/room/session/YouArePlayingGameParser.ts index 92abf519..2ca2f970 100644 --- a/src/nitro/communication/messages/parser/room/session/YouArePlayingGameParser.ts +++ b/src/nitro/communication/messages/parser/room/session/YouArePlayingGameParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class YouArePlayingGameParser implements IMessageParser { @@ -25,4 +24,4 @@ export class YouArePlayingGameParser implements IMessageParser { return this._isPlaying; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitDanceParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitDanceParser.ts index bc475217..c646df6c 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitDanceParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitDanceParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitDanceParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomUnitDanceParser implements IMessageParser { return this._danceId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitEffectParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitEffectParser.ts index 9f8357e7..7fbb7cab 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitEffectParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitEffectParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitEffectParser implements IMessageParser { @@ -41,4 +40,4 @@ export class RoomUnitEffectParser implements IMessageParser { return this._delay; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitExpressionParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitExpressionParser.ts index 30adb015..d41ebc97 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitExpressionParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitExpressionParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitExpressionParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomUnitExpressionParser implements IMessageParser { return this._expression; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemParser.ts index 4133af60..b8ac8513 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitHandItemParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomUnitHandItemParser implements IMessageParser { return this._handId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemReceivedParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemReceivedParser.ts index ad60ef2e..414771a8 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemReceivedParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitHandItemReceivedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitHandItemReceivedParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitIdleParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitIdleParser.ts index f0b288a1..70d91292 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitIdleParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitIdleParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitIdleParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomUnitIdleParser implements IMessageParser { return this._isIdle; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitInfoParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitInfoParser.ts index 66e198f1..0d52956b 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitInfoParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitInfoParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitInfoParser implements IMessageParser { @@ -57,4 +56,4 @@ export class RoomUnitInfoParser implements IMessageParser { return this._achievementScore; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitNumberParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitNumberParser.ts index ca061e08..c2d177f5 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitNumberParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitNumberParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitNumberParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomUnitNumberParser implements IMessageParser { return this._value; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitParser.ts index 2c9cdde7..b841ebeb 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { RoomObjectType } from '../../../../../room/object/RoomObjectType'; import { UserMessageData } from './UserMessageData'; @@ -185,4 +184,4 @@ export class RoomUnitParser implements IMessageParser { return this._users; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitRemoveParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitRemoveParser.ts index 7977c2b4..4a172346 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitRemoveParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitRemoveParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class RoomUnitRemoveParser implements IMessageParser { @@ -25,4 +24,4 @@ export class RoomUnitRemoveParser implements IMessageParser { return this._unitId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/RoomUnitStatusParser.ts b/src/nitro/communication/messages/parser/room/unit/RoomUnitStatusParser.ts index 83f76770..5fc5bae7 100644 --- a/src/nitro/communication/messages/parser/room/unit/RoomUnitStatusParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/RoomUnitStatusParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { RoomUnitStatusAction } from './RoomUnitStatusAction'; import { RoomUnitStatusMessage } from './RoomUnitStatusMessage'; @@ -117,4 +116,4 @@ export class RoomUnitStatusParser implements IMessageParser { return this._statuses; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/chat/FloodControlParser.ts b/src/nitro/communication/messages/parser/room/unit/chat/FloodControlParser.ts index af4c572d..72cf8a73 100644 --- a/src/nitro/communication/messages/parser/room/unit/chat/FloodControlParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/chat/FloodControlParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class FloodControlParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/unit/chat/RemainingMuteParser.ts b/src/nitro/communication/messages/parser/room/unit/chat/RemainingMuteParser.ts index 0e937ef8..772910f4 100644 --- a/src/nitro/communication/messages/parser/room/unit/chat/RemainingMuteParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/chat/RemainingMuteParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RemainingMuteParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitChatParser.ts b/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitChatParser.ts index 4d9a1729..42d851a6 100644 --- a/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitChatParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitChatParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RoomUnitChatParser implements IMessageParser { @@ -85,4 +84,4 @@ export class RoomUnitChatParser implements IMessageParser { return this._messageLength; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitTypingParser.ts b/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitTypingParser.ts index 2e9c5a94..27159a2e 100644 --- a/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitTypingParser.ts +++ b/src/nitro/communication/messages/parser/room/unit/chat/RoomUnitTypingParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class RoomUnitTypingParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RoomUnitTypingParser implements IMessageParser { return this._isTyping; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/roomevents/RoomMutedParser.ts b/src/nitro/communication/messages/parser/roomevents/RoomMutedParser.ts index e913b659..f9970a40 100644 --- a/src/nitro/communication/messages/parser/roomevents/RoomMutedParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/RoomMutedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class RoomMutedParser implements IMessageParser { @@ -23,4 +22,4 @@ export class RoomMutedParser implements IMessageParser { return this._isMuted; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/roomevents/WiredFurniActionParser.ts b/src/nitro/communication/messages/parser/roomevents/WiredFurniActionParser.ts index c2895aae..5b9abf45 100644 --- a/src/nitro/communication/messages/parser/roomevents/WiredFurniActionParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/WiredFurniActionParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { WiredActionDefinition } from '../../incoming/roomevents/WiredActionDefinition'; export class WiredFurniActionParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/roomevents/WiredFurniConditionParser.ts b/src/nitro/communication/messages/parser/roomevents/WiredFurniConditionParser.ts index 9cc32562..e592c366 100644 --- a/src/nitro/communication/messages/parser/roomevents/WiredFurniConditionParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/WiredFurniConditionParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { ConditionDefinition } from '../../incoming/roomevents/ConditionDefinition'; export class WiredFurniConditionParser implements IMessageParser @@ -26,4 +25,4 @@ export class WiredFurniConditionParser implements IMessageParser { return this._definition; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/roomevents/WiredFurniTriggerParser.ts b/src/nitro/communication/messages/parser/roomevents/WiredFurniTriggerParser.ts index 6e36a66b..f7b07389 100644 --- a/src/nitro/communication/messages/parser/roomevents/WiredFurniTriggerParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/WiredFurniTriggerParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; import { TriggerDefinition } from '../../incoming/roomevents/TriggerDefinition'; export class WiredFurniTriggerParser implements IMessageParser @@ -26,4 +25,4 @@ export class WiredFurniTriggerParser implements IMessageParser { return this._definition; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/roomevents/WiredOpenParser.ts b/src/nitro/communication/messages/parser/roomevents/WiredOpenParser.ts index 1824a001..e21a2c72 100644 --- a/src/nitro/communication/messages/parser/roomevents/WiredOpenParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/WiredOpenParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class WiredOpenParser implements IMessageParser { @@ -25,4 +24,4 @@ export class WiredOpenParser implements IMessageParser { return this._stuffId; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/roomevents/WiredRewardResultMessageParser.ts b/src/nitro/communication/messages/parser/roomevents/WiredRewardResultMessageParser.ts index a9606920..7347243e 100644 --- a/src/nitro/communication/messages/parser/roomevents/WiredRewardResultMessageParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/WiredRewardResultMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class WiredRewardResultMessageParser implements IMessageParser { @@ -25,4 +24,4 @@ export class WiredRewardResultMessageParser implements IMessageParser { return this._reason; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/roomevents/WiredSaveSuccessParser.ts b/src/nitro/communication/messages/parser/roomevents/WiredSaveSuccessParser.ts index 5e8d0513..379362a0 100644 --- a/src/nitro/communication/messages/parser/roomevents/WiredSaveSuccessParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/WiredSaveSuccessParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class WiredSaveSuccessParser implements IMessageParser { @@ -14,4 +13,4 @@ export class WiredSaveSuccessParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/roomevents/WiredValidationErrorParser.ts b/src/nitro/communication/messages/parser/roomevents/WiredValidationErrorParser.ts index 0725c70e..b7e69cce 100644 --- a/src/nitro/communication/messages/parser/roomevents/WiredValidationErrorParser.ts +++ b/src/nitro/communication/messages/parser/roomevents/WiredValidationErrorParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class WiredValidationErrorParser implements IMessageParser { @@ -25,4 +24,4 @@ export class WiredValidationErrorParser implements IMessageParser { return this._info; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/security/AuthenticatedParser.ts b/src/nitro/communication/messages/parser/security/AuthenticatedParser.ts index cf874899..2325b7a9 100644 --- a/src/nitro/communication/messages/parser/security/AuthenticatedParser.ts +++ b/src/nitro/communication/messages/parser/security/AuthenticatedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class AuthenticatedParser implements IMessageParser { @@ -14,4 +13,4 @@ export class AuthenticatedParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/catalog/CatalogApproveNameResultParser.ts b/src/nitro/communication/messages/parser/user/ApproveNameResultParser.ts similarity index 69% rename from src/nitro/communication/messages/parser/catalog/CatalogApproveNameResultParser.ts rename to src/nitro/communication/messages/parser/user/ApproveNameResultParser.ts index c16a7100..b2346674 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogApproveNameResultParser.ts +++ b/src/nitro/communication/messages/parser/user/ApproveNameResultParser.ts @@ -1,7 +1,6 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; -export class CatalogApproveNameResultParser implements IMessageParser +export class ApproveNameResultParser implements IMessageParser { private _result: number; private _validationInfo: string; diff --git a/src/nitro/communication/messages/parser/catalog/CatalogGroupsParser.ts b/src/nitro/communication/messages/parser/user/GuildMembershipsMessageParser.ts similarity index 63% rename from src/nitro/communication/messages/parser/catalog/CatalogGroupsParser.ts rename to src/nitro/communication/messages/parser/user/GuildMembershipsMessageParser.ts index 09694dad..5b5dba97 100644 --- a/src/nitro/communication/messages/parser/catalog/CatalogGroupsParser.ts +++ b/src/nitro/communication/messages/parser/user/GuildMembershipsMessageParser.ts @@ -1,8 +1,7 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; -import { CatalogGroupData } from './utils/CatalogGroupData'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; +import { CatalogGroupData } from '../catalog/utils/CatalogGroupData'; -export class CatalogGroupsParser implements IMessageParser +export class GuildMembershipsMessageParser implements IMessageParser { private _groups: CatalogGroupData[]; diff --git a/src/nitro/communication/messages/parser/user/IgnoreResultParser.ts b/src/nitro/communication/messages/parser/user/IgnoreResultParser.ts index 4ce91f38..17539e9a 100644 --- a/src/nitro/communication/messages/parser/user/IgnoreResultParser.ts +++ b/src/nitro/communication/messages/parser/user/IgnoreResultParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class IgnoreResultParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/user/IgnoredUsersParser.ts b/src/nitro/communication/messages/parser/user/IgnoredUsersParser.ts index ea412240..4f980615 100644 --- a/src/nitro/communication/messages/parser/user/IgnoredUsersParser.ts +++ b/src/nitro/communication/messages/parser/user/IgnoredUsersParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class IgnoredUsersParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/user/InClientLinkParser.ts b/src/nitro/communication/messages/parser/user/InClientLinkParser.ts index 970e3cd1..4a18bc3e 100644 --- a/src/nitro/communication/messages/parser/user/InClientLinkParser.ts +++ b/src/nitro/communication/messages/parser/user/InClientLinkParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class InClientLinkParser implements IMessageParser { @@ -23,4 +22,4 @@ export class InClientLinkParser implements IMessageParser { return this._link; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/RespectReceivedParser.ts b/src/nitro/communication/messages/parser/user/RespectReceivedParser.ts index be97aedb..fa124e2b 100644 --- a/src/nitro/communication/messages/parser/user/RespectReceivedParser.ts +++ b/src/nitro/communication/messages/parser/user/RespectReceivedParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class RespectReceivedParser implements IMessageParser { @@ -33,4 +32,4 @@ export class RespectReceivedParser implements IMessageParser { return this._respectsReceived; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/RoomEntryData.ts b/src/nitro/communication/messages/parser/user/RoomEntryData.ts new file mode 100644 index 00000000..2a1da927 --- /dev/null +++ b/src/nitro/communication/messages/parser/user/RoomEntryData.ts @@ -0,0 +1,28 @@ +export class RoomEntryData +{ + private _roomId: number; + private _roomName: string; + private _hasControllers: boolean = false; + + constructor(roomId: number, roomName: string, hasControllers: boolean) + { + this._roomId = roomId; + this._roomName = roomName; + this._hasControllers = hasControllers; + } + + public get roomId(): number + { + return this._roomId; + } + + public get roomName(): string + { + return this._roomName; + } + + public get _Str_22776(): boolean + { + return this._hasControllers; + } +} diff --git a/src/nitro/communication/messages/parser/user/access/UserPerksParser.ts b/src/nitro/communication/messages/parser/user/access/UserPerksParser.ts index 8884852f..41de9c92 100644 --- a/src/nitro/communication/messages/parser/user/access/UserPerksParser.ts +++ b/src/nitro/communication/messages/parser/user/access/UserPerksParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserPerksParser implements IMessageParser { @@ -14,4 +13,4 @@ export class UserPerksParser implements IMessageParser return true; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/access/UserPermissionsParser.ts b/src/nitro/communication/messages/parser/user/access/UserPermissionsParser.ts index 60e7d66a..1e8a7d5e 100644 --- a/src/nitro/communication/messages/parser/user/access/UserPermissionsParser.ts +++ b/src/nitro/communication/messages/parser/user/access/UserPermissionsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserPermissionsParser implements IMessageParser { @@ -41,4 +40,4 @@ export class UserPermissionsParser implements IMessageParser { return this._isAmbassador; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfo.ts b/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfo.ts index 13687ba9..f8ba2bd8 100644 --- a/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfo.ts +++ b/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfo.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; import { RelationshipStatusEnum } from '../../../../../enums/RelationshipStatusEnum'; export class RelationshipStatusInfo diff --git a/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfoMessageParser.ts b/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfoMessageParser.ts index 180f169e..cdbe0860 100644 --- a/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfoMessageParser.ts +++ b/src/nitro/communication/messages/parser/user/data/RelationshipStatusInfoMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { AdvancedMap } from '../../../../../../core/utils/AdvancedMap'; import { RelationshipStatusEnum } from '../../../../../enums/RelationshipStatusEnum'; import { RelationshipStatusInfo } from './RelationshipStatusInfo'; diff --git a/src/nitro/communication/messages/parser/user/data/UserCurrentBadgesParser.ts b/src/nitro/communication/messages/parser/user/data/UserCurrentBadgesParser.ts index eb791649..e3c18147 100644 --- a/src/nitro/communication/messages/parser/user/data/UserCurrentBadgesParser.ts +++ b/src/nitro/communication/messages/parser/user/data/UserCurrentBadgesParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserCurrentBadgesParser implements IMessageParser { @@ -44,4 +43,4 @@ export class UserCurrentBadgesParser implements IMessageParser { return this._badges; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/data/UserFigureParser.ts b/src/nitro/communication/messages/parser/user/data/UserFigureParser.ts index d9e4ade8..cf22ce1e 100644 --- a/src/nitro/communication/messages/parser/user/data/UserFigureParser.ts +++ b/src/nitro/communication/messages/parser/user/data/UserFigureParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserFigureParser implements IMessageParser { @@ -33,4 +32,4 @@ export class UserFigureParser implements IMessageParser { return this._gender; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/data/UserInfoDataParser.ts b/src/nitro/communication/messages/parser/user/data/UserInfoDataParser.ts index 10905826..247b0cf3 100644 --- a/src/nitro/communication/messages/parser/user/data/UserInfoDataParser.ts +++ b/src/nitro/communication/messages/parser/user/data/UserInfoDataParser.ts @@ -1,4 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; +import { IMessageDataWrapper } from '../../../../../../core'; export class UserInfoDataParser { @@ -136,4 +136,4 @@ export class UserInfoDataParser { return this._safetyLocked; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/data/UserInfoParser.ts b/src/nitro/communication/messages/parser/user/data/UserInfoParser.ts index 24b94735..702903d8 100644 --- a/src/nitro/communication/messages/parser/user/data/UserInfoParser.ts +++ b/src/nitro/communication/messages/parser/user/data/UserInfoParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { UserInfoDataParser } from './UserInfoDataParser'; export class UserInfoParser implements IMessageParser @@ -28,4 +27,4 @@ export class UserInfoParser implements IMessageParser { return this._userInfo; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/data/UserNameChangeMessageParser.ts b/src/nitro/communication/messages/parser/user/data/UserNameChangeMessageParser.ts index 0992fae7..4d004364 100644 --- a/src/nitro/communication/messages/parser/user/data/UserNameChangeMessageParser.ts +++ b/src/nitro/communication/messages/parser/user/data/UserNameChangeMessageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserNameChangeMessageParser implements IMessageParser { @@ -41,4 +40,4 @@ export class UserNameChangeMessageParser implements IMessageParser { return this._newName; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/data/UserProfileParser.ts b/src/nitro/communication/messages/parser/user/data/UserProfileParser.ts index 981d3589..a0317d6f 100644 --- a/src/nitro/communication/messages/parser/user/data/UserProfileParser.ts +++ b/src/nitro/communication/messages/parser/user/data/UserProfileParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; import { GroupDataParser } from '../../group/utils/GroupDataParser'; export class UserProfileParser implements IMessageParser diff --git a/src/nitro/communication/messages/parser/user/data/UserSettingsParser.ts b/src/nitro/communication/messages/parser/user/data/UserSettingsParser.ts index d71ffcaf..b566d6f1 100644 --- a/src/nitro/communication/messages/parser/user/data/UserSettingsParser.ts +++ b/src/nitro/communication/messages/parser/user/data/UserSettingsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserSettingsParser implements IMessageParser { @@ -81,4 +80,4 @@ export class UserSettingsParser implements IMessageParser { return this._chatType; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/index.ts b/src/nitro/communication/messages/parser/user/index.ts index c46b7c7e..559d2c8a 100644 --- a/src/nitro/communication/messages/parser/user/index.ts +++ b/src/nitro/communication/messages/parser/user/index.ts @@ -1,8 +1,10 @@ export * from './access'; +export * from './ApproveNameResultParser'; export * from './data'; export * from './IgnoredUsersParser'; export * from './IgnoreResultParser'; export * from './InClientLinkParser'; export * from './inventory'; export * from './RespectReceivedParser'; +export * from './RoomEntryData'; export * from './wardrobe'; diff --git a/src/nitro/communication/messages/parser/user/inventory/currency/UserCreditsParser.ts b/src/nitro/communication/messages/parser/user/inventory/currency/UserCreditsParser.ts index 13dcf9c8..78282115 100644 --- a/src/nitro/communication/messages/parser/user/inventory/currency/UserCreditsParser.ts +++ b/src/nitro/communication/messages/parser/user/inventory/currency/UserCreditsParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class UserCreditsParser implements IMessageParser { @@ -25,4 +24,4 @@ export class UserCreditsParser implements IMessageParser { return this._credits; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/inventory/currency/UserCurrencyParser.ts b/src/nitro/communication/messages/parser/user/inventory/currency/UserCurrencyParser.ts index 6d017d92..3c369630 100644 --- a/src/nitro/communication/messages/parser/user/inventory/currency/UserCurrencyParser.ts +++ b/src/nitro/communication/messages/parser/user/inventory/currency/UserCurrencyParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class UserCurrencyParser implements IMessageParser { @@ -32,4 +31,4 @@ export class UserCurrencyParser implements IMessageParser { return this._currencies; } -} \ No newline at end of file +} diff --git a/src/nitro/communication/messages/parser/user/inventory/subscription/UserSubscriptionParser.ts b/src/nitro/communication/messages/parser/user/inventory/subscription/UserSubscriptionParser.ts index 49eeeaca..d1199e65 100644 --- a/src/nitro/communication/messages/parser/user/inventory/subscription/UserSubscriptionParser.ts +++ b/src/nitro/communication/messages/parser/user/inventory/subscription/UserSubscriptionParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../../core'; export class UserSubscriptionParser implements IMessageParser { diff --git a/src/nitro/communication/messages/parser/user/wardrobe/UserWardrobePageParser.ts b/src/nitro/communication/messages/parser/user/wardrobe/UserWardrobePageParser.ts index 412f62e2..67029cb9 100644 --- a/src/nitro/communication/messages/parser/user/wardrobe/UserWardrobePageParser.ts +++ b/src/nitro/communication/messages/parser/user/wardrobe/UserWardrobePageParser.ts @@ -1,5 +1,4 @@ -import { IMessageDataWrapper } from '../../../../../../core/communication/messages/IMessageDataWrapper'; -import { IMessageParser } from '../../../../../../core/communication/messages/IMessageParser'; +import { IMessageDataWrapper, IMessageParser } from '../../../../../../core'; export class UserWardrobePageParser implements IMessageParser {