Refactoring Outgoing Part 382 - yay

This commit is contained in:
Harmonic 2022-04-15 17:17:12 -07:00 committed by Harmonic
parent ff588b404f
commit 9263800612
89 changed files with 190 additions and 200 deletions

View File

@ -20,7 +20,7 @@ public class RoomUserPetComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomUsersComposer);
this.response.init(Outgoing.UsersComposer);
this.response.appendInt(1);
this.response.appendInt(this.habbo.getHabboInfo().getId());
this.response.appendString(this.habbo.getHabboInfo().getUsername());

View File

@ -2,35 +2,35 @@ package com.eu.habbo.messages.outgoing;
public class Outgoing {
public static final int PetStatusUpdateComposer = 1907;
public final static int CfhTopicsMessageComposer = 325;
public final static int CfhTopicsInitComposer = 325;
public final static int FavouritesComposer = 151;
public final static int ActivityPointsMessageComposer = 2018;
public final static int RedeemVoucherOKComposer = 3336;
public final static int VoucherRedeemOkMessageComposer = 3336;
public final static int ShoutMessageComposer = 1036;
public final static int UserUpdateComposer = 1640;
public final static int RoomUserDataComposer = 3920;
public final static int UserChangeMessageComposer = 3920;
public final static int FlatControllerAddedComposer = 2088;
public final static int FlatControllerRemovedComposer = 1327;
public final static int FlatControllersComposer = 1284;
public final static int CarryObjectMessageComposer = 1474;
public final static int RoomUsersComposer = 374;
public final static int UsersComposer = 374;
public final static int NewFriendRequestComposer = 2219;
public final static int GuildCreatedMessageComposer = 2808;
public final static int BadgeReceivedComposer = 2493;
public final static int RecyclerCompleteComposer = 468;
public final static int RecyclerFinishedComposer = 468;
public final static int GuildCreationInfoMessageComposer = 2159;
public final static int FriendListFragmentMessageComposer = 3130;
public final static int FollowFriendFailedComposer = 3048;
public final static int TradeCloseWindowComposer = 1001;
public final static int ObjectRemoveMessageComposer = 2703;
public final static int InventoryPetsComposer = 3522;
public final static int UserCreditsComposer = 3475;
public final static int PetInventoryComposer = 3522;
public final static int CreditBalanceComposer = 3475;
public final static int WiredTriggerDataComposer = 383;
public final static int Game2UserLeftGameMessageComposer = 383;
public final static int TradingCloseComposer = 1373;
public final static int ModToolUserChatlogComposer = 3377;
public final static int UserChatlogComposer = 3377;
public final static int HabboGroupDetailsMessageComposer = 1702;
public final static int UserPermissionsComposer = 411;
public final static int UserRightsMessageComposer = 411;
public final static int ApproveNameMessageComposer = 1503;
public final static int TradingOpenFailedComposer = 217;
public final static int UnseenItemsComposer = 2103;
@ -40,9 +40,9 @@ public class Outgoing {
public final static int BonusRareInfoMessageComposer = 1533;
public final static int CloseConnectionMessageComposer = 122;
public final static int FriendListUpdateComposer = 2800;
public final static int FloorItemUpdateComposer = 3776;
public final static int ObjectUpdateMessageComposer = 3776;
public final static int RoomAccessDeniedComposer = 878;
public final static int GuildFurniWidgetComposer = 3293;
public final static int GuildFurniContextMenuInfoMessageComposer = 3293;
public final static int GiftWrappingConfigurationComposer = 2234;
public final static int UserClubComposer = 954;
public final static int InventoryBadgesComposer = 717;
@ -56,17 +56,15 @@ public class Outgoing {
public final static int IssueDeletedMessageComposer = 3192;
public final static int RoomRightsComposer = 780;
public final static int SlideObjectBundleMessageComposer = 3207;
public final static int PollStartComposer = 3785;
public final static int PollOfferComposer = 3785;
public final static int GuildMembershipRejectedMessageComposer = 2445;
public final static int PerkAllowancesComposer = 2586;
public final static int TalentTrackLevelMessageEvent = 1203;
public final static int PublicRoomsComposer = -1;//error 404
public final static int MarketplaceOffersComposer = 680;
public final static int FaqCategoriesMessageComposer = 2756;
public final static int FaqCategoriesMessageComposer = 2756; //todo?
public final static int ModeratorInitMessageComposer = 2696;
public final static int UserBadgesComposer = 1087;
public final static int GuildManageComposer = 3965;
public final static int RemoveFriendComposer = -1;//error 404
public final static int GuildEditInfoMessageComposer = 3965;
public final static int InitDiffieHandshakeComposer = 1347;
public final static int CompleteDiffieHandshakeComposer = 3885;
public final static int UserObjectComposer = 2725;
@ -76,14 +74,14 @@ public class Outgoing {
public final static int RoomChatSettingsMessageComposer = 1191;
public final static int FurniListRemoveComposer = 159;
public final static int UserRemoveMessageComposer = 2661;
public final static int FaqCategoryMessageComposer = 2819;
public final static int FaqCategoryMessageComposer = 2819; //todo?
public final static int FloorHeightMapComposer = 1301;
public final static int PetFigureUpdateComposer = 1924;
public final static int PetPlacingErrorComposer = 2913;
public final static int TradingItemListComposer = 2024;
public final static int PrivateRoomsComposer = 52;
public final static int RoomReadyMessageComposer = 2031;
public final static int RoomScoreComposer = 482;
public final static int RoomRatingComposer = 482;
public final static int DoorbellMessageComposer = 2309;
public final static int AuthenticationOKMessageComposer = 2491;
public final static int AvailabilityStatusMessageComposer = 2033;
@ -94,32 +92,32 @@ public class Outgoing {
public final static int TradingOpenComposer = 2505;
public final static int FurniListAddOrUpdateComposer = 104;
public final static int IssuePickFailedMessageComposer = 3150;
public final static int MeMenuSettingsComposer = 513;
public final static int AccountPreferencesComposer = 513;
public final static int ModeratorRoomInfoComposer = 1333;
public final static int GuildListComposer = 420;
public final static int GuildMembershipsMessageComposer = 420;
public final static int RecyclerPrizesComposer = 3164;
public final static int NavigatorSettingsComposer = 2875;
public final static int DanceMessageComposer = 2233;
public final static int Game2StopCounterMessageComposer = 2233;
public final static int RoomSettingsUpdatedComposer = 3297;
public final static int Game2StopCounterMessageComposer = 2233; //todo?
public final static int RoomInfoUpdatedComposer = 3297;
public final static int PurchaseErrorMessageComposer = 1404;
public final static int RoomDataComposer = 687;
public final static int PopularRoomTagsResultComposer = 2012;
public final static int FurniListInvalidateComposer = 3151;
public final static int RemovePetComposer = 3253;
public final static int PetRemovedFromInventoryComposer = 3253;
public final static int ItemRemoveMessageComposer = 3208;
public final static int TradeCompleteComposer = 2369;
public final static int PromoArticlesMessageComposer = 286;
public final static int WiredEffectDataComposer = 1434;
public final static int NotificationDialogMessageComposer = 1992;
public final static int ReloadRecyclerComposer = 3433;
public final static int RecyclerStatusComposer = 3433;
public final static int RoomDimmerPresetsComposer = 2710;
public final static int WiredRewardResultMessageComposer = 178;
public final static int CatalogPageComposer = 804;
public final static int CatalogModeComposer = 3828;
public final static int BuildersClubFurniCountMessageComposer = 3828;
public final static int ChangeUserNameResultMessageEvent = 118;
public final static int ObjectAddMessageComposer = 1534;
public final static int EnableNotificationsComposer = 3284;
public final static int InfoFeedEnableMessageComposer = 3284;
public final static int CommunityGoalHallOfFameMessageComposer = 3005;
public final static int WiredSavedComposer = 1155;
public final static int RoomPropertyMessageComposer = 2454;
@ -128,14 +126,14 @@ public class Outgoing {
public final static int FriendRequestErrorComposer = 892;
public final static int GuildMembersComposer = 1200;
public final static int RoomOpenComposer = 758;
public final static int ModToolRoomChatlogComposer = 3434;
public final static int RoomChatlogComposer = 3434;
public final static int BundleDiscountRulesetMessageComposer = 2347;
public final static int MarketplaceCancelSaleComposer = 3264;
public final static int MarketplaceCancelOfferResultComposer = 3264;
public final static int PetRespectNotificationComposer = 2788;
public final static int RoomSettingsDataComposer = 1498;
public final static int TalentTrackComposer = 3406;
public final static int TalentTrackMessageComposer = 3406;
public final static int CatalogPagesListComposer = 1032;
public final static int AlertLimitedSoldOutComposer = 377;
public final static int LimitedEditionSoldOutComposer = 377;
public final static int CatalogPublishedMessageComposer = 1866;
public final static int PurchaseOKComposer = 869;
public final static int ItemUpdateMessageComposer = 2009;
@ -150,9 +148,9 @@ public class Outgoing {
public final static int RoomPaneComposer = 749;
public final static int RedeemVoucherErrorComposer = 714;
public final static int FlatCreatedComposer = 1304;
public final static int GenericAlertComposer = 3801;
public final static int HabboBroadcastMessageComposer = 3801;
public final static int GuildEditorDataMessageComposer = 2238;
public final static int ModToolIssueInfoComposer = 3609;
public final static int IssueInfoMessageComposer = 3609;
public final static int WhisperMessageComposer = 2704;
public final static int BotErrorComposer = 639;
public final static int GamePlayerValueMessageComposer = 2324;
@ -160,15 +158,15 @@ public class Outgoing {
public final static int MarketplaceSellItemComposer = 54;
public final static int HabboClubOffersMessageComposer = 2405;
public final static int RelationshipStatusInfoComposer = 2016;
public final static int MarketplaceOwnItemsComposer = 3884;
public final static int RoomOwnerComposer = 339;
public final static int MarketPlaceOwnOffersComposer = 3884;
public final static int YouAreOwnerMessageComposer = 339;
public final static int WiredConditionDataComposer = 1108;
public final static int ModeratorUserInfoComposer = 2866;
public final static int UserWardrobeComposer = 3315;
public final static int WardrobeMessageComposer = 3315;
public final static int PetExperienceComposer = 2156;
public final static int NewConsoleMessageComposer = 1587;
public final static int PetInfoMessageComposer = 2901;
public final static int RoomThicknessComposer = 3547;
public final static int RoomVisualizationSettingsComposer = 3547;
public final static int PetAddedToInventoryComposer = 2101;
public final static int UpdateStackHeightComposer = 558;
public final static int BotRemovedFromInventoryComposer = 233;
@ -177,11 +175,11 @@ public class Outgoing {
public final static int GenericErrorComposer = 1600;
public final static int ItemsComposer = 1369;
public final static int AvatarEffectMessageComposer = 1167;
public final static int PetBreedsComposer = 3331;
public final static int SellablePetPalettesMessageComposer = 3331;
public final static int ModToolIssueChatlogComposer = 607;
public final static int ExpressionMessageComposer = 1631;
public final static int BotCommandConfigurationComposer = 1618;
public final static int UserProfileComposer = 3898;
public final static int ExtendedProfileMessageComposer = 3898;
public final static int MiniMailUnreadCountComposer = 2803;
public final static int AchievementsScoreComposer = 1968;
public final static int PetLevelUpComposer = 859;
@ -191,20 +189,20 @@ public class Outgoing {
public final static int FloodCounterComposer = 566;
public final static int WiredValidationErrorComposer = 156;
public final static int RoomEntryTileMessageComposer = 1664;
public final static int FloorPlanEditorBlockedTilesComposer = 3990;
public final static int RoomOccupiedTilesMessageComposer = 3990;
public final static int BuildersClubSubscriptionStatusMessageComposer = 1452;
public final static int RoomSettingsSavedComposer = 948;
public final static int MessengerInitComposer = 1605;
public final static int FigureSetIdsComposer = 1450;
public final static int UserEffectsListComposer = 340;
public final static int NewUserIdentityComposer = 3738;
public final static int NewNavigatorEventCategoriesComposer = 3244;
public final static int AvatarEffectsMessageComposer = 340;
public final static int NoobnessLevelMessageComposer = 3738;
public final static int UserEventCatsComposer = 3244;
public final static int CollapsedCategoriesComposer = 1543;
public final static int NavigatorLiftedRoomsComposer = 3104;
public final static int NewNavigatorSavedSearchesComposer = 3984;
public final static int NavigatorSavedSearchesComposer = 3984;
public final static int ItemDataUpdateMessageComposer = 2202;
public final static int ModToolReportReceivedAlertComposer = 3635;
public final static int ModToolIssueResponseAlertComposer = 3796;
public final static int CallForHelpResultMessageComposer = 3635;
public final static int CallForHelpReplyMessageComposer = 3796;
public final static int AchievementsComposer = 305;
public final static int AchievementComposer = 2107;
public final static int AchievementUnlockedComposer = 806;
@ -212,26 +210,27 @@ public class Outgoing {
public final static int UniqueMachineIDComposer = 1488;
public final static int LatencyPingResponseMessageComposer = 10;
public final static int ModeratorToolPreferencesComposer = 1576;
public final static int FaqClientFaqsMessageComposer = 2492; // todo
public final static int IsFirstLoginOfDayComposer = 793; //Quest Engine
public final static int MysteryBoxKeysMessageComposer = 2833; //Mysterbox
public final static int FaqClientFaqsMessageComposer = 2492; //todo?
public final static int IsFirstLoginOfDayComposer = 793;
public final static int MysteryBoxKeysMessageComposer = 2833;
public final static int IgnoredUsersMessageComposer = 126;
public final static int NavigatorMetaDataComposer = 3052;
public final static int NavigatorSearchResultBlocksComposer = 2690;
public final static int MysticBoxStartOpenComposer = 3201;
public final static int MysticBoxCloseComposer = 596;
public final static int MysticBoxPrizeComposer = 3712;
public final static int RentableSpaceInfoComposer = 3559;
public final static int GotMysteryBoxPrizeMessageComposer = 3712;
public final static int RentableSpaceStatusMessageComposer = 3559;
public final static int RentableSpaceRentOkMessageComposer = 2046;
public final static int RentableSpaceRentFailedMessageComposer = 1868;
public final static int GuildMemberFurniCountInHQMessageComposer = 1876;
public final static int IsBadgeRequestFulfilledComposer = 2998;
public final static int EpicPopupFrameComposer = 3945;
public final static int EpicPopupMessageComposer = 3945;
public final static int WeeklyCompetitiveFriendsLeaderboardComposer = 3560;
public final static int LoadGameUrlMessageComposer = 2624;
public final static int UserTagsMessageComposer = 1255;
public final static int RoomInviteErrorComposer = 462;
public final static int RequestSpamWallPostItMessageComposer = 2366;
public final static int NewYearResolutionProgressComposer = 3370;
public final static int AchievementResolutionProgressMessageComposer = 3370;
public final static int ClubGiftReceivedComposer = 659;
public final static int OneWayDoorStatusMessageComposer = 2376;
public final static int ObjectDataUpdateMessageComposer = 2547;
@ -239,15 +238,13 @@ public class Outgoing {
public final static int QuestionInfoComposer = -1;
public final static int TalentTrackEmailVerifiedComposer = 612;
public final static int ChangeEmailResultComposer = 1815;
public final static int UnknownAvatarEditorComposer = 3473;
public final static int AvatarEffectSelectedMessageComposer = 3473;
public final static int GroupMembershipRequestedMessageComposer = 1180;
public final static int UnreadForumsCountMessageComposer = 2379;
public final static int PostThreadMessageComposer = 1862;
public final static int PostMessageMessageComposer = 2049;
public final static int ForumDataMessageComposer = 3011;
public final static int GuildForumCommentsComposer = 509;
public final static int UnknownGuildForumComposer6 = -1;
public final static int UnknownGuildForumComposer7 = -1;
public final static int ThreadMessagesMessageComposer = 509;
public final static int GuildForumThreadsComposer = 1073;
public final static int ForumsListMessageComposer = 3001;
public final static int UpdateThreadMessageComposer = 2528;
@ -264,15 +261,15 @@ public class Outgoing {
public final static int GuardianNewReportReceivedComposer = 735;
public final static int ChatReviewSessionStartedMessageComposer = 143;
public final static int ChatReviewSessionVotingStatusMessageComposer = 1829;
public final static int GuardianVotingResultComposer = 3276;
public final static int ChatReviewSessionResultsMessageComposer = 3276;
public final static int ChatReviewSessionDetachedMessageComposer = 30;
public final static int MuteAllInRoomComposer = 2533;
public final static int HideDoorbellComposer = 3783;
public final static int FlatAccessibleMessageComposer = 3783;
public final static int RoomQueueStatusMessageComposer = 2208;
public final static int YouAreSpectatorMessageEvent = 1033;
public final static int AvatarEffectExpiredMessageComposer = 2228;
public final static int OfficialRoomsComposer = 2726;
public final static int ItemStateComposer2 = 3431;
public final static int DiceValueMessageComposer = 3431;
public final static int HotelWillCloseInMinutesComposer = 1050;
public final static int MaintenanceStatusMessageComposer = 1350;
public final static int HotelClosesAndWillOpenAtComposer = 2771;
@ -285,7 +282,7 @@ public class Outgoing {
public final static int PetReceivedMessageComposer = 1111;
public final static int MOTDNotificationComposer = 2035;
public final static int AccountSafetyLockStatusChangeMessageComposer = 1243;
public final static int CloseWebPageComposer = 426;
public final static int RestoreClientMessageComposer = 426;
public final static int ClubGiftNotificationComposer = 2188;
public final static int HabboGroupDeactivatedMessageComposer = 3129;
public final static int BannedUsersFromRoomComposer = 1869;
@ -294,17 +291,17 @@ public class Outgoing {
public final static int WelcomeGiftStatusComposer = 2707;
public final static int QuestionComposer = 2665;
public final static int YouAreNotControllerMessageComposer = 2392;
public final static int GuildEditFailComposer = 3988;
public final static int GuildEditFailedMessageComposer = 3988;
public final static int MiniMailNewMessageComposer = 1911;
public final static int RoomFilterSettingsMessageComposer = 2937;
public final static int VerifyMobileNumberComposer = 3639;
public final static int NewUserGiftComposer = 3575;
public final static int NewUserExperienceNotCompleteComposer = 3639;
public final static int NewUserExperienceGiftOfferComposer = 3575;
public final static int FigureUpdateComposer = 2429;
public final static int IgnoreResultMessageComposer = 207;
public final static int ConfirmBreedingResultComposer = 1625;
public final static int UserNameChangedMessageComposer = 2182;
public final static int LoveLockFurniStartComposer = 3753;
public final static int LoveLockFurniFriendConfirmedComposer = 382;
public final static int FriendFurniStartConfirmationMessageComposer = 3753;
public final static int FriendFurniOtherLockConfirmedMessageComposer = 382;
public final static int LoveLockFurniFinishedComposer = 770;
public final static int PetPackageNameValidationComposer = 546;
public final static int WeeklyGameRewardWinnersComposer = 3097;
@ -314,19 +311,19 @@ public class Outgoing {
public final static int PhoneCollectionStateMessageComposer = 2890;
public final static int VerifyMobilePhoneCodeWindowComposer = 800;
public final static int VerifyMobilePhoneDoneComposer = 91;
public final static int RoomUserReceivedHandItemComposer = 354;
public final static int HandItemReceivedMessageComposer = 354;
public final static int MutedWhisperComposer = 826;
public final static int ElementPointerMessageComposer = 1787;
public final static int GuideTicketResolutionMessageComposer = 2674;
public final static int RoomAdPurchaseInfoComposer = 2468;
public final static int NotEnoughPointsTypeComposer = 3914;
public final static int NotEnoughBalanceMessageComposer = 3914;
public final static int OfferRewardDeliveredMessageComposer = 2125;
public final static int NewYearResolutionComposer = 66;
public final static int WelcomeGiftChangeEmailResultComposer = 2293;
public final static int RentableItemBuyOutPriceComposer = 35;
public final static int FurniRentOrBuyoutOfferMessageComposer = 35;
public final static int CitizenshipVipOfferPromoEnabledComposer = 2278;
public final static int CategoriesWithVisitorCountComposer = 1455;
public final static int CameraRoomThumbnailSavedComposer = 3595;
public final static int ThumbnailStatusMessageComposer = 3595;
public final static int RoomSettingsSaveErrorComposer = 1555;
public final static int GuildAcceptMemberErrorComposer = 818;
public final static int MostUselessErrorAlertComposer = 662;
@ -339,12 +336,13 @@ public class Outgoing {
public final static int HotelViewCustomTimerComposer = -1;
public final static int MarketplaceMakeOfferResult = 1359;
public final static int QuizDataMessageComposer = 2927;
public final static int GuildFavoriteRoomUserUpdateComposer = 3403;
public final static int FavoriteMembershipUpdateMessageComposer = 3403;
public final static int RoomAdErrorComposer = 1759;
public final static int NewNavigatorSettingsComposer = 518;
public final static int CameraPublishStatusMessageComposer = 2057;
public final static int RoomInviteComposer = 3870;
public final static int BullyReportRequestComposer = 3463;
public final static int GuideReportingStatusMessageComposer = 3463;
public final static int CameraSnapshotMessageComposer = 463; // todo?
public final static int UnknownHelperComposer = 77;
public final static int CallForHelpDisabledNotifyMessageComposer = 1651;
public final static int SleepMessageComposer = 1797;
@ -353,20 +351,20 @@ public class Outgoing {
public final static int RoomForwardMessageComposer = 160;
public final static int AvatarEffectActivatedMessageComposer = 1959;
public final static int CompetitionEntrySubmitResultComposer = 1177;
public final static int ExtendClubMessageComposer = 3964;
public final static int HabboClubExtendOfferMessageComposer = 3964;
public final static int ConcurrentUsersGoalProgressMessageComposer = 2737;
public final static int InventoryAddEffectComposer = -1;//error 404
public final static int _Str_16258_Composer = 1660; //todo?
public final static int _Str_16667_Composer = 1660; //todo?
public final static int _Str_17054_Composer = 416; //todo?
public final static int _Str_16667_Composer = 3099; //todo?
public final static int Game2JoiningGameFailedMessageComposer = 1730; // todo?
public final static int TalentLevelUpdateComposer = 638;
public final static int BullyReportedMessageComposer = 3285;
public final static int GuideTicketCreationResultMessageComposer = 3285;
public final static int SeasonalQuestsMessageComposer = 1122; // todo 14/04/22
public final static int FriendNotificationComposer = 3082;
public final static int MessengerErrorComposer = 896;
public final static int CameraPriceComposer = 3878;
public final static int InitCameraMessageComposer = 3878;
public final static int NestBreedingSuccessComposer = 2527;
public final static int RoomUserUnbannedComposer = 3429;
public final static int UserUnbannedFromRoomComposer = 3429;
public final static int CommunityGoalProgressMessageComposer = 2525;
public final static int UserClassificationComposer = 966;
public final static int CanCreateRoomEventComposer = 2599;
@ -374,27 +372,27 @@ public class Outgoing {
public final static int YoutubeDisplayPlaylistsComposer = 1112;
public final static int YoutubeDisplayVideoMessageComposer = 1411;
public final static int YoutubeControlVideoMessageComposer = 1554;
public final static int RoomCategoryUpdateMessageComposer = 3896;
public final static int QuestsComposer = 3625;
public final static int ShowEnforceRoomCategoryDialogComposer = 3896;
public final static int QuestsMessageComposer = 3625;
public final static int GiftReceiverNotFoundComposer = 1517;
public final static int ConvertedRoomIdComposer = 1331;
public final static int FavouriteChangedComposer = 2524;
public final static int AlertPurchaseUnavailableComposer = 3770;
public final static int PurchaseNotAllowedMessageComposer = 3770;
public final static int GoToBreedingNestFailureComposer = 2621;
public final static int QuestDailyMessageComposer = 1878; //todo?
public final static int CommunityGoalVoteMessageComposer = 1435;
public final static int CatalogSearchResultComposer = 3388;
public final static int ProductOfferComposer = 3388;
public final static int FindFriendsProcessResultComposer = 1210;
public final static int QuestMessageComposer = 230;
public final static int CfhSanctionMessageComposer = 2782;
public final static int RoomEventComposer = 1840;
public final static int UserSongDisksInventoryMessageComposer = 2602;
public final static int JukeBoxNowPlayingMessageComposer = 469;
public final static int NowPlayingMessageComposer = 469;
public final static int JukeBoxPlaylistFullMessageComposer = 105;
public final static int PlayListMessageComposer = 1748;
public final static int PlayListSongAddedMessageComposer = 1140;
public final static int JukeBoxPlayListComposer = 34;
public final static int JukeBoxTrackDataComposer = 3365;
public final static int JukeboxSongDisksMessageComposer = 34;
public final static int TraxSongInfoMessageComposer = 3365;
public final static int OfficialSongIdMessageComposer = 1381;
public final static int CraftableProductsComposer = 1000;
public final static int CraftingRecipeComposer = 2774;
@ -408,28 +406,29 @@ public class Outgoing {
public final static int UnknownComposer_1165 = 904;
public final static int AvatarEffectAddedMessageComposer = 2867;
public final static int UnknownComposer_1188 = 1437; // this string name isnt readable via any source.
public final static int SubmitCompetitionRoomComposer = 3841;
public final static int IsUserPartOfCompetitionMessageComposer = 3841;
public final static int UserGameAchievementsMessageComposer = 2265;
public final static int TradingOtherNotAllowedComposer = 1254;
public final static int UnloadGameMessageComposer = 1715;
public final static int RoomSettingsErrorComposer = 2897;
public final static int Game2AccountGameStatusMessageComposer = 2893;
public final static int Game2WeeklyFriendsLeaderboardComposer = 2270;
public final static int BaseJumpLoadGameComposer = 3654;
public final static int UnknowComposer_1427 = 3319;
public final static int LoadGameMessageComposer = 3654;
public final static int CommunityGoalEarnedPrizesMessageComposer = 3319;
public final static int CampaignCalendarDataMessageComposer = 2531;
public final static int UnknownComposer_152 = 3954;
public final static int CompetitionRoomsDataMessageComposer = 3954;
public final static int WeeklyGameRewardComposer = 2641;
public final static int NewYearResolutionCompletedComposer = 740;
public final static int Game2GameDirectoryStatusMessageComposer = 2246; //todo?
public final static int TradingNoSuchItemComposer = 2873;
public final static int CampaignCalendarDoorOpenedMessageComposer = 2551;
public final static int SanctionStatusComposer = 2221;
public final static int UnknownComposer_1965 = 3292;
public final static int GuideSessionPartnerIsPlayingComposer = 448;
public final static int FaqTextMessageComposer = 3292;
public final static int YouArePlayingGameMessageComposer = 448;
public final static int LeftQueueMessageComposer = 1477;
public final static int Game2WeeklySmallLeaderboardComposer = 3512;
public final static int WeeklyCompetitiveLeaderboardComposer = 3512;
public final static int GameListMessageComposer = 222;
public final static int BotReceivedMessageComposer = 3684; //todo?
public final static int HabboGroupBadgesMessageComposer = 2402;
public final static int UseObjectMessageComposer = 1774; //todo?
public final static int HotelMergeNameChangeComposer = 1663;
@ -441,13 +440,13 @@ public class Outgoing {
public final static int RoomFloorThicknessUpdatedComposer = 3786;
public final static int CameraPurchaseOKMessageComposer = 2783;
public final static int CompetitionStatusMessageComposer = 133;
public final static int CameraURLComposer = 3696;
public final static int CameraStorageUrlMessageComposer = 3696;
public final static int HotelViewCatalogPageExpiringComposer = 690;
public final static int QuestionAnsweredComposer = 2589;
public final static int PingComposer = 3928;
public final static int PingMessageComposer = 3928;
public final static int TradingConfirmationComposer = 2720;
public final static int JoinedQueueMessageComposer = 2260;
public final static int ClubCenterDataComposer = 3277;
public final static int ScrSendKickbackInfoMessageComposer = 3277;
public final static int QuestionFinishedComposer = 1066;
public final static int PostItPlacedComposer = 1501;
public final static int InterstitialMessageComposer = 1808;
@ -459,19 +458,19 @@ public class Outgoing {
public final static int PetLevelUpdateComposer = 2824;
public final static int QuestCancelledMessageComposer = 3027;
public final static int TradingNotOpenComposer = 3128;
public final static int UnknownMessengerErrorComposer = 3359;
public final static int UnknownComposer8 = 3441;
public final static int RemoveRoomEventComposer = 3479;
public final static int UnknownCompetitionComposer = 3506;
public final static int UnknownRoomViewerComposer = 3523;
public final static int ErrorLoginComposer = 4000;
public final static int HotelViewNextLTDAvailableComposer = 44;
public final static int HotelViewSecondsUntilComposer = 3926;
public final static int InstantMessageErrorComposer = 3359;
public final static int PetSupplementedNotificationComposer = 3441;
public final static int RoomEventCancelComposer = 3479;
public final static int CompetitionVotingInfoMessageComposer = 3506;
public final static int IdentityAccountsComposer = 3523;
public final static int DisconnectReasonComposer = 4000;
public final static int LimitedOfferAppearingNextMessageComposer = 44;
public final static int SecondsUntilMessageComposer = 3926;
public final static int UnknownRoomDesktopComposer = 69;
public final static int UnknownGuildComposer3 = 876;
public final static int JoiningQueueFailedMessageComposer = 3035;
public final static int CatalogPageExpirationComposer = 2668;
public final static int GameCenterGameComposer = 3805;
public final static int GameStatusMessageComposer = 3805;
public static final int SnowStormGameStartedComposer = 5000;

View File

@ -24,7 +24,7 @@ public class TalentTrackComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.TalentTrackComposer);
this.response.init(Outgoing.TalentTrackMessageComposer);
this.response.appendString(this.type.name().toLowerCase());
LinkedHashMap<Integer, TalentTrackLevel> talentTrackLevels = Emulator.getGameEnvironment().getAchievementManager().getTalenTrackLevels(this.type);

View File

@ -17,7 +17,7 @@ public class CameraPriceComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.CameraPriceComposer);
this.response.init(Outgoing.InitCameraMessageComposer);
this.response.appendInt(this.credits);
this.response.appendInt(this.points);
this.response.appendInt(this.pointsType);

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class CameraRoomThumbnailSavedComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.CameraRoomThumbnailSavedComposer);
this.response.init(Outgoing.ThumbnailStatusMessageComposer);
return this.response;
}
}

View File

@ -13,7 +13,7 @@ public class CameraURLComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.CameraURLComposer);
this.response.init(Outgoing.CameraStorageUrlMessageComposer);
this.response.appendString(this.URL);
return this.response;
}

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class AlertLimitedSoldOutComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.AlertLimitedSoldOutComposer);
this.response.init(Outgoing.LimitedEditionSoldOutComposer);
return this.response;
}
}

View File

@ -16,7 +16,7 @@ public class AlertPurchaseUnavailableComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.AlertPurchaseUnavailableComposer);
this.response.init(Outgoing.PurchaseNotAllowedMessageComposer);
this.response.appendInt(this.code);
return this.response;
}

View File

@ -13,7 +13,7 @@ public class CatalogModeComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.CatalogModeComposer);
this.response.init(Outgoing.BuildersClubFurniCountMessageComposer);
this.response.appendInt(this.mode);
return this.response;
}

View File

@ -14,7 +14,7 @@ public class CatalogSearchResultComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.CatalogSearchResultComposer);
this.response.init(Outgoing.ProductOfferComposer);
this.item.serialize(this.response);
return this.response;
}

View File

@ -1,17 +1,9 @@
package com.eu.habbo.messages.outgoing.catalog;
import com.eu.habbo.Emulator;
import com.eu.habbo.habbohotel.users.Habbo;
import com.eu.habbo.habbohotel.users.subscriptions.Subscription;
import com.eu.habbo.habbohotel.users.subscriptions.SubscriptionHabboClub;
import com.eu.habbo.messages.ServerMessage;
import com.eu.habbo.messages.outgoing.MessageComposer;
import com.eu.habbo.messages.outgoing.Outgoing;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
public class ClubCenterDataComposer extends MessageComposer {
public final int currentHcStreak;
public final String firstSubDate;
@ -37,7 +29,7 @@ public class ClubCenterDataComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ClubCenterDataComposer);
this.response.init(Outgoing.ScrSendKickbackInfoMessageComposer);
this.response.appendInt(this.currentHcStreak); // currentHcStreak (days)
this.response.appendString(this.firstSubDate); // firstSubscriptionDate (dd-mm-yyyy)
this.response.appendDouble(this.kickbackPercentage); // kickbackPercentage (e.g. 0.1 for 10%)

View File

@ -17,7 +17,7 @@ public class NotEnoughPointsTypeComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.NotEnoughPointsTypeComposer);
this.response.init(Outgoing.NotEnoughBalanceMessageComposer);
this.response.appendBoolean(this.isCredits);
this.response.appendBoolean(this.isPixels);
this.response.appendInt(this.pointsType);

View File

@ -19,7 +19,7 @@ public class PetBreedsComposer extends MessageComposer {
protected ServerMessage composeInternal() {
if (this.petRaces == null)
return null;
this.response.init(Outgoing.PetBreedsComposer);
this.response.init(Outgoing.SellablePetPalettesMessageComposer);
this.response.appendString(this.petName);
this.response.appendInt(this.petRaces.size());
for (PetRace race : this.petRaces) {

View File

@ -16,7 +16,7 @@ public class RecyclerCompleteComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RecyclerCompleteComposer);
this.response.init(Outgoing.RecyclerFinishedComposer);
this.response.appendInt(this.code);
this.response.appendInt(0); //prize ID.
return this.response;

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class RedeemVoucherOKComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RedeemVoucherOKComposer);
this.response.init(Outgoing.VoucherRedeemOkMessageComposer);
this.response.appendString("");
this.response.appendString("");
return this.response;

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class ReloadRecyclerComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ReloadRecyclerComposer);
this.response.init(Outgoing.RecyclerStatusComposer);
this.response.appendInt(1);
this.response.appendInt(0);
return this.response;

View File

@ -16,7 +16,7 @@ public class MarketplaceCancelSaleComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.MarketplaceCancelSaleComposer);
this.response.init(Outgoing.MarketplaceCancelOfferResultComposer);
this.response.appendInt(this.offer.getOfferId());
this.response.appendBoolean(this.success);
return this.response;

View File

@ -21,7 +21,7 @@ public class MarketplaceOwnItemsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.MarketplaceOwnItemsComposer);
this.response.init(Outgoing.MarketPlaceOwnOffersComposer);
this.response.appendInt(this.habbo.getInventory().getSoldPriceTotal());
this.response.appendInt(this.habbo.getInventory().getMarketplaceItems().size());

View File

@ -15,7 +15,7 @@ public class MysticBoxPrizeComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.MysticBoxPrizeComposer);
this.response.init(Outgoing.GotMysteryBoxPrizeMessageComposer);
this.response.appendString(this.type);
this.response.appendInt(this.itemId);
return this.response;

View File

@ -23,7 +23,7 @@ public class NewYearResolutionProgressComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.NewYearResolutionProgressComposer);
this.response.init(Outgoing.AchievementResolutionProgressMessageComposer);
this.response.appendInt(this.stuffId);
this.response.appendInt(this.achievementId);
this.response.appendString(this.achievementName);

View File

@ -16,7 +16,7 @@ public class FloorPlanEditorBlockedTilesComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.FloorPlanEditorBlockedTilesComposer);
this.response.init(Outgoing.RoomOccupiedTilesMessageComposer);
THashSet<RoomTile> tileList = this.room.getLockedTiles();

