mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Refactoring Outgoing Packet Composer Names Part 3
This commit is contained in:
parent
f42a14db7c
commit
6447563a28
@ -10,7 +10,7 @@ public class Outgoing {
|
||||
public final static int ShoutMessageComposer = 1036;
|
||||
public final static int UserUpdateComposer = 1640;
|
||||
public final static int RoomUserDataComposer = 3920;
|
||||
public final static int RoomAddRightsListComposer = 2088;
|
||||
public final static int FlatControllerAddedComposer = 2088;
|
||||
public final static int FlatControllerRemovedComposer = 1327;
|
||||
public final static int FlatControllersComposer = 1284;
|
||||
public final static int CarryObjectMessageComposer = 1474;
|
||||
@ -19,7 +19,7 @@ public class Outgoing {
|
||||
public final static int GuildBoughtComposer = 2808;
|
||||
public final static int AddUserBadgeComposer = 2493;
|
||||
public final static int RecyclerCompleteComposer = 468;
|
||||
public final static int GuildBuyRoomsComposer = 2159;
|
||||
public final static int GuildCreationInfoMessageComposer = 2159;
|
||||
public final static int FriendsComposer = 3130;
|
||||
public final static int StalkErrorComposer = 3048;
|
||||
public final static int TradeCloseWindowComposer = 1001;
|
||||
@ -32,11 +32,11 @@ public class Outgoing {
|
||||
public final static int HabboGroupDetailsMessageComposer = 1702;
|
||||
public final static int UserPermissionsComposer = 411;
|
||||
public final static int ApproveNameMessageComposer = 1503;
|
||||
public final static int TradeStartFailComposer = 217;
|
||||
public final static int AddHabboItemComposer = 2103;
|
||||
public final static int TradingOpenFailedComposer = 217;
|
||||
public final static int UnseenItemsComposer = 2103;
|
||||
public final static int InventoryBotsComposer = 3086;
|
||||
public final static int CanCreateRoomComposer = 378;
|
||||
public final static int MarketplaceBuyErrorComposer = 2032;
|
||||
public final static int MarketplaceBuyOfferResultComposer = 2032;
|
||||
public final static int BonusRareInfoMessageComposer = 1533;
|
||||
public final static int CloseConnectionMessageComposer = 122;
|
||||
public final static int UpdateFriendComposer = 2800;
|
||||
@ -80,7 +80,7 @@ public class Outgoing {
|
||||
public final static int PetErrorComposer = 2913;
|
||||
public final static int TradingItemListComposer = 2024;
|
||||
public final static int PrivateRoomsComposer = 52;
|
||||
public final static int RoomModelComposer = 2031;
|
||||
public final static int RoomReadyMessageComposer = 2031;
|
||||
public final static int RoomScoreComposer = 482;
|
||||
public final static int DoorbellAddUserComposer = 2309;
|
||||
public final static int SecureLoginOKComposer = 2491;
|
||||
@ -162,11 +162,11 @@ public class Outgoing {
|
||||
public final static int WiredConditionDataComposer = 1108; // PRODUCTION-201611291003-338511768
|
||||
public final static int ModToolUserInfoComposer = 2866; // PRODUCTION-201611291003-338511768
|
||||
public final static int UserWardrobeComposer = 3315; // PRODUCTION-201611291003-338511768
|
||||
public final static int RoomPetExperienceComposer = 2156; // PRODUCTION-201611291003-338511768
|
||||
public final static int PetExperienceComposer = 2156; // PRODUCTION-201611291003-338511768
|
||||
public final static int NewConsoleMessageComposer = 1587; // PRODUCTION-201611291003-338511768
|
||||
public final static int PetInformationComposer = 2901; // PRODUCTION-201611291003-338511768
|
||||
public final static int RoomThicknessComposer = 3547; // PRODUCTION-201611291003-338511768
|
||||
public final static int AddPetComposer = 2101; // PRODUCTION-201611291003-338511768
|
||||
public final static int PetAddedToInventoryComposer = 2101; // PRODUCTION-201611291003-338511768
|
||||
public final static int UpdateStackHeightComposer = 558; // PRODUCTION-201611291003-338511768
|
||||
public final static int RemoveBotComposer = 233; // PRODUCTION-201611291003-338511768
|
||||
public final static int RoomEnterErrorComposer = 899; // PRODUCTION-201611291003-338511768
|
||||
@ -203,7 +203,7 @@ public class Outgoing {
|
||||
public final static int ModToolReportReceivedAlertComposer = 3635; // PRODUCTION-201611291003-338511768
|
||||
public final static int ModToolIssueResponseAlertComposer = 3796; // PRODUCTION-201611291003-338511768
|
||||
public final static int AchievementListComposer = 305; // PRODUCTION-201611291003-338511768
|
||||
public final static int AchievementProgressComposer = 2107; // PRODUCTION-201611291003-338511768
|
||||
public final static int AchievementComposer = 2107; // PRODUCTION-201611291003-338511768
|
||||
public final static int AchievementUnlockedComposer = 806; // PRODUCTION-201611291003-338511768
|
||||
public final static int ClubGiftsComposer = 619; // PRODUCTION-201611291003-338511768
|
||||
public final static int UniqueMachineIDComposer = 1488; // PRODUCTION-201611291003-338511768
|
||||
@ -220,7 +220,7 @@ public class Outgoing {
|
||||
public final static int MysticBoxCloseComposer = 596; // PRODUCTION-201611291003-338511768
|
||||
public final static int MysticBoxPrizeComposer = 3712; // PRODUCTION-201611291003-338511768
|
||||
public final static int RentableSpaceInfoComposer = 3559; // PRODUCTION-201611291003-338511768
|
||||
public final static int RentableSpaceUnknownComposer = 2046; // PRODUCTION-201611291003-338511768
|
||||
public final static int RentableSpaceRentOkMessageComposer = 2046; // PRODUCTION-201611291003-338511768
|
||||
public final static int RentableSpaceRentFailedMessageComposer = 1868; // PRODUCTION-201611291003-338511768
|
||||
public final static int GuildMemberFurniCountInHQMessageComposer = 1876; // PRODUCTION-201611291003-338511768
|
||||
|
||||
@ -245,7 +245,7 @@ public class Outgoing {
|
||||
|
||||
public final static int GuildForumsUnreadMessagesCountComposer = 2379; // PRODUCTION-201611291003-338511768
|
||||
public final static int PostThreadMessageComposer = 1862; // PRODUCTION-201611291003-338511768
|
||||
public final static int GuildForumAddCommentComposer = 2049; // PRODUCTION-201611291003-338511768
|
||||
public final static int PostMessageMessageComposer = 2049; // PRODUCTION-201611291003-338511768
|
||||
public final static int GuildForumDataComposer = 3011; // PRODUCTION-201611291003-338511768
|
||||
public final static int GuildForumCommentsComposer = 509; // PRODUCTION-201611291003-338511768
|
||||
public final static int UnknownGuildForumComposer6 = -1; // PRODUCTION-201611291003-338511768
|
||||
@ -292,13 +292,13 @@ public class Outgoing {
|
||||
public final static int RoomMessageNotificationMessageComposer = 1634; // PRODUCTION-201611291003-338511768
|
||||
public final static int PetRespectFailedComposer = 1130; // PRODUCTION-201611291003-338511768
|
||||
public final static int PetReceivedMessageComposer = 1111; // PRODUCTION-201611291003-338511768
|
||||
public final static int MessagesForYouComposer = 2035; // PRODUCTION-201611291003-338511768
|
||||
public final static int MOTDNotificationComposer = 2035; // PRODUCTION-201611291003-338511768
|
||||
public final static int AccountSafetyLockStatusChangeMessageComposer = 1243; // PRODUCTION-201611291003-338511768
|
||||
public final static int CloseWebPageComposer = 426; // PRODUCTION-201611291003-338511768
|
||||
public final static int PickMonthlyClubGiftNotificationComposer = 2188; // PRODUCTION-201611291003-338511768
|
||||
public final static int RemoveGuildFromRoomComposer = 3129; // PRODUCTION-201611291003-338511768
|
||||
public final static int BannedUsersFromRoomComposer = 1869; // PRODUCTION-201611291003-338511768
|
||||
public final static int OpenRoomCreationWindowComposer = 2064; // PRODUCTION-201611291003-338511768
|
||||
public final static int NoOwnedRoomsAlertMessageComposer = 2064; // PRODUCTION-201611291003-338511768
|
||||
public final static int ObjectsDataUpdateMessageComposer = 1453; // PRODUCTION-201611291003-338511768
|
||||
public final static int WelcomeGiftComposer = 2707; // PRODUCTION-201611291003-338511768
|
||||
public final static int SimplePollStartComposer = 2665; // PRODUCTION-201611291003-338511768
|
||||
@ -309,7 +309,7 @@ public class Outgoing {
|
||||
public final static int VerifyMobileNumberComposer = 3639; // PRODUCTION-201611291003-338511768
|
||||
public final static int NewUserGiftComposer = 3575; // PRODUCTION-201611291003-338511768
|
||||
public final static int UpdateUserLookComposer = 2429; // PRODUCTION-201611291003-338511768
|
||||
public final static int RoomUserIgnoredComposer = 207; // PRODUCTION-201611291003-338511768
|
||||
public final static int IgnoreResultMessageComposer = 207; // PRODUCTION-201611291003-338511768
|
||||
public final static int ConfirmBreedingResultComposer = 1625; // PRODUCTION-201611291003-338511768
|
||||
public final static int RoomUserNameChangedComposer = 2182; // PRODUCTION-201611291003-338511768
|
||||
public final static int LoveLockFurniStartComposer = 3753; // PRODUCTION-201611291003-338511768
|
||||
@ -329,7 +329,7 @@ public class Outgoing {
|
||||
public final static int BullyReportClosedComposer = 2674; // PRODUCTION-201611291003-338511768
|
||||
public final static int PromoteOwnRoomsListComposer = 2468; // PRODUCTION-201611291003-338511768
|
||||
public final static int NotEnoughPointsTypeComposer = 3914; // PRODUCTION-201611291003-338511768
|
||||
public final static int WatchAndEarnRewardComposer = 2125; // PRODUCTION-201611291003-338511768
|
||||
public final static int OfferRewardDeliveredMessageComposer = 2125; // PRODUCTION-201611291003-338511768
|
||||
public final static int NewYearResolutionComposer = 66; // PRODUCTION-201611291003-338511768
|
||||
public final static int WelcomeGiftErrorComposer = 2293; // PRODUCTION-201611291003-338511768
|
||||
public final static int RentableItemBuyOutPriceComposer = 35; // PRODUCTION-201611291003-338511768
|
||||
@ -351,7 +351,7 @@ public class Outgoing {
|
||||
public final static int GuildFavoriteRoomUserUpdateComposer = 3403; // PRODUCTION-201611291003-338511768
|
||||
public final static int RoomAdErrorComposer = 1759; // PRODUCTION-201611291003-338511768
|
||||
public final static int NewNavigatorSettingsComposer = 518; // PRODUCTION-201611291003-338511768
|
||||
public final static int CameraPublishWaitMessageComposer = 2057; // PRODUCTION-201611291003-338511768
|
||||
public final static int CameraPublishStatusMessageComposer = 2057; // PRODUCTION-201611291003-338511768
|
||||
public final static int RoomInviteComposer = 3870; // PRODUCTION-201611291003-338511768
|
||||
public final static int BullyReportRequestComposer = 3463; // PRODUCTION-201611291003-338511768
|
||||
public final static int UnknownHelperComposer = 77; // PRODUCTION-201611291003-338511768
|
||||
@ -411,7 +411,7 @@ public class Outgoing {
|
||||
public final static int CraftableProductsComposer = 1000; // PRODUCTION-201611291003-338511768
|
||||
public final static int CraftingRecipeComposer = 2774; // PRODUCTION-201611291003-338511768
|
||||
public final static int CraftingResultComposer = 618; // PRODUCTION-201611291003-338511768
|
||||
public final static int CraftingComposerFour = 2124; // PRODUCTION-201611291003-338511768
|
||||
public final static int CraftingRecipesAvailableComposer = 2124; // PRODUCTION-201611291003-338511768
|
||||
|
||||
public final static int PetBreedingResultComposer = 1553; // PRODUCTION-201611291003-338511768 //PetBReedingResult
|
||||
public final static int ErrorReportComposer = 1004; // PRODUCTION-201611291003-338511768
|
||||
|
@ -19,7 +19,7 @@ public class AchievementProgressComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.AchievementProgressComposer);
|
||||
this.response.init(Outgoing.AchievementComposer);
|
||||
|
||||
int achievementProgress;
|
||||
AchievementLevel currentLevel;
|
||||
|
@ -17,7 +17,7 @@ public class CameraPublishWaitMessageComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.CameraPublishWaitMessageComposer);
|
||||
this.response.init(Outgoing.CameraPublishStatusMessageComposer);
|
||||
|
||||
this.response.appendBoolean(this.isOk);
|
||||
this.response.appendInt(this.cooldownSeconds);
|
||||
|
@ -24,7 +24,7 @@ public class MarketplaceBuyErrorComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.MarketplaceBuyErrorComposer);
|
||||
this.response.init(Outgoing.MarketplaceBuyOfferResultComposer);
|
||||
this.response.appendInt(this.errorCode); //result
|
||||
this.response.appendInt(this.unknown); //newOfferId
|
||||
this.response.appendInt(this.offerId); //newPrice
|
||||
|
@ -15,7 +15,7 @@ public class CraftingRecipesAvailableComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.CraftingComposerFour);
|
||||
this.response.init(Outgoing.CraftingRecipesAvailableComposer);
|
||||
this.response.appendInt((this.found ? -1 : 0) + this.count);
|
||||
this.response.appendBoolean(this.found);
|
||||
return this.response;
|
||||
|
@ -23,7 +23,7 @@ public class MessagesForYouComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.MessagesForYouComposer);
|
||||
this.response.init(Outgoing.MOTDNotificationComposer);
|
||||
this.response.appendInt(this.messages.length + this.newMessages.size());
|
||||
|
||||
for (String s : this.messages) {
|
||||
|
@ -16,7 +16,7 @@ public class GuildBuyRoomsComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.GuildBuyRoomsComposer);
|
||||
this.response.init(Outgoing.GuildCreationInfoMessageComposer);
|
||||
this.response.appendInt(Emulator.getConfig().getInt("catalog.guild.price"));
|
||||
this.response.appendInt(this.rooms.size());
|
||||
|
||||
|
@ -14,7 +14,7 @@ public class GuildForumAddCommentComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.GuildForumAddCommentComposer);
|
||||
this.response.init(Outgoing.PostMessageMessageComposer);
|
||||
this.response.appendInt(this.comment.getThread().getGuildId()); //guild_id
|
||||
this.response.appendInt(this.comment.getThreadId()); //thread_id
|
||||
this.comment.serialize(this.response); //Comment
|
||||
|
@ -42,7 +42,7 @@ public class AddHabboItemComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.AddHabboItemComposer);
|
||||
this.response.init(Outgoing.UnseenItemsComposer);
|
||||
|
||||
if (this.ids != null) {
|
||||
this.response.appendInt(1);
|
||||
|
@ -14,7 +14,7 @@ public class AddPetComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.AddPetComposer);
|
||||
this.response.init(Outgoing.PetAddedToInventoryComposer);
|
||||
this.pet.serialize(this.response);
|
||||
this.response.appendBoolean(false);
|
||||
return this.response;
|
||||
|
@ -7,7 +7,7 @@ import com.eu.habbo.messages.outgoing.Outgoing;
|
||||
public class OpenRoomCreationWindowComposer extends MessageComposer {
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.OpenRoomCreationWindowComposer);
|
||||
this.response.init(Outgoing.NoOwnedRoomsAlertMessageComposer);
|
||||
return this.response;
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ public class RoomAddRightsListComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.RoomAddRightsListComposer);
|
||||
this.response.init(Outgoing.FlatControllerAddedComposer);
|
||||
this.response.appendInt(this.room.getId());
|
||||
this.response.appendInt(this.userId);
|
||||
this.response.appendString(this.userName);
|
||||
|
@ -14,7 +14,7 @@ public class RoomModelComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.RoomModelComposer);
|
||||
this.response.init(Outgoing.RoomReadyMessageComposer);
|
||||
this.response.appendString(this.room.getLayout().getName());
|
||||
this.response.appendInt(this.room.getId());
|
||||
return this.response;
|
||||
|
@ -13,7 +13,7 @@ public class RentableSpaceUnknownComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.RentableSpaceUnknownComposer);
|
||||
this.response.init(Outgoing.RentableSpaceRentOkMessageComposer);
|
||||
this.response.appendInt(this.itemId);
|
||||
return this.response;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ public class RoomPetExperienceComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.RoomPetExperienceComposer);
|
||||
this.response.init(Outgoing.PetExperienceComposer);
|
||||
this.response.appendInt(this.pet.getId());
|
||||
this.response.appendInt(this.pet.getRoomUnit().getId());
|
||||
this.response.appendInt(this.amount);
|
||||
|
@ -20,7 +20,7 @@ public class RoomUserIgnoredComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.RoomUserIgnoredComposer);
|
||||
this.response.init(Outgoing.IgnoreResultMessageComposer);
|
||||
this.response.appendInt(this.state);
|
||||
this.response.appendString(this.habbo.getHabboInfo().getUsername());
|
||||
return this.response;
|
||||
|
@ -26,7 +26,7 @@ public class TradeStartFailComposer extends MessageComposer {
|
||||
}
|
||||
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.TradeStartFailComposer);
|
||||
this.response.init(Outgoing.TradingOpenFailedComposer);
|
||||
this.response.appendInt(this.code);
|
||||
this.response.appendString(this.username);
|
||||
return this.response;
|
||||
|
@ -14,7 +14,7 @@ public class WatchAndEarnRewardComposer extends MessageComposer {
|
||||
|
||||
@Override
|
||||
protected ServerMessage composeInternal() {
|
||||
this.response.init(Outgoing.WatchAndEarnRewardComposer);
|
||||
this.response.init(Outgoing.OfferRewardDeliveredMessageComposer);
|
||||
this.response.appendString(this.item.getType().code);
|
||||
this.response.appendInt(this.item.getId());
|
||||
this.response.appendString(this.item.getName());
|
||||
|
Loading…
Reference in New Issue
Block a user