fix(messages): silence duplicate packet aliases

PacketNames reflects public static final packet constants and warns when two names share the same header. RequestCatalogIndexEvent is a legacy alias for the active Builders Club catalog index header, and InClientLinkComposer shares the NUX link payload/header. Keep those aliases available to existing code while removing them from the reflected packet-name set, and add a contract test so future public final packet names stay unique.
This commit is contained in:
simoleo89
2026-06-13 16:14:04 +02:00
parent 87e1ef94f7
commit 216078f62c
3 changed files with 53 additions and 2 deletions
@@ -83,7 +83,7 @@ public class Incoming {
public static final int GuildAcceptMembershipEvent = 3386;
public static final int RequestRecylerLogicEvent = 398;
public static final int RequestGuildJoinEvent = 998;
public static final int RequestCatalogIndexEvent = 2529;
public static int RequestCatalogIndexEvent = 2529;
public static final int BuildersClubQueryFurniCountEvent = 2529;
public static final int BuildersClubPlaceRoomItemEvent = 1051;
public static final int BuildersClubPlaceWallItemEvent = 462;
@@ -514,7 +514,7 @@ public class Outgoing {
public final static int WiredOpenComposer = 1830;
public final static int UnknownCatalogPageOfferComposer = 1889;
public final static int NuxAlertComposer = 2023;
public final static int InClientLinkComposer = 2023;
public static int InClientLinkComposer = NuxAlertComposer;
public final static int HotelViewExpiringCatalogPageCommposer = 2515;
public final static int UnknownHabboWayQuizComposer = 2772;
public final static int PetLevelUpdatedComposer = 2824;