diff --git a/src/nitro/communication/NitroMessages.ts b/src/nitro/communication/NitroMessages.ts index 1ecd5619..ba2f7d14 100644 --- a/src/nitro/communication/NitroMessages.ts +++ b/src/nitro/communication/NitroMessages.ts @@ -259,6 +259,7 @@ import { GetCraftableProductsComposer } from './messages/outgoing/crafting/GetCr import { GetCraftingRecipeComposer } from './messages/outgoing/crafting/GetCraftingRecipeComposer'; import { GetCraftingRecipesAvailableComposer } from './messages/outgoing/crafting/GetCraftingRecipesAvailableComposer'; import { DesktopViewComposer } from './messages/outgoing/desktop/DesktopViewComposer'; +import { FriendFurniConfirmLockMessageComposer } from './messages/outgoing/friendfurni/FriendFurniConfirmLockMessageComposer'; import { AcceptFriendComposer } from './messages/outgoing/friendlist/AcceptFriendComposer'; import { DeclineFriendComposer } from './messages/outgoing/friendlist/DeclineFriendComposer'; import { FindNewFriendsComposer } from './messages/outgoing/friendlist/FindNewFriendsComposer'; @@ -403,7 +404,6 @@ import { FurnitureOneWayDoorComposer } from './messages/outgoing/room/furniture/ import { FurnitureRandomStateComposer } from './messages/outgoing/room/furniture/logic/FurnitureRandomStateComposer'; import { FurnitureStackHeightComposer } from './messages/outgoing/room/furniture/logic/FurnitureStackHeightComposer'; import { FurnitureWallMultiStateComposer } from './messages/outgoing/room/furniture/logic/FurnitureWallMultiStateComposer'; -import { LoveLockStartConfirmComposer } from './messages/outgoing/room/furniture/logic/LoveLockStartConfirmComposer'; import { FurnitureMannequinSaveLookComposer } from './messages/outgoing/room/furniture/mannequin/FurnitureMannequinSaveLookComposer'; import { FurnitureMannequinSaveNameComposer } from './messages/outgoing/room/furniture/mannequin/FurnitureMannequinSaveNameComposer'; import { OpenPresentComposer } from './messages/outgoing/room/furniture/presents/OpenPresentComposer'; @@ -912,7 +912,6 @@ export class NitroMessages implements IMessageConfiguration this._composers.set(OutgoingHeader.GET_CLUB_OFFERS, GetClubOffersMessageComposer); this._composers.set(OutgoingHeader.GET_CLUB_GIFT_INFO, GetClubGiftInfo); this._composers.set(OutgoingHeader.CATALOG_REDEEM_VOUCHER, RedeemVoucherMessageComposer); - this._composers.set(OutgoingHeader.LOVELOCK_START_CONFIRM, LoveLockStartConfirmComposer); this._composers.set(OutgoingHeader.GROUP_MEMBERSHIPS, CatalogGroupsComposer); this._composers.set(OutgoingHeader.GET_GIFT_WRAPPING_CONFIG, GetGiftWrappingConfigurationComposer); this._composers.set(OutgoingHeader.CATALOG_SELECT_VIP_GIFT, SelectClubGiftComposer); @@ -957,6 +956,9 @@ export class NitroMessages implements IMessageConfiguration this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPE, GetCraftingRecipeComposer); this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPES_AVAILABLE, GetCraftingRecipesAvailableComposer); + // FRIENDFURNI + this._composers.set(OutgoingHeader.FRIEND_FURNI_CONFIRM_LOCK, FriendFurniConfirmLockMessageComposer); + // CLIENT this._composers.set(OutgoingHeader.CLIENT_PONG, ClientPongComposer); this._composers.set(OutgoingHeader.RELEASE_VERSION, ClientReleaseVersionComposer); diff --git a/src/nitro/communication/messages/outgoing/OutgoingHeader.ts b/src/nitro/communication/messages/outgoing/OutgoingHeader.ts index e987c92f..f490d6f3 100644 --- a/src/nitro/communication/messages/outgoing/OutgoingHeader.ts +++ b/src/nitro/communication/messages/outgoing/OutgoingHeader.ts @@ -199,7 +199,7 @@ export class OutgoingHeader public static SET_ITEM_DATA = 3666; public static CATALOG_REDEEM_VOUCHER = 339; public static ROOM_TONER_APPLY = 2880; - public static LOVELOCK_START_CONFIRM = 3775; + public static FRIEND_FURNI_CONFIRM_LOCK = 3775; public static MANNEQUIN_SAVE_NAME = 2850; public static MANNEQUIN_SAVE_LOOK = 2209; public static PRESENT_OPEN_PRESENT = 3558; diff --git a/src/nitro/communication/messages/outgoing/friendfurni/FriendFurniConfirmLockMessageComposer.ts b/src/nitro/communication/messages/outgoing/friendfurni/FriendFurniConfirmLockMessageComposer.ts new file mode 100644 index 00000000..bd22ef0a --- /dev/null +++ b/src/nitro/communication/messages/outgoing/friendfurni/FriendFurniConfirmLockMessageComposer.ts @@ -0,0 +1,21 @@ +import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer'; + +export class FriendFurniConfirmLockMessageComposer implements IMessageComposer> +{ + private _data: ConstructorParameters; + + constructor(itemId: number, confirmed: boolean) + { + this._data = [ itemId, confirmed ]; + } + + public getMessageArray() + { + return this._data; + } + + public dispose(): void + { + return; + } +} diff --git a/src/nitro/communication/messages/outgoing/friendfurni/index.ts b/src/nitro/communication/messages/outgoing/friendfurni/index.ts new file mode 100644 index 00000000..545be877 --- /dev/null +++ b/src/nitro/communication/messages/outgoing/friendfurni/index.ts @@ -0,0 +1 @@ +export * from './FriendFurniConfirmLockMessageComposer'; diff --git a/src/nitro/communication/messages/outgoing/index.ts b/src/nitro/communication/messages/outgoing/index.ts index 5239a0e2..21715cea 100644 --- a/src/nitro/communication/messages/outgoing/index.ts +++ b/src/nitro/communication/messages/outgoing/index.ts @@ -6,6 +6,7 @@ export * from './catalog'; export * from './client'; export * from './competition'; export * from './desktop'; +export * from './friendfurni'; export * from './friendlist'; export * from './group'; export * from './handshake'; diff --git a/src/nitro/communication/messages/outgoing/room/furniture/logic/LoveLockStartConfirmComposer.ts b/src/nitro/communication/messages/outgoing/room/furniture/logic/LoveLockStartConfirmComposer.ts deleted file mode 100644 index 7f9d0b8e..00000000 --- a/src/nitro/communication/messages/outgoing/room/furniture/logic/LoveLockStartConfirmComposer.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IMessageComposer } from '../../../../../../../core/communication/messages/IMessageComposer'; - -export class LoveLockStartConfirmComposer implements IMessageComposer> -{ - private _data: ConstructorParameters; - - constructor(itemId: number, confirmed: boolean) - { - this._data = [ itemId, confirmed ]; - } - - public getMessageArray() - { - return this._data; - } - - public dispose(): void - { - return; - } -} diff --git a/src/nitro/communication/messages/outgoing/room/furniture/logic/index.ts b/src/nitro/communication/messages/outgoing/room/furniture/logic/index.ts index 978bb5b1..838e3389 100644 --- a/src/nitro/communication/messages/outgoing/room/furniture/logic/index.ts +++ b/src/nitro/communication/messages/outgoing/room/furniture/logic/index.ts @@ -7,4 +7,3 @@ export * from './FurnitureOneWayDoorComposer'; export * from './FurnitureRandomStateComposer'; export * from './FurnitureStackHeightComposer'; export * from './FurnitureWallMultiStateComposer'; -export * from './LoveLockStartConfirmComposer';