#29 - Some Rentable packets added

This commit is contained in:
oobjectt 2022-12-26 18:32:10 +01:00
parent e70d9cc804
commit a70e0b10b8
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_SPACE_CANCEL_RENT = 1667;
public static RENTABLE_SPACE_RENT = 2946;
public static RENTABLE_SPACE_STATUS = 872;
}

View File

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

View File

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

View File

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

View File

@ -10,6 +10,9 @@ export * from './FurniturePostItPlaceComposer';
export * from './logic';
export * from './mannequin';
export * from './presents';
export * from './RentableSpaceCancelRentMessageComposer';
export * from './RentableSpaceRentMessageComposer';
export * from './RentableSpaceStatusMessageComposer';
export * from './toner';
export * from './wall';
export * from './youtube';