mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-29 18:50:51 +01:00
Merge branch 'oobjectt-composer-changeemail-getstatus'
This commit is contained in:
commit
5210ac91df
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
|
@ -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