mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
#29 - Some Rentable packets added
This commit is contained in:
parent
e70d9cc804
commit
a70e0b10b8
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_SPACE_CANCEL_RENT = 1667;
|
||||
public static RENTABLE_SPACE_RENT = 2946;
|
||||
public static RENTABLE_SPACE_STATUS = 872;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user