View File

@ -18,7 +18,7 @@ public class GameCenterGameComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GameCenterGameComposer);
this.response.init(Outgoing.GameStatusMessageComposer);
this.response.appendInt(this.gameId);
this.response.appendInt(this.status);
return this.response;

View File

@ -19,7 +19,7 @@ public class BaseJumpLoadGameComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.BaseJumpLoadGameComposer);
this.response.init(Outgoing.LoadGameMessageComposer);
if (this.game == 3) {
this.response.appendInt(3);

View File

@ -18,7 +18,7 @@ public class GenericAlertComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GenericAlertComposer);
this.response.init(Outgoing.HabboBroadcastMessageComposer);
this.response.appendString(this.message);

View File

@ -20,7 +20,7 @@ public class GuardianVotingResultComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuardianVotingResultComposer);
this.response.init(Outgoing.ChatReviewSessionResultsMessageComposer);
this.response.appendInt(this.ticket.getVerdict().getType()); //Final Verdict
this.response.appendInt(this.vote.type.getType()); //Your vote

View File

@ -13,7 +13,7 @@ public class GuideSessionPartnerIsPlayingComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuideSessionPartnerIsPlayingComposer);
this.response.init(Outgoing.YouArePlayingGameMessageComposer);
this.response.appendBoolean(this.isPlaying);
return this.response;
}

