mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-19 06:46:28 +01:00
added GetExtendedProfileByNameMessageComposer
This commit is contained in:
parent
97a433225c
commit
c9d9031478
@ -1,5 +1,5 @@
|
|||||||
import { IMessageConfiguration } from '../../core/communication/messages/IMessageConfiguration';
|
import { IMessageConfiguration } from '../../core/communication/messages/IMessageConfiguration';
|
||||||
import { ApproveNameMessageComposer, BadgeReceivedEvent, BonusRareInfoMessageEvent, CatalogApproveNameResultEvent, ChangeUserNameResultMessageEvent, FurnitureGuildInfoComposer, GetBonusRareInfoMessageComposer, MysteryBoxKeysEvent, PetExperienceEvent, PetMountComposer, PetSupplementComposer, RemoveAllRightsMessageComposer, RemoveOwnRoomRightsRoomMessageComposer, RemovePetSaddleComposer, RoomUnitGiveHandItemPetComposer, SellablePetPalettesEvent, TogglePetBreedingComposer, TogglePetRidingComposer, UnseenResetCategoryComposer, UnseenResetItemsComposer, UsePetProductComposer } from './messages';
|
import { ApproveNameMessageComposer, BadgeReceivedEvent, BonusRareInfoMessageEvent, CatalogApproveNameResultEvent, ChangeUserNameResultMessageEvent, FurnitureGuildInfoComposer, GetBonusRareInfoMessageComposer, GetExtendedProfileByNameMessageComposer, MysteryBoxKeysEvent, PetExperienceEvent, PetMountComposer, PetSupplementComposer, RemoveAllRightsMessageComposer, RemoveOwnRoomRightsRoomMessageComposer, RemovePetSaddleComposer, RoomUnitGiveHandItemPetComposer, SellablePetPalettesEvent, TogglePetBreedingComposer, TogglePetRidingComposer, UnseenResetCategoryComposer, UnseenResetItemsComposer, UsePetProductComposer } from './messages';
|
||||||
import { AvailabilityStatusMessageEvent } from './messages/incoming/availability/AvailabilityStatusMessageEvent';
|
import { AvailabilityStatusMessageEvent } from './messages/incoming/availability/AvailabilityStatusMessageEvent';
|
||||||
import { CameraPublishStatusMessageEvent } from './messages/incoming/camera/CameraPublishStatusMessageEvent';
|
import { CameraPublishStatusMessageEvent } from './messages/incoming/camera/CameraPublishStatusMessageEvent';
|
||||||
import { CameraPurchaseOKMessageEvent } from './messages/incoming/camera/CameraPurchaseOKMessageEvent';
|
import { CameraPurchaseOKMessageEvent } from './messages/incoming/camera/CameraPurchaseOKMessageEvent';
|
||||||
@ -1070,6 +1070,7 @@ export class NitroMessages implements IMessageConfiguration
|
|||||||
this._composers.set(OutgoingHeader.USER_HOME_ROOM, UserHomeRoomComposer);
|
this._composers.set(OutgoingHeader.USER_HOME_ROOM, UserHomeRoomComposer);
|
||||||
this._composers.set(OutgoingHeader.USER_MOTTO, UserMottoComposer);
|
this._composers.set(OutgoingHeader.USER_MOTTO, UserMottoComposer);
|
||||||
this._composers.set(OutgoingHeader.USER_PROFILE, UserProfileComposer);
|
this._composers.set(OutgoingHeader.USER_PROFILE, UserProfileComposer);
|
||||||
|
this._composers.set(OutgoingHeader.USER_PROFILE_BY_NAME, GetExtendedProfileByNameMessageComposer);
|
||||||
this._composers.set(OutgoingHeader.MESSENGER_RELATIONSHIPS, UserRelationshipsComposer);
|
this._composers.set(OutgoingHeader.MESSENGER_RELATIONSHIPS, UserRelationshipsComposer);
|
||||||
|
|
||||||
// MANNEQUIN
|
// MANNEQUIN
|
||||||
|
@ -176,6 +176,7 @@ export class OutgoingHeader
|
|||||||
public static USER_OUTFITS = 2742;
|
public static USER_OUTFITS = 2742;
|
||||||
public static USER_PETS = 3095;
|
public static USER_PETS = 3095;
|
||||||
public static USER_PROFILE = 3265;
|
public static USER_PROFILE = 3265;
|
||||||
|
public static USER_PROFILE_BY_NAME = 2249;
|
||||||
public static USER_RESPECT = 2694;
|
public static USER_RESPECT = 2694;
|
||||||
public static USER_SETTINGS = 2388;
|
public static USER_SETTINGS = 2388;
|
||||||
public static USER_SETTINGS_CAMERA = 1461;
|
public static USER_SETTINGS_CAMERA = 1461;
|
||||||
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
export * from './GetExtendedProfileByNameMessageComposer';
|
||||||
export * from './GetIgnoredUsersComposer';
|
export * from './GetIgnoredUsersComposer';
|
||||||
export * from './IgnoreUserComposer';
|
export * from './IgnoreUserComposer';
|
||||||
export * from './IgnoreUserIdComposer';
|
export * from './IgnoreUserIdComposer';
|
||||||
|
Loading…
Reference in New Issue
Block a user