mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 09:20:51 +01:00
#29 - GetEmailStatusComposer and ChangeEmailComposer added
This commit is contained in:
parent
e70d9cc804
commit
8704723dec
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 EMAIL_GET_STATUS = 2557;
|
||||
public static EMAIL_CHANGE = 3965;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user