View File

@ -18,7 +18,7 @@ public class GuildEditFailComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuildEditFailComposer);
this.response.init(Outgoing.GuildEditFailedMessageComposer);
this.response.appendInt(this.errorCode);
return this.response;
}

View File

@ -17,7 +17,7 @@ public class GuildFavoriteRoomUserUpdateComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuildFavoriteRoomUserUpdateComposer);
this.response.init(Outgoing.FavoriteMembershipUpdateMessageComposer);
this.response.appendInt(this.roomUnit.getId());
this.response.appendInt(this.guild != null ? this.guild.getId() : 0);
this.response.appendInt(this.guild != null ? this.guild.getState().state : 3);

View File

@ -21,7 +21,7 @@ public class GuildFurniWidgetComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuildFurniWidgetComposer);
this.response.init(Outgoing.GuildFurniContextMenuInfoMessageComposer);
this.response.appendInt(item.getId());
this.response.appendInt(this.guild.getId());
this.response.appendString(this.guild.getName());

View File

@ -19,7 +19,7 @@ public class GuildListComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuildListComposer);
this.response.init(Outgoing.GuildMembershipsMessageComposer);
this.response.appendInt(this.guilds.size());
for (Guild guild : this.guilds) {
this.response.appendInt(guild.getId());

View File

@ -14,7 +14,7 @@ public class GuildManageComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuildManageComposer);
this.response.init(Outgoing.GuildEditInfoMessageComposer);
this.response.appendInt(1);
this.response.appendInt(guild.getRoomId());
this.response.appendString(guild.getRoomName());

