Merge branch 'feature/profile-by-name-packet' into 'dev'

added GetExtendedProfileByNameMessageComposer

See merge request nitro/nitro-renderer!8
This commit is contained in:
Bill 2021-12-08 11:58:08 +00:00
commit 170d83c795
4 changed files with 25 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -186,6 +186,7 @@ export class OutgoingHeader
public static USER_IGNORED = 3878;
public static USER_PETS = 3095;
public static USER_PROFILE = 3265;
public static USER_PROFILE_BY_NAME = 2249;
public static USER_RESPECT = 2694;
public static GET_SOUND_SETTINGS = 2388;
public static USER_SETTINGS_CAMERA = 1461;

View File

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

View File

@ -1,3 +1,4 @@
export * from './GetExtendedProfileByNameMessageComposer';
export * from './GetIgnoredUsersComposer';
export * from './IgnoreUserComposer';
export * from './IgnoreUserIdComposer';