mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
#29 - Some Rentable Space packets added (2)
This commit is contained in:
parent
e70d9cc804
commit
1844839b9b
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user