View File

@ -22,7 +22,7 @@ public class GuildForumCommentsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.GuildForumCommentsComposer);
this.response.init(Outgoing.ThreadMessagesMessageComposer);
this.response.appendInt(this.guildId); //guild_id
this.response.appendInt(this.threadId); //thread_id

View File

@ -16,7 +16,7 @@ public class NewUserGiftComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.NewUserGiftComposer);
this.response.init(Outgoing.NewUserExperienceGiftOfferComposer);
this.response.appendInt(this.options.size());
for (List<NewUserGift> option : this.options) {
this.response.appendInt(1);

View File

@ -14,7 +14,7 @@ public class NewUserIdentityComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.NewUserIdentityComposer);
this.response.init(Outgoing.NoobnessLevelMessageComposer);
this.response.appendInt(this.habbo.noobStatus());
return this.response;
}

View File

@ -13,7 +13,7 @@ public class EnableNotificationsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.EnableNotificationsComposer);
this.response.init(Outgoing.InfoFeedEnableMessageComposer);
this.response.appendBoolean(this.enabled);
return this.response;
}

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class PingComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.PingComposer);
this.response.init(Outgoing.PingMessageComposer);
return this.response;
}
}

View File

@ -19,7 +19,7 @@ public class HotelViewNextLTDAvailableComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.HotelViewNextLTDAvailableComposer);
this.response.init(Outgoing.LimitedOfferAppearingNextMessageComposer);
this.response.appendInt(this.time);
this.response.appendInt(this.pageId);
this.response.appendInt(this.itemId);

