mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
#29 - OpenWelcomeGiftComposer and WelcomeGiftChangeEmailComposer added
This commit is contained in:
parent
e70d9cc804
commit
7a04432bd4
File diff suppressed because one or more lines are too long
@ -434,4 +434,6 @@ export class OutgoingHeader
|
||||
public static HARVEST_PET = 1521;
|
||||
public static GROUP_UNFAVORITE = 1820;
|
||||
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
|
||||
public static WELCOME_OPEN_GIFT = 2638;
|
||||
public static WELCOME_GIFT_CHANGE_EMAIL = 66;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -9,6 +9,7 @@ export * from './FurniturePlacePaintComposer';
|
||||
export * from './FurniturePostItPlaceComposer';
|
||||
export * from './logic';
|
||||
export * from './mannequin';
|
||||
export * from './OpenWelcomeGiftComposer';
|
||||
export * from './presents';
|
||||
export * from './toner';
|
||||
export * from './wall';
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -8,3 +8,4 @@ export * from './inventory/subscription';
|
||||
export * from './ScrGetKickbackInfoMessageComposer';
|
||||
export * from './settings';
|
||||
export * from './UserRespectComposer';
|
||||
export * from './WelcomeGiftChangeEmailComposer';
|
||||
|
Loading…
Reference in New Issue
Block a user