Merge branch 'oobjectt-composer-rentable-space'

This commit is contained in:
dank074 2023-01-03 02:19:27 -06:00
commit 628c728773
6 changed files with 74 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -448,4 +448,7 @@ export class OutgoingHeader
public static EMAIL_GET_STATUS = 2557;
public static EMAIL_CHANGE = 3965;
public static APPROVE_ALL_MEMBERSHIP_REQUESTS = 882;
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

@ -13,6 +13,9 @@ export * from './OpenMysteryTrophyMessageComposer';
export * from './OpenPetPackageMessageComposer';
export * from './OpenWelcomeGiftComposer';
export * from './presents';
export * from './RentableSpaceCancelRentMessageComposer';
export * from './RentableSpaceRentMessageComposer';
export * from './RentableSpaceStatusMessageComposer';
export * from './toner';
export * from './wall';
export * from './youtube';