View File

@ -15,7 +15,7 @@ public class HotelViewSecondsUntilComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.HotelViewSecondsUntilComposer);
this.response.init(Outgoing.SecondsUntilMessageComposer);
this.response.appendString(this.dateString);
this.response.appendInt(this.seconds);

View File

@ -18,7 +18,7 @@ public class InventoryPetsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.InventoryPetsComposer);
this.response.init(Outgoing.PetInventoryComposer);
this.response.appendInt(1);
this.response.appendInt(1);

View File

@ -14,7 +14,7 @@ public class RemovePetComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RemovePetComposer);
this.response.init(Outgoing.PetRemovedFromInventoryComposer);
this.response.appendInt(this.petId);
return this.response;
}

View File

@ -21,7 +21,7 @@ public class UserEffectsListComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UserEffectsListComposer);
this.response.init(Outgoing.AvatarEffectsMessageComposer);
if (this.habbo == null || this.habbo.getInventory() == null || this.habbo.getInventory().getEffectsComponent() == null || this.habbo.getInventory().getEffectsComponent().effects == null) {

View File

@ -20,7 +20,7 @@ public class BullyReportRequestComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.BullyReportRequestComposer);
this.response.init(Outgoing.GuideReportingStatusMessageComposer);
this.response.appendInt(this.errorCode);
if (this.errorCode == ONGOING_HELPER_CASE) {

View File

@ -19,7 +19,7 @@ public class BullyReportedMessageComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.BullyReportedMessageComposer);
this.response.init(Outgoing.GuideTicketCreationResultMessageComposer);
this.response.appendInt(this.code);
return this.response;
}

