Merge branch 'oobjectt-composer-welcomeopen-welcomechangeemail'

This commit is contained in:
dank074 2022-12-27 01:07:49 -06:00
commit 490d783c3d
6 changed files with 51 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -438,4 +438,6 @@ export class OutgoingHeader
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822; public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
public static HANDSHAKE_INIT_DIFFIE = 3110; public static HANDSHAKE_INIT_DIFFIE = 3110;
public static HANDSHAKE_COMPLETE_DIFFIE = 773; public static HANDSHAKE_COMPLETE_DIFFIE = 773;
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

@ -11,6 +11,7 @@ export * from './logic';
export * from './mannequin'; export * from './mannequin';
export * from './OpenMysteryTrophyMessageComposer'; export * from './OpenMysteryTrophyMessageComposer';
export * from './OpenPetPackageMessageComposer'; export * from './OpenPetPackageMessageComposer';
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';