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

This commit is contained in:
dank074 2022-12-27 01:25:24 -06:00
commit 71e9fbf79a
5 changed files with 50 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -444,4 +444,6 @@ export class OutgoingHeader
public static HANDSHAKE_COMPLETE_DIFFIE = 773;
public static WELCOME_OPEN_GIFT = 2638;
public static WELCOME_GIFT_CHANGE_EMAIL = 66;
public static EMAIL_GET_STATUS = 2557;
public static EMAIL_CHANGE = 3965;
}

View File

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

View File

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

View File

@ -1,6 +1,8 @@
export * from './ApproveNameMessageComposer';
export * from './CatalogGroupsComposer';
export * from './ChangeEmailComposer';
export * from './data';
export * from './GetEmailStatusComposer';
export * from './GetHabboGroupBadgesMessageComposer';
export * from './inventory';
export * from './inventory/currency';