View File

@ -11,7 +11,7 @@ import gnu.trove.procedure.TObjectProcedure;
public class CfhTopicsMessageComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.CfhTopicsMessageComposer);
this.response.init(Outgoing.CfhTopicsInitComposer);
this.response.appendInt(Emulator.getGameEnvironment().getModToolManager().getCfhCategories().valueCollection().size());

View File

@ -14,7 +14,7 @@ public class ModToolIssueInfoComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ModToolIssueInfoComposer);
this.response.init(Outgoing.IssueInfoMessageComposer);
this.issue.serialize(this.response);
return this.response;
}

View File

@ -13,7 +13,7 @@ public class ModToolIssueResponseAlertComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ModToolIssueResponseAlertComposer);
this.response.init(Outgoing.CallForHelpReplyMessageComposer);
this.response.appendString(this.message);
return this.response;
}

View File

@ -19,7 +19,7 @@ public class ModToolReportReceivedAlertComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ModToolReportReceivedAlertComposer);
this.response.init(Outgoing.CallForHelpResultMessageComposer);
this.response.appendInt(this.errorCode);
this.response.appendString(this.message);
return this.response;

View File

@ -21,7 +21,7 @@ public class ModToolRoomChatlogComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ModToolRoomChatlogComposer);
this.response.init(Outgoing.RoomChatlogComposer);
this.response.appendByte(1);
this.response.appendShort(2);
this.response.appendString("roomName");

