mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-29 18:50:51 +01:00
Merge branch 'oobjectt-composer-welcomeopen-welcomechangeemail'
This commit is contained in:
commit
490d783c3d
File diff suppressed because one or more lines are too long
@ -438,4 +438,6 @@ export class OutgoingHeader
|
||||
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
|
||||
public static HANDSHAKE_INIT_DIFFIE = 3110;
|
||||
public static HANDSHAKE_COMPLETE_DIFFIE = 773;
|
||||
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;
|
||||
}
|
||||
}
|
@ -11,6 +11,7 @@ export * from './logic';
|
||||
export * from './mannequin';
|
||||
export * from './OpenMysteryTrophyMessageComposer';
|
||||
export * from './OpenPetPackageMessageComposer';
|
||||
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