#29 - GetEmailStatusComposer and ChangeEmailComposer added

This commit is contained in:
oobjectt 2022-12-26 21:40:31 +01:00
parent e70d9cc804
commit 8704723dec
5 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 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 './ApproveNameMessageComposer';
export * from './CatalogGroupsComposer'; export * from './CatalogGroupsComposer';
export * from './ChangeEmailComposer';
export * from './data'; export * from './data';
export * from './GetEmailStatusComposer';
export * from './GetHabboGroupBadgesMessageComposer'; export * from './GetHabboGroupBadgesMessageComposer';
export * from './inventory'; export * from './inventory';
export * from './inventory/currency'; export * from './inventory/currency';