View File

@ -23,7 +23,7 @@ public class ModToolUserChatlogComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ModToolUserChatlogComposer);
this.response.init(Outgoing.UserChatlogComposer);
this.response.appendInt(this.userId);
this.response.appendString(this.username);
this.response.appendInt(this.set.size());

View File

@ -13,7 +13,7 @@ public class NewNavigatorEventCategoriesComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.NewNavigatorEventCategoriesComposer);
this.response.init(Outgoing.UserEventCatsComposer);
this.response.appendInt(NewNavigatorEventCategoriesComposer.CATEGORIES.size());

View File

@ -5,7 +5,6 @@ import com.eu.habbo.messages.ServerMessage;
import com.eu.habbo.messages.outgoing.MessageComposer;
import com.eu.habbo.messages.outgoing.Outgoing;
import java.util.HashSet;
import java.util.List;
public class NewNavigatorSavedSearchesComposer extends MessageComposer {
@ -17,7 +16,7 @@ public class NewNavigatorSavedSearchesComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.NewNavigatorSavedSearchesComposer);
this.response.init(Outgoing.NavigatorSavedSearchesComposer);
this.response.appendInt(this.searches.size());
for (NavigatorSavedSearch search : this.searches) {

View File

@ -14,7 +14,7 @@ public class PollStartComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.PollStartComposer);
this.response.init(Outgoing.PollOfferComposer);
this.response.appendInt(this.poll.id);
this.response.appendString(this.poll.title);
this.response.appendString(this.poll.thanksMessage);

View File

@ -18,7 +18,7 @@ public class QuestsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.QuestsComposer);
this.response.init(Outgoing.QuestsMessageComposer);
this.response.appendInt(this.quests.size());
for (Quest quest : this.quests) {
this.response.append(quest);

View File

@ -13,7 +13,7 @@ public class HideDoorbellComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.HideDoorbellComposer);
this.response.init(Outgoing.FlatAccessibleMessageComposer);
this.response.appendString(this.username);
return this.response;
}

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class RoomOwnerComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomOwnerComposer);
this.response.init(Outgoing.YouAreOwnerMessageComposer);
return this.response;
}
}

View File

@ -15,7 +15,7 @@ public class RoomScoreComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomScoreComposer);
this.response.init(Outgoing.RoomRatingComposer);
this.response.appendInt(this.score);
this.response.appendBoolean(this.canVote);
return this.response;

View File

@ -14,7 +14,7 @@ public class RoomSettingsUpdatedComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomSettingsUpdatedComposer);
this.response.init(Outgoing.RoomInfoUpdatedComposer);
this.response.appendInt(this.room.getId());
return this.response;
}

View File

@ -14,7 +14,7 @@ public class RoomThicknessComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomThicknessComposer);
this.response.init(Outgoing.RoomVisualizationSettingsComposer);
this.response.appendBoolean(this.room.isHideWall());
this.response.appendInt(this.room.getWallSize());
this.response.appendInt(this.room.getFloorSize());

View File

@ -16,7 +16,7 @@ public class FloorItemUpdateComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.FloorItemUpdateComposer);
this.response.init(Outgoing.ObjectUpdateMessageComposer);
this.item.serializeFloorData(this.response);
this.response.appendInt(this.item instanceof InteractionGift ? ((((InteractionGift) this.item).getColorId() * 1000) + ((InteractionGift) this.item).getRibbonId()) : (this.item instanceof InteractionMusicDisc ? ((InteractionMusicDisc) this.item).getSongId() : item.isUsable() ? 0 : 0));
this.item.serializeExtradata(this.response);

View File

@ -15,7 +15,7 @@ public class ItemIntStateComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ItemStateComposer2);
this.response.init(Outgoing.DiceValueMessageComposer);
this.response.appendInt(this.id);
this.response.appendInt(this.value);
return this.response;

View File

@ -18,7 +18,7 @@ public class JukeBoxNowPlayingMessageComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.JukeBoxNowPlayingMessageComposer);
this.response.init(Outgoing.NowPlayingMessageComposer);
if (this.track != null) {
this.response.appendInt(this.track.getId());

View File

@ -18,7 +18,7 @@ public class JukeBoxPlayListComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.JukeBoxPlayListComposer);
this.response.init(Outgoing.JukeboxSongDisksMessageComposer);
this.response.appendInt(this.totalLength); //Dunno //TODO Total play length?
this.response.appendInt(this.songs.size());
for (InteractionMusicDisc soundTrack : this.songs) {

View File

@ -16,7 +16,7 @@ public class JukeBoxTrackDataComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.JukeBoxTrackDataComposer);
this.response.init(Outgoing.TraxSongInfoMessageComposer);
this.response.appendInt(this.tracks.size());
for (SoundTrack track : this.tracks) {

View File

@ -14,7 +14,7 @@ public class LoveLockFurniFriendConfirmedComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.LoveLockFurniFriendConfirmedComposer);
this.response.init(Outgoing.FriendFurniOtherLockConfirmedMessageComposer);
this.response.appendInt(this.loveLock.getId());
return this.response;
}

View File

@ -14,7 +14,7 @@ public class LoveLockFurniStartComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.LoveLockFurniStartComposer);
this.response.init(Outgoing.FriendFurniStartConfirmationMessageComposer);
this.response.appendInt(this.loveLock.getId());
this.response.appendBoolean(true);
return this.response;

View File

@ -42,7 +42,7 @@ public class RentableSpaceInfoComposer extends MessageComposer {
if (!(this.item instanceof InteractionRentableSpace))
return null;
this.response.init(Outgoing.RentableSpaceInfoComposer);
this.response.init(Outgoing.RentableSpaceStatusMessageComposer);
this.response.appendBoolean(((InteractionRentableSpace) this.item).isRented()); //In Use
this.response.appendInt(this.errorCode); //Error code.
this.response.appendInt(((InteractionRentableSpace) this.item).getRenterId()); //User ID

View File

@ -22,7 +22,7 @@ public class RoomPetComposer extends MessageComposer implements TIntObjectProced
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomUsersComposer);
this.response.init(Outgoing.UsersComposer);
this.response.appendInt(this.pets.size());
this.pets.forEachEntry(this);
return this.response;

