Merge branch 'composer-rentable-space' of https://github.com/oobjectt/nitro-renderer into oobjectt-composer-rentable-space

This commit is contained in:
dank074 2023-01-03 02:19:17 -06:00
commit 806b4479ae
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_GET_STATUS = 2557;
public static EMAIL_CHANGE = 3965; public static EMAIL_CHANGE = 3965;
public static APPROVE_ALL_MEMBERSHIP_REQUESTS = 882; 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 './OpenPetPackageMessageComposer';
export * from './OpenWelcomeGiftComposer'; export * from './OpenWelcomeGiftComposer';
export * from './presents'; export * from './presents';
export * from './RentableSpaceCancelRentMessageComposer';
export * from './RentableSpaceRentMessageComposer';
export * from './RentableSpaceStatusMessageComposer';
export * from './toner'; export * from './toner';
export * from './wall'; export * from './wall';
export * from './youtube'; export * from './youtube';