#29 - Some Rentable Space packets added (2)

This commit is contained in:
oobjectt 2022-12-26 22:08:41 +01:00
parent e70d9cc804
commit 1844839b9b
6 changed files with 75 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -434,4 +434,7 @@ export class OutgoingHeader
public static HARVEST_PET = 1521;
public static GROUP_UNFAVORITE = 1820;
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
public static RENTABLE_EXTEND_RENT_OR_BUYOUT_STRIP_ITEM = 2115;
public static RENTABLE_EXTEND_RENT_OR_BUYOUT_FURNI = 1071;
public static RENTABLE_GET_RENT_OR_BUYOUT_OFFER = 2518;
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../../api';
export class ExtendRentOrBuyoutFurniMessageComposer implements IMessageComposer<ConstructorParameters<typeof ExtendRentOrBuyoutFurniMessageComposer>>
{
private _data: ConstructorParameters<typeof ExtendRentOrBuyoutFurniMessageComposer>;
constructor(isWall: boolean, roomInstanceId: number, isBuyout: boolean)
{
this._data = [isWall, roomInstanceId, isBuyout];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../../api';
export class ExtendRentOrBuyoutStripItemMessageComposer implements IMessageComposer<ConstructorParameters<typeof ExtendRentOrBuyoutStripItemMessageComposer>>
{
private _data: ConstructorParameters<typeof ExtendRentOrBuyoutStripItemMessageComposer>;
constructor(stripId: number, isBuyout: boolean)
{
this._data = [stripId, isBuyout];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../../api';
export class GetRentOrBuyoutOfferMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetRentOrBuyoutOfferMessageComposer>>
{
private _data: ConstructorParameters<typeof GetRentOrBuyoutOfferMessageComposer>;
constructor(isWall: boolean, furnitureFullName: string, isBuyout: boolean)
{
this._data = [isWall, furnitureFullName, isBuyout];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -1,5 +1,7 @@
export * from './AddSpamWallPostItMessageComposer';
export * from './dimmer';
export * from './ExtendRentOrBuyoutFurniMessageComposer';
export * from './ExtendRentOrBuyoutStripItemMessageComposer';
export * from './floor';
export * from './FurnitureAliasesComposer';
export * from './FurnitureGroupInfoComposer';
@ -7,6 +9,7 @@ export * from './FurniturePickupComposer';
export * from './FurniturePlaceComposer';
export * from './FurniturePlacePaintComposer';
export * from './FurniturePostItPlaceComposer';
export * from './GetRentOrBuyoutOfferMessageComposer';
export * from './logic';
export * from './mannequin';
export * from './presents';