mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-19 06:46:28 +01:00
fix friendfurni packet names
This commit is contained in:
parent
378ef7d75e
commit
94110e66a7
@ -259,6 +259,7 @@ import { GetCraftableProductsComposer } from './messages/outgoing/crafting/GetCr
|
|||||||
import { GetCraftingRecipeComposer } from './messages/outgoing/crafting/GetCraftingRecipeComposer';
|
import { GetCraftingRecipeComposer } from './messages/outgoing/crafting/GetCraftingRecipeComposer';
|
||||||
import { GetCraftingRecipesAvailableComposer } from './messages/outgoing/crafting/GetCraftingRecipesAvailableComposer';
|
import { GetCraftingRecipesAvailableComposer } from './messages/outgoing/crafting/GetCraftingRecipesAvailableComposer';
|
||||||
import { DesktopViewComposer } from './messages/outgoing/desktop/DesktopViewComposer';
|
import { DesktopViewComposer } from './messages/outgoing/desktop/DesktopViewComposer';
|
||||||
|
import { FriendFurniConfirmLockMessageComposer } from './messages/outgoing/friendfurni/FriendFurniConfirmLockMessageComposer';
|
||||||
import { AcceptFriendComposer } from './messages/outgoing/friendlist/AcceptFriendComposer';
|
import { AcceptFriendComposer } from './messages/outgoing/friendlist/AcceptFriendComposer';
|
||||||
import { DeclineFriendComposer } from './messages/outgoing/friendlist/DeclineFriendComposer';
|
import { DeclineFriendComposer } from './messages/outgoing/friendlist/DeclineFriendComposer';
|
||||||
import { FindNewFriendsComposer } from './messages/outgoing/friendlist/FindNewFriendsComposer';
|
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 { FurnitureRandomStateComposer } from './messages/outgoing/room/furniture/logic/FurnitureRandomStateComposer';
|
||||||
import { FurnitureStackHeightComposer } from './messages/outgoing/room/furniture/logic/FurnitureStackHeightComposer';
|
import { FurnitureStackHeightComposer } from './messages/outgoing/room/furniture/logic/FurnitureStackHeightComposer';
|
||||||
import { FurnitureWallMultiStateComposer } from './messages/outgoing/room/furniture/logic/FurnitureWallMultiStateComposer';
|
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 { FurnitureMannequinSaveLookComposer } from './messages/outgoing/room/furniture/mannequin/FurnitureMannequinSaveLookComposer';
|
||||||
import { FurnitureMannequinSaveNameComposer } from './messages/outgoing/room/furniture/mannequin/FurnitureMannequinSaveNameComposer';
|
import { FurnitureMannequinSaveNameComposer } from './messages/outgoing/room/furniture/mannequin/FurnitureMannequinSaveNameComposer';
|
||||||
import { OpenPresentComposer } from './messages/outgoing/room/furniture/presents/OpenPresentComposer';
|
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_OFFERS, GetClubOffersMessageComposer);
|
||||||
this._composers.set(OutgoingHeader.GET_CLUB_GIFT_INFO, GetClubGiftInfo);
|
this._composers.set(OutgoingHeader.GET_CLUB_GIFT_INFO, GetClubGiftInfo);
|
||||||
this._composers.set(OutgoingHeader.CATALOG_REDEEM_VOUCHER, RedeemVoucherMessageComposer);
|
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.GROUP_MEMBERSHIPS, CatalogGroupsComposer);
|
||||||
this._composers.set(OutgoingHeader.GET_GIFT_WRAPPING_CONFIG, GetGiftWrappingConfigurationComposer);
|
this._composers.set(OutgoingHeader.GET_GIFT_WRAPPING_CONFIG, GetGiftWrappingConfigurationComposer);
|
||||||
this._composers.set(OutgoingHeader.CATALOG_SELECT_VIP_GIFT, SelectClubGiftComposer);
|
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_RECIPE, GetCraftingRecipeComposer);
|
||||||
this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPES_AVAILABLE, GetCraftingRecipesAvailableComposer);
|
this._composers.set(OutgoingHeader.GET_CRAFTING_RECIPES_AVAILABLE, GetCraftingRecipesAvailableComposer);
|
||||||
|
|
||||||
|
// FRIENDFURNI
|
||||||
|
this._composers.set(OutgoingHeader.FRIEND_FURNI_CONFIRM_LOCK, FriendFurniConfirmLockMessageComposer);
|
||||||
|
|
||||||
// CLIENT
|
// CLIENT
|
||||||
this._composers.set(OutgoingHeader.CLIENT_PONG, ClientPongComposer);
|
this._composers.set(OutgoingHeader.CLIENT_PONG, ClientPongComposer);
|
||||||
this._composers.set(OutgoingHeader.RELEASE_VERSION, ClientReleaseVersionComposer);
|
this._composers.set(OutgoingHeader.RELEASE_VERSION, ClientReleaseVersionComposer);
|
||||||
|
@ -199,7 +199,7 @@ export class OutgoingHeader
|
|||||||
public static SET_ITEM_DATA = 3666;
|
public static SET_ITEM_DATA = 3666;
|
||||||
public static CATALOG_REDEEM_VOUCHER = 339;
|
public static CATALOG_REDEEM_VOUCHER = 339;
|
||||||
public static ROOM_TONER_APPLY = 2880;
|
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_NAME = 2850;
|
||||||
public static MANNEQUIN_SAVE_LOOK = 2209;
|
public static MANNEQUIN_SAVE_LOOK = 2209;
|
||||||
public static PRESENT_OPEN_PRESENT = 3558;
|
public static PRESENT_OPEN_PRESENT = 3558;
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
|
||||||
|
|
||||||
|
export class FriendFurniConfirmLockMessageComposer implements IMessageComposer<ConstructorParameters<typeof FriendFurniConfirmLockMessageComposer>>
|
||||||
|
{
|
||||||
|
private _data: ConstructorParameters<typeof FriendFurniConfirmLockMessageComposer>;
|
||||||
|
|
||||||
|
constructor(itemId: number, confirmed: boolean)
|
||||||
|
{
|
||||||
|
this._data = [ itemId, confirmed ];
|
||||||
|
}
|
||||||
|
|
||||||
|
public getMessageArray()
|
||||||
|
{
|
||||||
|
return this._data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public dispose(): void
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
export * from './FriendFurniConfirmLockMessageComposer';
|
@ -6,6 +6,7 @@ export * from './catalog';
|
|||||||
export * from './client';
|
export * from './client';
|
||||||
export * from './competition';
|
export * from './competition';
|
||||||
export * from './desktop';
|
export * from './desktop';
|
||||||
|
export * from './friendfurni';
|
||||||
export * from './friendlist';
|
export * from './friendlist';
|
||||||
export * from './group';
|
export * from './group';
|
||||||
export * from './handshake';
|
export * from './handshake';
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
import { IMessageComposer } from '../../../../../../../core/communication/messages/IMessageComposer';
|
|
||||||
|
|
||||||
export class LoveLockStartConfirmComposer implements IMessageComposer<ConstructorParameters<typeof LoveLockStartConfirmComposer>>
|
|
||||||
{
|
|
||||||
private _data: ConstructorParameters<typeof LoveLockStartConfirmComposer>;
|
|
||||||
|
|
||||||
constructor(itemId: number, confirmed: boolean)
|
|
||||||
{
|
|
||||||
this._data = [ itemId, confirmed ];
|
|
||||||
}
|
|
||||||
|
|
||||||
public getMessageArray()
|
|
||||||
{
|
|
||||||
return this._data;
|
|
||||||
}
|
|
||||||
|
|
||||||
public dispose(): void
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
@ -7,4 +7,3 @@ export * from './FurnitureOneWayDoorComposer';
|
|||||||
export * from './FurnitureRandomStateComposer';
|
export * from './FurnitureRandomStateComposer';
|
||||||
export * from './FurnitureStackHeightComposer';
|
export * from './FurnitureStackHeightComposer';
|
||||||
export * from './FurnitureWallMultiStateComposer';
|
export * from './FurnitureWallMultiStateComposer';
|
||||||
export * from './LoveLockStartConfirmComposer';
|
|
||||||
|
Loading…
Reference in New Issue
Block a user