Merge branch 'oobjectt-composer-rentable-extend2-getrent'

This commit is contained in:
dank074 2023-01-12 01:28:41 -06:00
commit 6e64932466
6 changed files with 75 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -463,4 +463,7 @@ export class OutgoingHeader
public static TRACKING_PERFORMANCE_LOG = 3230; public static TRACKING_PERFORMANCE_LOG = 3230;
public static TRACKING_LAG_WARNING_REPORT = 3847; public static TRACKING_LAG_WARNING_REPORT = 3847;
public static ROOM_DIRECTORY_ROOM_NETWORK_OPEN_CONNECTION = 3736; public static ROOM_DIRECTORY_ROOM_NETWORK_OPEN_CONNECTION = 3736;
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 './AddSpamWallPostItMessageComposer';
export * from './dimmer'; export * from './dimmer';
export * from './ExtendRentOrBuyoutFurniMessageComposer';
export * from './ExtendRentOrBuyoutStripItemMessageComposer';
export * from './floor'; export * from './floor';
export * from './FurnitureAliasesComposer'; export * from './FurnitureAliasesComposer';
export * from './FurnitureGroupInfoComposer'; export * from './FurnitureGroupInfoComposer';
@ -7,6 +9,7 @@ export * from './FurniturePickupComposer';
export * from './FurniturePlaceComposer'; export * from './FurniturePlaceComposer';
export * from './FurniturePlacePaintComposer'; export * from './FurniturePlacePaintComposer';
export * from './FurniturePostItPlaceComposer'; export * from './FurniturePostItPlaceComposer';
export * from './GetRentOrBuyoutOfferMessageComposer';
export * from './logic'; export * from './logic';
export * from './mannequin'; export * from './mannequin';
export * from './OpenMysteryTrophyMessageComposer'; export * from './OpenMysteryTrophyMessageComposer';