View File

@ -14,7 +14,7 @@ public class RoomUserDataComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomUserDataComposer);
this.response.init(Outgoing.UserChangeMessageComposer);
this.response.appendInt(this.habbo.getRoomUnit() == null ? -1 : this.habbo.getRoomUnit().getId());
this.response.appendString(this.habbo.getHabboInfo().getLook());
this.response.appendString(this.habbo.getHabboInfo().getGender().name() + "");

View File

@ -16,7 +16,7 @@ public class RoomUserReceivedHandItemComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomUserReceivedHandItemComposer);
this.response.init(Outgoing.HandItemReceivedMessageComposer);
this.response.appendInt(this.from.getId());
this.response.appendInt(this.handItem);
return this.response;

View File

@ -16,7 +16,7 @@ public class RoomUserUnbannedComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomUserUnbannedComposer);
this.response.init(Outgoing.UserUnbannedFromRoomComposer);
this.response.appendInt(this.room.getId());
this.response.appendInt(this.userId);
return this.response;

View File

@ -34,7 +34,7 @@ public class RoomUsersComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomUsersComposer);
this.response.init(Outgoing.UsersComposer);
if (this.habbo != null) {
this.response.appendInt(1);
this.response.appendInt(this.habbo.getHabboInfo().getId());

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class CloseWebPageComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.CloseWebPageComposer);
this.response.init(Outgoing.RestoreClientMessageComposer);
//Empty body
return this.response;
}

View File

@ -14,7 +14,7 @@ public class EpicPopupFrameComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.EpicPopupFrameComposer);
this.response.init(Outgoing.EpicPopupMessageComposer);
this.response.appendString(this.assetURI);
return this.response;
}

View File

@ -13,7 +13,7 @@ public class ErrorLoginComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ErrorLoginComposer);
this.response.init(Outgoing.DisconnectReasonComposer);
this.response.appendInt(this.errorCode);
return this.response;
}

View File

@ -25,7 +25,7 @@ public class ExtendClubMessageComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.ExtendClubMessageComposer);
this.response.init(Outgoing.HabboClubExtendOfferMessageComposer);
this.offer.serialize(this.response, this.habbo.getHabboStats().getClubExpireTimestamp());
this.response.appendInt(this.normalCreditCost);

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class RemoveRoomEventComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RemoveRoomEventComposer);
this.response.init(Outgoing.RoomEventCancelComposer);
//Empty Body
return this.response;
}

View File

@ -23,7 +23,7 @@ public class RentableItemBuyOutPriceComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RentableItemBuyOutPriceComposer);
this.response.init(Outgoing.FurniRentOrBuyoutOfferMessageComposer);
this.response.appendBoolean(this.unknownBoolean1);
this.response.appendString(this.unknownString1);
this.response.appendBoolean(this.unknownBoolean2);

View File

@ -13,7 +13,7 @@ public class RoomCategoryUpdateMessageComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.RoomCategoryUpdateMessageComposer);
this.response.init(Outgoing.ShowEnforceRoomCategoryDialogComposer);
this.response.appendInt(this.unknownInt1);
return this.response;
}

View File

@ -13,7 +13,7 @@ public class UnknownAvatarEditorComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UnknownAvatarEditorComposer);
this.response.init(Outgoing.AvatarEffectSelectedMessageComposer);
this.response.appendInt(this.type);
return this.response;
}

View File

@ -19,7 +19,7 @@ public class UnknownCompetitionComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UnknownCompetitionComposer);
this.response.init(Outgoing.CompetitionVotingInfoMessageComposer);
this.response.appendInt(this.unknownInt1);
this.response.appendString(this.unknownString1);
this.response.appendInt(this.unknownInt2);

View File

@ -17,7 +17,7 @@ public class UnknownComposer8 extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UnknownComposer8);
this.response.init(Outgoing.PetSupplementedNotificationComposer);
this.response.appendInt(this.unknownInt1);
this.response.appendInt(this.userId);
this.response.appendInt(this.unknownInt2);

View File

@ -17,7 +17,7 @@ public class UnknownMessengerErrorComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UnknownMessengerErrorComposer);
this.response.init(Outgoing.InstantMessageErrorComposer);
this.response.appendInt(this.errorCode);
this.response.appendInt(this.userId);
this.response.appendString(this.message);

View File

@ -15,7 +15,7 @@ public class UnknownRoomViewerComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UnknownRoomViewerComposer);
this.response.init(Outgoing.IdentityAccountsComposer);
this.response.appendInt(this.unknownMap.size());
for (Map.Entry<Integer, String> entry : this.unknownMap.entrySet()) {
this.response.appendInt(entry.getKey());

View File

@ -14,7 +14,7 @@ public class MeMenuSettingsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.MeMenuSettingsComposer);
this.response.init(Outgoing.AccountPreferencesComposer);
this.response.appendInt(this.habbo.getHabboStats().volumeSystem);
this.response.appendInt(this.habbo.getHabboStats().volumeFurni);
this.response.appendInt(this.habbo.getHabboStats().volumeTrax);

View File

@ -14,7 +14,7 @@ public class UserCreditsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UserCreditsComposer);
this.response.init(Outgoing.CreditBalanceComposer);
this.response.appendString(this.habbo.getHabboInfo().getCredits() + ".0");
return this.response;
}

View File

@ -18,7 +18,7 @@ public class UserPermissionsComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UserPermissionsComposer);
this.response.init(Outgoing.UserRightsMessageComposer);
this.response.appendInt(this.clubLevel);
this.response.appendInt(this.habbo.getHabboInfo().getRank().getLevel());
this.response.appendBoolean(this.habbo.hasPermission(Permission.ACC_AMBASSADOR));

View File

@ -44,7 +44,7 @@ public class UserProfileComposer extends MessageComposer {
if (this.habboInfo == null)
return null;
this.response.init(Outgoing.UserProfileComposer);
this.response.init(Outgoing.ExtendedProfileMessageComposer);
this.response.appendInt(this.habboInfo.getId());
this.response.appendString(this.habboInfo.getUsername());

View File

@ -14,7 +14,7 @@ public class UserWardrobeComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.UserWardrobeComposer);
this.response.init(Outgoing.WardrobeMessageComposer);
this.response.appendInt(1);
this.response.appendInt(this.wardrobeComponent.getLooks().size());
for (WardrobeComponent.WardrobeItem wardrobeItem : this.wardrobeComponent.getLooks().values()) {

View File

@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
public class VerifyMobileNumberComposer extends MessageComposer {
@Override
protected ServerMessage composeInternal() {
this.response.init(Outgoing.VerifyMobileNumberComposer);
this.response.init(Outgoing.NewUserExperienceNotCompleteComposer);
return this.response;
}
}