#29 - OpenWelcomeGiftComposer and WelcomeGiftChangeEmailComposer added

This commit is contained in:
oobjectt 2022-12-26 17:11:44 +01:00
parent e70d9cc804
commit 7a04432bd4
6 changed files with 51 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -434,4 +434,6 @@ export class OutgoingHeader
public static HARVEST_PET = 1521; public static HARVEST_PET = 1521;
public static GROUP_UNFAVORITE = 1820; public static GROUP_UNFAVORITE = 1820;
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822; public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
public static WELCOME_OPEN_GIFT = 2638;
public static WELCOME_GIFT_CHANGE_EMAIL = 66;
} }

View File

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

View File

@ -9,6 +9,7 @@ export * from './FurniturePlacePaintComposer';
export * from './FurniturePostItPlaceComposer'; export * from './FurniturePostItPlaceComposer';
export * from './logic'; export * from './logic';
export * from './mannequin'; export * from './mannequin';
export * from './OpenWelcomeGiftComposer';
export * from './presents'; export * from './presents';
export * from './toner'; export * from './toner';
export * from './wall'; export * from './wall';

View File

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

View File

@ -8,3 +8,4 @@ export * from './inventory/subscription';
export * from './ScrGetKickbackInfoMessageComposer'; export * from './ScrGetKickbackInfoMessageComposer';
export * from './settings'; export * from './settings';
export * from './UserRespectComposer'; export * from './UserRespectComposer';
export * from './WelcomeGiftChangeEmailComposer';