Fix incoming and outgoing

This commit is contained in:
brenoepic 2022-04-30 02:06:06 -03:00
parent a04638fb6b
commit dcb717b118
5 changed files with 1337 additions and 1325 deletions

View File

@ -39,7 +39,7 @@ public class RoomChatMessage implements Runnable, ISerialize, DatabaseLoggable {
private byte emotion; private byte emotion;
public RoomChatMessage(MessageHandler message) { public RoomChatMessage(MessageHandler message) {
if (message.packet.getMessageId() == Incoming.WhisperEvent) { if (message.packet.getMessageId() == Incoming.whisperEvent) {
String data = message.packet.readString(); String data = message.packet.readString();
this.targetHabbo = message.client.getHabbo().getHabboInfo().getCurrentRoom().getHabbo(data.split(" ")[0]); this.targetHabbo = message.client.getHabbo().getHabboInfo().getCurrentRoom().getHabbo(data.split(" ")[0]);
this.message = data.substring(data.split(" ")[0].length() + 1); this.message = data.substring(data.split(" ")[0].length() + 1);

View File

@ -130,7 +130,7 @@ public class PacketManager {
for (String s : Emulator.getConfig().getValue("debug.show.headers").split(";")) { for (String s : Emulator.getConfig().getValue("debug.show.headers").split(";")) {
try { try {
logList.add(Integer.valueOf(s)); logList.add(Integer.valueOf(s));
} catch (NumberFormatException e) { } catch (NumberFormatException ignored) {
} }
} }
@ -223,425 +223,425 @@ public class PacketManager {
} }
private void registerAmbassadors() throws Exception { private void registerAmbassadors() throws Exception {
this.registerHandler(Incoming.AmbassadorAlertEvent, AmbassadorAlertEvent.class); this.registerHandler(Incoming.ambassadorAlertEvent, AmbassadorAlertEvent.class);
this.registerHandler(Incoming.FollowFriendEvent, FollowFriendEvent.class); this.registerHandler(Incoming.followFriendEvent, FollowFriendEvent.class);
} }
private void registerCatalog() throws Exception { private void registerCatalog() throws Exception {
this.registerHandler(Incoming.GetRecyclerPrizesEvent, GetRecyclerPrizesEvent.class); this.registerHandler(Incoming.getRecyclerPrizesEvent, GetRecyclerPrizesEvent.class);
this.registerHandler(Incoming.GetBundleDiscountRulesetEvent, GetBundleDiscountRulesetEvent.class); this.registerHandler(Incoming.getBundleDiscountRulesetEvent, GetBundleDiscountRulesetEvent.class);
this.registerHandler(Incoming.GetGiftWrappingConfigurationEvent, GetGiftWrappingConfigurationEvent.class); this.registerHandler(Incoming.getGiftWrappingConfigurationEvent, GetGiftWrappingConfigurationEvent.class);
this.registerHandler(Incoming.GetMarketplaceConfigurationEvent, GetMarketplaceConfigurationEvent.class); this.registerHandler(Incoming.getMarketplaceConfigurationEvent, GetMarketplaceConfigurationEvent.class);
this.registerHandler(Incoming.GetCatalogIndexEvent, GetCatalogIndexEvent.class); this.registerHandler(Incoming.getCatalogIndexEvent, GetCatalogIndexEvent.class);
this.registerHandler(Incoming.BuildersClubQueryFurniCountEvent, BuildersClubQueryFurniCountEvent.class); this.registerHandler(Incoming.buildersClubQueryFurniCountEvent, BuildersClubQueryFurniCountEvent.class);
this.registerHandler(Incoming.GetCatalogPageEvent, GetCatalogPageEvent.class); this.registerHandler(Incoming.getCatalogPageEvent, GetCatalogPageEvent.class);
this.registerHandler(Incoming.PurchaseFromCatalogAsGiftEvent, PurchaseFromCatalogAsGiftEvent.class); this.registerHandler(Incoming.purchaseFromCatalogAsGiftEvent, PurchaseFromCatalogAsGiftEvent.class);
this.registerHandler(Incoming.PurchaseFromCatalogEvent, PurchaseFromCatalogEvent.class); this.registerHandler(Incoming.purchaseFromCatalogEvent, PurchaseFromCatalogEvent.class);
this.registerHandler(Incoming.RedeemVoucherEvent, RedeemVoucherEvent.class); this.registerHandler(Incoming.redeemVoucherEvent, RedeemVoucherEvent.class);
this.registerHandler(Incoming.GetRecyclerStatusEvent, GetRecyclerStatusEvent.class); this.registerHandler(Incoming.getRecyclerStatusEvent, GetRecyclerStatusEvent.class);
this.registerHandler(Incoming.RecycleItemsEvent, RecycleItemsEvent.class); this.registerHandler(Incoming.recycleItemsEvent, RecycleItemsEvent.class);
this.registerHandler(Incoming.PresentOpenEvent, PresentOpenEvent.class); this.registerHandler(Incoming.presentOpenEvent, PresentOpenEvent.class);
this.registerHandler(Incoming.GetMarketplaceOwnOffersEvent, GetMarketplaceOwnOffersEvent.class); this.registerHandler(Incoming.getMarketplaceOwnOffersEvent, GetMarketplaceOwnOffersEvent.class);
this.registerHandler(Incoming.CancelMarketplaceOfferEvent, CancelMarketplaceOfferEvent.class); this.registerHandler(Incoming.cancelMarketplaceOfferEvent, CancelMarketplaceOfferEvent.class);
this.registerHandler(Incoming.GetMarketplaceOffersEvent, GetMarketplaceOffersEvent.class); this.registerHandler(Incoming.getMarketplaceOffersEvent, GetMarketplaceOffersEvent.class);
this.registerHandler(Incoming.GetMarketplaceItemStatsEvent, GetMarketplaceItemStatsEvent.class); this.registerHandler(Incoming.getMarketplaceItemStatsEvent, GetMarketplaceItemStatsEvent.class);
this.registerHandler(Incoming.BuyMarketplaceOfferEvent, BuyMarketplaceOfferEvent.class); this.registerHandler(Incoming.buyMarketplaceOfferEvent, BuyMarketplaceOfferEvent.class);
this.registerHandler(Incoming.GetMarketplaceCanMakeOfferEvent, GetMarketplaceCanMakeOfferEvent.class); this.registerHandler(Incoming.getMarketplaceCanMakeOfferEvent, GetMarketplaceCanMakeOfferEvent.class);
this.registerHandler(Incoming.MakeOfferEvent, MakeOfferEvent.class); this.registerHandler(Incoming.makeOfferEvent, MakeOfferEvent.class);
this.registerHandler(Incoming.RedeemMarketplaceOfferCreditsEvent, RedeemMarketplaceOfferCreditsEvent.class); this.registerHandler(Incoming.redeemMarketplaceOfferCreditsEvent, RedeemMarketplaceOfferCreditsEvent.class);
this.registerHandler(Incoming.GetSellablePetPalettesEvent, GetSellablePetPalettesEvent.class); this.registerHandler(Incoming.getSellablePetPalettesEvent, GetSellablePetPalettesEvent.class);
this.registerHandler(Incoming.ApproveNameEvent, ApproveNameEvent.class); this.registerHandler(Incoming.approveNameEvent, ApproveNameEvent.class);
this.registerHandler(Incoming.GetClubOffersEvent, GetClubOffersEvent.class); this.registerHandler(Incoming.getClubOffersEvent, GetClubOffersEvent.class);
this.registerHandler(Incoming.GetClubGiftInfo, GetClubGiftInfo.class); this.registerHandler(Incoming.getClubGiftInfo, GetClubGiftInfo.class);
this.registerHandler(Incoming.GetProductOfferEvent, GetProductOfferEvent.class); this.registerHandler(Incoming.getProductOfferEvent, GetProductOfferEvent.class);
this.registerHandler(Incoming.PurchaseTargetedOfferEvent, PurchaseTargetedOfferEvent.class); this.registerHandler(Incoming.purchaseTargetedOfferEvent, PurchaseTargetedOfferEvent.class);
this.registerHandler(Incoming.SetTargetedOfferStateEvent, SetTargetedOfferStateEvent.class); this.registerHandler(Incoming.setTargetedOfferStateEvent, SetTargetedOfferStateEvent.class);
this.registerHandler(Incoming.SelectClubGiftEvent, SelectClubGiftEvent.class); this.registerHandler(Incoming.selectClubGiftEvent, SelectClubGiftEvent.class);
this.registerHandler(Incoming.ScrGetKickbackInfoEvent, ScrGetKickbackInfoEvent.class); this.registerHandler(Incoming.scrGetKickbackInfoEvent, ScrGetKickbackInfoEvent.class);
this.registerHandler(Incoming.BuildersClubPlaceWallItemEvent, BuildersClubPlaceWallItemEvent.class); this.registerHandler(Incoming.buildersClubPlaceWallItemEvent, BuildersClubPlaceWallItemEvent.class);
this.registerHandler(Incoming.PurchaseVipMembershipExtensionEvent, PurchaseVipMembershipExtensionEvent.class); this.registerHandler(Incoming.purchaseVipMembershipExtensionEvent, PurchaseVipMembershipExtensionEvent.class);
} }
private void registerEvent() throws Exception { private void registerEvent() throws Exception {
this.registerHandler(Incoming.OpenCampaignCalendarDoorAsStaffEvent, OpenCampaignCalendarDoorAsStaffEvent.class); this.registerHandler(Incoming.openCampaignCalendarDoorAsStaffEvent, OpenCampaignCalendarDoorAsStaffEvent.class);
this.registerHandler(Incoming.OpenCampaignCalendarDoorEvent, OpenCampaignCalendarDoorEvent.class); this.registerHandler(Incoming.openCampaignCalendarDoorEvent, OpenCampaignCalendarDoorEvent.class);
} }
private void registerHandshake() throws Exception { private void registerHandshake() throws Exception {
this.registerHandler(Incoming.ClientHelloEvent, ClientHelloEvent.class); this.registerHandler(Incoming.clientHelloEvent, ClientHelloEvent.class);
this.registerHandler(Incoming.InitDiffieHandshakeEvent, InitDiffieHandshakeEvent.class); this.registerHandler(Incoming.initDiffieHandshakeEvent, InitDiffieHandshakeEvent.class);
this.registerHandler(Incoming.CompleteDiffieHandshakeEvent, CompleteDiffieHandshakeEvent.class); this.registerHandler(Incoming.completeDiffieHandshakeEvent, CompleteDiffieHandshakeEvent.class);
this.registerHandler(Incoming.SSOTicketEvent, SSOTicketEvent.class); this.registerHandler(Incoming.sSOTicketEvent, SSOTicketEvent.class);
this.registerHandler(Incoming.UniqueIDEvent, UniqueIDEvent.class); this.registerHandler(Incoming.uniqueIDEvent, UniqueIDEvent.class);
this.registerHandler(Incoming.GetIgnoredUsersEvent, GetIgnoredUsersEvent.class); this.registerHandler(Incoming.getIgnoredUsersEvent, GetIgnoredUsersEvent.class);
this.registerHandler(Incoming.LatencyPingRequestEvent, LatencyPingRequestEvent.class); this.registerHandler(Incoming.latencyPingRequestEvent, LatencyPingRequestEvent.class);
} }
private void registerFriends() throws Exception { private void registerFriends() throws Exception {
this.registerHandler(Incoming.GetMOTDEvent, GetMOTDEvent.class); this.registerHandler(Incoming.getMOTDEvent, GetMOTDEvent.class);
this.registerHandler(Incoming.SetRelationshipStatusEvent, SetRelationshipStatusEvent.class); this.registerHandler(Incoming.setRelationshipStatusEvent, SetRelationshipStatusEvent.class);
this.registerHandler(Incoming.RemoveFriendEvent, RemoveFriendEvent.class); this.registerHandler(Incoming.removeFriendEvent, RemoveFriendEvent.class);
this.registerHandler(Incoming.HabboSearchEvent, HabboSearchEvent.class); this.registerHandler(Incoming.habboSearchEvent, HabboSearchEvent.class);
this.registerHandler(Incoming.RequestFriendEvent, RequestFriendEvent.class); this.registerHandler(Incoming.requestFriendEvent, RequestFriendEvent.class);
this.registerHandler(Incoming.AcceptFriendEvent, AcceptFriendEvent.class); this.registerHandler(Incoming.acceptFriendEvent, AcceptFriendEvent.class);
this.registerHandler(Incoming.DeclineFriendEvent, DeclineFriendEvent.class); this.registerHandler(Incoming.declineFriendEvent, DeclineFriendEvent.class);
this.registerHandler(Incoming.SendMsgEvent, SendMsgEvent.class); this.registerHandler(Incoming.sendMsgEvent, SendMsgEvent.class);
this.registerHandler(Incoming.GetFriendRequestsEvent, GetFriendRequestsEvent.class); this.registerHandler(Incoming.getFriendRequestsEvent, GetFriendRequestsEvent.class);
this.registerHandler(Incoming.VisitUserEvent, VisitUserEvent.class); this.registerHandler(Incoming.visitUserEvent, VisitUserEvent.class);
this.registerHandler(Incoming.MessengerInitEvent, MessengerInitEvent.class); this.registerHandler(Incoming.messengerInitEvent, MessengerInitEvent.class);
this.registerHandler(Incoming.FindNewFriendsEvent, FindNewFriendsEvent.class); this.registerHandler(Incoming.findNewFriendsEvent, FindNewFriendsEvent.class);
this.registerHandler(Incoming.SendRoomInviteEvent, SendRoomInviteEvent.class); this.registerHandler(Incoming.sendRoomInviteEvent, SendRoomInviteEvent.class);
} }
private void registerUsers() throws Exception { private void registerUsers() throws Exception {
this.registerHandler(Incoming.InfoRetrieveEvent, InfoRetrieveEvent.class); this.registerHandler(Incoming.infoRetrieveEvent, InfoRetrieveEvent.class);
this.registerHandler(Incoming.GetCreditsInfoEvent, GetCreditsInfoEvent.class); this.registerHandler(Incoming.getCreditsInfoEvent, GetCreditsInfoEvent.class);
this.registerHandler(Incoming.ScrGetUserInfoEvent, ScrGetUserInfoEvent.class); this.registerHandler(Incoming.scrGetUserInfoEvent, ScrGetUserInfoEvent.class);
this.registerHandler(Incoming.GetSoundSettingsEvent, GetSoundSettingsEvent.class); this.registerHandler(Incoming.getSoundSettingsEvent, GetSoundSettingsEvent.class);
this.registerHandler(Incoming.GetTalentTrackLevelEvent, GetTalentTrackLevelEvent.class); this.registerHandler(Incoming.getTalentTrackLevelEvent, GetTalentTrackLevelEvent.class);
this.registerHandler(Incoming.GetExtendedProfileEvent, GetExtendedProfileEvent.class); this.registerHandler(Incoming.getExtendedProfileEvent, GetExtendedProfileEvent.class);
this.registerHandler(Incoming.GetRelationshipStatusInfoEvent, GetRelationshipStatusInfoEvent.class); this.registerHandler(Incoming.getRelationshipStatusInfoEvent, GetRelationshipStatusInfoEvent.class);
this.registerHandler(Incoming.GetWardrobeEvent, GetWardrobeEvent.class); this.registerHandler(Incoming.getWardrobeEvent, GetWardrobeEvent.class);
this.registerHandler(Incoming.SaveWardrobeOutfitEvent, SaveWardrobeOutfitEvent.class); this.registerHandler(Incoming.saveWardrobeOutfitEvent, SaveWardrobeOutfitEvent.class);
this.registerHandler(Incoming.ChangeMottoEvent, ChangeMottoEvent.class); this.registerHandler(Incoming.changeMottoEvent, ChangeMottoEvent.class);
this.registerHandler(Incoming.UpdateFigureDataEvent, UpdateFigureDataEvent.class); this.registerHandler(Incoming.updateFigureDataEvent, UpdateFigureDataEvent.class);
this.registerHandler(Incoming.SetActivatedBadgesEvent, SetActivatedBadgesEvent.class); this.registerHandler(Incoming.setActivatedBadgesEvent, SetActivatedBadgesEvent.class);
this.registerHandler(Incoming.GetSelectedBadgesEvent, GetSelectedBadgesEvent.class); this.registerHandler(Incoming.getSelectedBadgesEvent, GetSelectedBadgesEvent.class);
this.registerHandler(Incoming.SetSoundSettingsEvent, SetSoundSettingsEvent.class); this.registerHandler(Incoming.setSoundSettingsEvent, SetSoundSettingsEvent.class);
this.registerHandler(Incoming.SetRoomCameraPreferencesEvent, SetRoomCameraPreferencesEvent.class); this.registerHandler(Incoming.setRoomCameraPreferencesEvent, SetRoomCameraPreferencesEvent.class);
this.registerHandler(Incoming.SetIgnoreRoomInvitesEvent, SetIgnoreRoomInvitesEvent.class); this.registerHandler(Incoming.setIgnoreRoomInvitesEvent, SetIgnoreRoomInvitesEvent.class);
this.registerHandler(Incoming.SetChatPreferencesEvent, SetChatPreferencesEvent.class); this.registerHandler(Incoming.setChatPreferencesEvent, SetChatPreferencesEvent.class);
this.registerHandler(Incoming.AvatarEffectActivatedEvent, AvatarEffectActivatedEvent.class); this.registerHandler(Incoming.avatarEffectActivatedEvent, AvatarEffectActivatedEvent.class);
this.registerHandler(Incoming.AvatarEffectSelectedEvent, AvatarEffectSelectedEvent.class); this.registerHandler(Incoming.avatarEffectSelectedEvent, AvatarEffectSelectedEvent.class);
this.registerHandler(Incoming.EventLogEvent, EventLogEvent.class); this.registerHandler(Incoming.eventLogEvent, EventLogEvent.class);
this.registerHandler(Incoming.NewUserExperienceScriptProceedEvent, NewUserExperienceScriptProceedEvent.class); this.registerHandler(Incoming.newUserExperienceScriptProceedEvent, NewUserExperienceScriptProceedEvent.class);
this.registerHandler(Incoming.NewUserExperienceGetGiftsEvent, NewUserExperienceGetGiftsEvent.class); this.registerHandler(Incoming.newUserExperienceGetGiftsEvent, NewUserExperienceGetGiftsEvent.class);
this.registerHandler(Incoming.CheckUserNameEvent, CheckUserNameEvent.class); this.registerHandler(Incoming.checkUserNameEvent, CheckUserNameEvent.class);
this.registerHandler(Incoming.ChangeUserNameEvent, ChangeUserNameEvent.class); this.registerHandler(Incoming.changeUserNameEvent, ChangeUserNameEvent.class);
this.registerHandler(Incoming.SetChatStylePreferenceEvent, SetChatStylePreferenceEvent.class); this.registerHandler(Incoming.setChatStylePreferenceEvent, SetChatStylePreferenceEvent.class);
this.registerHandler(Incoming.UpdateUIFlagsEvent, UpdateUIFlagsEvent.class); this.registerHandler(Incoming.updateUIFlagsEvent, UpdateUIFlagsEvent.class);
} }
private void registerNavigator() throws Exception { private void registerNavigator() throws Exception {
this.registerHandler(Incoming.GetUserFlatCatsEvent, GetUserFlatCatsEvent.class); this.registerHandler(Incoming.getUserFlatCatsEvent, GetUserFlatCatsEvent.class);
this.registerHandler(Incoming.PopularRoomsSearchEvent, PopularRoomsSearchEvent.class); this.registerHandler(Incoming.popularRoomsSearchEvent, PopularRoomsSearchEvent.class);
this.registerHandler(Incoming.RoomsWithHighestScoreSearchEvent, RoomsWithHighestScoreSearchEvent.class); this.registerHandler(Incoming.roomsWithHighestScoreSearchEvent, RoomsWithHighestScoreSearchEvent.class);
this.registerHandler(Incoming.MyRoomsSearchEvent, MyRoomsSearchEvent.class); this.registerHandler(Incoming.myRoomsSearchEvent, MyRoomsSearchEvent.class);
this.registerHandler(Incoming.CanCreateRoomEvent, CanCreateRoomEvent.class); this.registerHandler(Incoming.canCreateRoomEvent, CanCreateRoomEvent.class);
this.registerHandler(Incoming.GetUnreadForumsCountEvent, GetUnreadForumsCountEvent.class); this.registerHandler(Incoming.getUnreadForumsCountEvent, GetUnreadForumsCountEvent.class);
this.registerHandler(Incoming.CreateFlatEvent, CreateFlatEvent.class); this.registerHandler(Incoming.createFlatEvent, CreateFlatEvent.class);
this.registerHandler(Incoming.GetPopularRoomTagsEvent, GetPopularRoomTagsEvent.class); this.registerHandler(Incoming.getPopularRoomTagsEvent, GetPopularRoomTagsEvent.class);
this.registerHandler(Incoming.SearchRoomsByTagEvent, SearchRoomsByTagEvent.class); this.registerHandler(Incoming.searchRoomsByTagEvent, SearchRoomsByTagEvent.class);
this.registerHandler(Incoming.RoomTextSearchEvent, RoomTextSearchEvent.class); this.registerHandler(Incoming.roomTextSearchEvent, RoomTextSearchEvent.class);
this.registerHandler(Incoming.RoomsWhereMyFriendsAreSearchEvent, RoomsWhereMyFriendsAreSearchEvent.class); this.registerHandler(Incoming.roomsWhereMyFriendsAreSearchEvent, RoomsWhereMyFriendsAreSearchEvent.class);
this.registerHandler(Incoming.MyFriendsRoomsSearchEvent, MyFriendsRoomsSearchEvent.class); this.registerHandler(Incoming.myFriendsRoomsSearchEvent, MyFriendsRoomsSearchEvent.class);
this.registerHandler(Incoming.MyRoomRightsSearchEvent, MyRoomRightsSearchEvent.class); this.registerHandler(Incoming.myRoomRightsSearchEvent, MyRoomRightsSearchEvent.class);
this.registerHandler(Incoming.MyGuildBasesSearchEvent, MyGuildBasesSearchEvent.class); this.registerHandler(Incoming.myGuildBasesSearchEvent, MyGuildBasesSearchEvent.class);
this.registerHandler(Incoming.MyFavouriteRoomsSearchEvent, MyFavouriteRoomsSearchEvent.class); this.registerHandler(Incoming.myFavouriteRoomsSearchEvent, MyFavouriteRoomsSearchEvent.class);
this.registerHandler(Incoming.MyRoomHistorySearchEvent, MyRoomHistorySearchEvent.class); this.registerHandler(Incoming.myRoomHistorySearchEvent, MyRoomHistorySearchEvent.class);
this.registerHandler(Incoming.NewNavigatorInitEvent, NewNavigatorInitEvent.class); this.registerHandler(Incoming.newNavigatorInitEvent, NewNavigatorInitEvent.class);
this.registerHandler(Incoming.NewNavigatorSearchEvent, NewNavigatorSearchEvent.class); this.registerHandler(Incoming.newNavigatorSearchEvent, NewNavigatorSearchEvent.class);
this.registerHandler(Incoming.ForwardToSomeRoomEvent, ForwardToSomeRoomEvent.class); this.registerHandler(Incoming.forwardToSomeRoomEvent, ForwardToSomeRoomEvent.class);
this.registerHandler(Incoming.GetUserEventCatsEvent, GetUserEventCatsEvent.class); this.registerHandler(Incoming.getUserEventCatsEvent, GetUserEventCatsEvent.class);
this.registerHandler(Incoming.SetNewNavigatorWindowPreferencesEvent, SetNewNavigatorWindowPreferencesEvent.class); this.registerHandler(Incoming.setNewNavigatorWindowPreferencesEvent, SetNewNavigatorWindowPreferencesEvent.class);
this.registerHandler(Incoming.DeleteRoomEvent, DeleteRoomEvent.class); this.registerHandler(Incoming.deleteRoomEvent, DeleteRoomEvent.class);
this.registerHandler(Incoming.NavigatorSetSearchCodeViewModeEvent, NavigatorSetSearchCodeViewModeEvent.class); this.registerHandler(Incoming.navigatorSetSearchCodeViewModeEvent, NavigatorSetSearchCodeViewModeEvent.class);
this.registerHandler(Incoming.NavigatorAddCollapsedCategoryEvent, NavigatorAddCollapsedCategoryEvent.class); this.registerHandler(Incoming.navigatorAddCollapsedCategoryEvent, NavigatorAddCollapsedCategoryEvent.class);
this.registerHandler(Incoming.NavigatorRemoveCollapsedCategoryEvent, NavigatorRemoveCollapsedCategoryEvent.class); this.registerHandler(Incoming.navigatorRemoveCollapsedCategoryEvent, NavigatorRemoveCollapsedCategoryEvent.class);
this.registerHandler(Incoming.NavigatorAddSavedSearchEvent, NavigatorAddSavedSearchEvent.class); this.registerHandler(Incoming.navigatorAddSavedSearchEvent, NavigatorAddSavedSearchEvent.class);
this.registerHandler(Incoming.NavigatorDeleteSavedSearchEvent, NavigatorDeleteSavedSearchEvent.class); this.registerHandler(Incoming.navigatorDeleteSavedSearchEvent, NavigatorDeleteSavedSearchEvent.class);
} }
private void registerHotelview() throws Exception { private void registerHotelview() throws Exception {
this.registerHandler(Incoming.QuitEvent, QuitEvent.class); this.registerHandler(Incoming.quitEvent, QuitEvent.class);
this.registerHandler(Incoming.GetBonusRareInfoEvent, GetBonusRareInfoEvent.class); this.registerHandler(Incoming.getBonusRareInfoEvent, GetBonusRareInfoEvent.class);
this.registerHandler(Incoming.GetPromoArticlesEvent, GetPromoArticlesEvent.class); this.registerHandler(Incoming.getPromoArticlesEvent, GetPromoArticlesEvent.class);
this.registerHandler(Incoming.GetCurrentTimingCodeEvent, GetCurrentTimingCodeEvent.class); this.registerHandler(Incoming.getCurrentTimingCodeEvent, GetCurrentTimingCodeEvent.class);
this.registerHandler(Incoming.HotelViewRequestBadgeRewardEvent, HotelViewRequestBadgeRewardEvent.class); this.registerHandler(Incoming.hotelViewRequestBadgeRewardEvent, HotelViewRequestBadgeRewardEvent.class);
this.registerHandler(Incoming.HotelViewClaimBadgeRewardEvent, HotelViewClaimBadgeRewardEvent.class); this.registerHandler(Incoming.hotelViewClaimBadgeRewardEvent, HotelViewClaimBadgeRewardEvent.class);
this.registerHandler(Incoming.GetLimitedOfferAppearingNextEvent, GetLimitedOfferAppearingNextEvent.class); this.registerHandler(Incoming.getLimitedOfferAppearingNextEvent, GetLimitedOfferAppearingNextEvent.class);
this.registerHandler(Incoming.HotelViewRequestSecondsUntilEvent, HotelViewRequestSecondsUntilEvent.class); this.registerHandler(Incoming.hotelViewRequestSecondsUntilEvent, HotelViewRequestSecondsUntilEvent.class);
} }
private void registerInventory() throws Exception { private void registerInventory() throws Exception {
this.registerHandler(Incoming.GetBadgesEvent, GetBadgesEvent.class); this.registerHandler(Incoming.getBadgesEvent, GetBadgesEvent.class);
this.registerHandler(Incoming.GetBotInventoryEvent, GetBotInventoryEvent.class); this.registerHandler(Incoming.getBotInventoryEvent, GetBotInventoryEvent.class);
this.registerHandler(Incoming.RequestFurniInventoryEvent, RequestFurniInventoryWhenNotInRoomEvent.class); this.registerHandler(Incoming.requestFurniInventoryEvent, RequestFurniInventoryWhenNotInRoomEvent.class);
this.registerHandler(Incoming.RequestFurniInventoryWhenNotInRoomEvent, RequestFurniInventoryWhenNotInRoomEvent.class); this.registerHandler(Incoming.requestFurniInventoryWhenNotInRoomEvent, RequestFurniInventoryWhenNotInRoomEvent.class);
this.registerHandler(Incoming.GetPetInventoryEvent, GetPetInventoryEvent.class); this.registerHandler(Incoming.getPetInventoryEvent, GetPetInventoryEvent.class);
} }
void registerRooms() throws Exception { void registerRooms() throws Exception {
this.registerHandler(Incoming.OpenFlatConnectionEvent, OpenFlatConnectionEvent.class); this.registerHandler(Incoming.openFlatConnectionEvent, OpenFlatConnectionEvent.class);
this.registerHandler(Incoming.GetFurnitureAliasesEvent, GetRoomEntryDataEvent.class);// should this be seperate event classes? this.registerHandler(Incoming.getFurnitureAliasesEvent, GetRoomEntryDataEvent.class);// should this be seperate event classes?
this.registerHandler(Incoming.GetRoomEntryDataEvent, GetRoomEntryDataEvent.class);// should this be seperate event classes? this.registerHandler(Incoming.getRoomEntryDataEvent, GetRoomEntryDataEvent.class);// should this be seperate event classes?
this.registerHandler(Incoming.RateFlatEvent, RateFlatEvent.class); this.registerHandler(Incoming.rateFlatEvent, RateFlatEvent.class);
this.registerHandler(Incoming.GetGuestRoomEvent, GetGuestRoomEvent.class); this.registerHandler(Incoming.getGuestRoomEvent, GetGuestRoomEvent.class);
this.registerHandler(Incoming.SaveRoomSettingsEvent, SaveRoomSettingsEvent.class); this.registerHandler(Incoming.saveRoomSettingsEvent, SaveRoomSettingsEvent.class);
this.registerHandler(Incoming.PlaceObjectEvent, PlaceObjectEvent.class); this.registerHandler(Incoming.placeObjectEvent, PlaceObjectEvent.class);
this.registerHandler(Incoming.MoveObjectEvent, MoveObjectEvent.class); this.registerHandler(Incoming.moveObjectEvent, MoveObjectEvent.class);
this.registerHandler(Incoming.MoveWallItemEvent, MoveWallItemEvent.class); this.registerHandler(Incoming.moveWallItemEvent, MoveWallItemEvent.class);
this.registerHandler(Incoming.PickupObjectEvent, PickupObjectEvent.class); this.registerHandler(Incoming.pickupObjectEvent, PickupObjectEvent.class);
this.registerHandler(Incoming.RequestRoomPropertySet, RequestRoomPropertySet.class); this.registerHandler(Incoming.requestRoomPropertySet, RequestRoomPropertySet.class);
this.registerHandler(Incoming.StartTypingEvent, StartTypingEvent.class); this.registerHandler(Incoming.startTypingEvent, StartTypingEvent.class);
this.registerHandler(Incoming.CancelTypingEvent, CancelTypingEvent.class); this.registerHandler(Incoming.cancelTypingEvent, CancelTypingEvent.class);
this.registerHandler(Incoming.UseFurnitureEvent, UseFurnitureEvent.class); this.registerHandler(Incoming.useFurnitureEvent, UseFurnitureEvent.class);
this.registerHandler(Incoming.UseWallItemEvent, UseWallItemEvent.class); this.registerHandler(Incoming.useWallItemEvent, UseWallItemEvent.class);
this.registerHandler(Incoming.SetRoomBackgroundColorDataEvent, SetRoomBackgroundColorDataEvent.class); this.registerHandler(Incoming.setRoomBackgroundColorDataEvent, SetRoomBackgroundColorDataEvent.class);
this.registerHandler(Incoming.SetMannequinNameEvent, SetMannequinNameEvent.class); this.registerHandler(Incoming.setMannequinNameEvent, SetMannequinNameEvent.class);
this.registerHandler(Incoming.SetMannequinFigureEvent, SetMannequinFigureEvent.class); this.registerHandler(Incoming.setMannequinFigureEvent, SetMannequinFigureEvent.class);
this.registerHandler(Incoming.SetClothingChangeDataEvent, SetClothingChangeDataEvent.class); this.registerHandler(Incoming.setClothingChangeDataEvent, SetClothingChangeDataEvent.class);
this.registerHandler(Incoming.SetObjectDataEvent, SetObjectDataEvent.class); this.registerHandler(Incoming.setObjectDataEvent, SetObjectDataEvent.class);
this.registerHandler(Incoming.GetRoomSettingsEvent, GetRoomSettingsEvent.class); this.registerHandler(Incoming.getRoomSettingsEvent, GetRoomSettingsEvent.class);
this.registerHandler(Incoming.RoomDimmerGetPresetsEvent, RoomDimmerGetPresetsEvent.class); this.registerHandler(Incoming.roomDimmerGetPresetsEvent, RoomDimmerGetPresetsEvent.class);
this.registerHandler(Incoming.RoomDimmerChangeStateEvent, RoomDimmerChangeStateEvent.class); this.registerHandler(Incoming.roomDimmerChangeStateEvent, RoomDimmerChangeStateEvent.class);
this.registerHandler(Incoming.DropCarryItemEvent, DropCarryItemEvent.class); this.registerHandler(Incoming.dropCarryItemEvent, DropCarryItemEvent.class);
this.registerHandler(Incoming.LookToEvent, LookToEvent.class); this.registerHandler(Incoming.lookToEvent, LookToEvent.class);
this.registerHandler(Incoming.ChatEvent, ChatEvent.class); this.registerHandler(Incoming.chatEvent, ChatEvent.class);
this.registerHandler(Incoming.ShoutEvent, ShoutEvent.class); this.registerHandler(Incoming.shoutEvent, ShoutEvent.class);
this.registerHandler(Incoming.WhisperEvent, WhisperEvent.class); this.registerHandler(Incoming.whisperEvent, WhisperEvent.class);
this.registerHandler(Incoming.AvatarExpressionEvent, AvatarExpressionEvent.class); this.registerHandler(Incoming.avatarExpressionEvent, AvatarExpressionEvent.class);
this.registerHandler(Incoming.ChangePostureEvent, ChangePostureEvent.class); this.registerHandler(Incoming.changePostureEvent, ChangePostureEvent.class);
this.registerHandler(Incoming.DanceEvent, DanceEvent.class); this.registerHandler(Incoming.danceEvent, DanceEvent.class);
this.registerHandler(Incoming.SignEvent, SignEvent.class); this.registerHandler(Incoming.signEvent, SignEvent.class);
this.registerHandler(Incoming.MoveAvatarEvent, MoveAvatarEvent.class); this.registerHandler(Incoming.moveAvatarEvent, MoveAvatarEvent.class);
this.registerHandler(Incoming.RespectUserEvent, RespectUserEvent.class); this.registerHandler(Incoming.respectUserEvent, RespectUserEvent.class);
this.registerHandler(Incoming.AssignRightsEvent, AssignRightsEvent.class); this.registerHandler(Incoming.assignRightsEvent, AssignRightsEvent.class);
this.registerHandler(Incoming.RemoveOwnRoomRightsRoomEvent, RemoveOwnRoomRightsRoomEvent.class); this.registerHandler(Incoming.removeOwnRoomRightsRoomEvent, RemoveOwnRoomRightsRoomEvent.class);
this.registerHandler(Incoming.GetFlatControllersEvent, GetFlatControllersEvent.class); this.registerHandler(Incoming.getFlatControllersEvent, GetFlatControllersEvent.class);
this.registerHandler(Incoming.RemoveAllRightsEvent, RemoveAllRightsEvent.class); this.registerHandler(Incoming.removeAllRightsEvent, RemoveAllRightsEvent.class);
this.registerHandler(Incoming.RemoveRightsEvent, RemoveRightsEvent.class); this.registerHandler(Incoming.removeRightsEvent, RemoveRightsEvent.class);
this.registerHandler(Incoming.PlaceBotEvent, PlaceBotEvent.class); this.registerHandler(Incoming.placeBotEvent, PlaceBotEvent.class);
this.registerHandler(Incoming.RemoveBotFromFlatEvent, RemoveBotFromFlatEvent.class); this.registerHandler(Incoming.removeBotFromFlatEvent, RemoveBotFromFlatEvent.class);
this.registerHandler(Incoming.CommandBotEvent, CommandBotEvent.class); this.registerHandler(Incoming.commandBotEvent, CommandBotEvent.class);
this.registerHandler(Incoming.GetBotCommandConfigurationDataEvent, GetBotCommandConfigurationDataEvent.class); this.registerHandler(Incoming.getBotCommandConfigurationDataEvent, GetBotCommandConfigurationDataEvent.class);
this.registerHandler(Incoming.ThrowDiceEvent, ThrowDiceEvent.class); this.registerHandler(Incoming.throwDiceEvent, ThrowDiceEvent.class);
this.registerHandler(Incoming.DiceOffEvent, DiceOffEvent.class); this.registerHandler(Incoming.diceOffEvent, DiceOffEvent.class);
this.registerHandler(Incoming.SpinWheelOfFortuneEvent, SpinWheelOfFortuneEvent.class); this.registerHandler(Incoming.spinWheelOfFortuneEvent, SpinWheelOfFortuneEvent.class);
this.registerHandler(Incoming.CreditFurniRedeemEvent, CreditFurniRedeemEvent.class); this.registerHandler(Incoming.creditFurniRedeemEvent, CreditFurniRedeemEvent.class);
this.registerHandler(Incoming.PlacePetEvent, PlacePetEvent.class); this.registerHandler(Incoming.placePetEvent, PlacePetEvent.class);
this.registerHandler(Incoming.RoomUserKickEvent, RoomUserKickEvent.class); this.registerHandler(Incoming.roomUserKickEvent, RoomUserKickEvent.class);
this.registerHandler(Incoming.SetCustomStackingHeightEvent, SetCustomStackingHeightEvent.class); this.registerHandler(Incoming.setCustomStackingHeightEvent, SetCustomStackingHeightEvent.class);
this.registerHandler(Incoming.EnterOneWayDoorEvent, EnterOneWayDoorEvent.class); this.registerHandler(Incoming.enterOneWayDoorEvent, EnterOneWayDoorEvent.class);
this.registerHandler(Incoming.LetUserInEvent, LetUserInEvent.class); this.registerHandler(Incoming.letUserInEvent, LetUserInEvent.class);
this.registerHandler(Incoming.CustomizeAvatarWithFurniEvent, CustomizeAvatarWithFurniEvent.class); this.registerHandler(Incoming.customizeAvatarWithFurniEvent, CustomizeAvatarWithFurniEvent.class);
this.registerHandler(Incoming.PlacePostItEvent, PlacePostItEvent.class); this.registerHandler(Incoming.placePostItEvent, PlacePostItEvent.class);
this.registerHandler(Incoming.GetItemDataEvent, GetItemDataEvent.class); this.registerHandler(Incoming.getItemDataEvent, GetItemDataEvent.class);
this.registerHandler(Incoming.SetItemDataEvent, SetItemDataEvent.class); this.registerHandler(Incoming.setItemDataEvent, SetItemDataEvent.class);
this.registerHandler(Incoming.RemoveItemEvent, RemoveItemEvent.class); this.registerHandler(Incoming.removeItemEvent, RemoveItemEvent.class);
this.registerHandler(Incoming.RoomDimmerSavePresetEvent, RoomDimmerSavePresetEvent.class); this.registerHandler(Incoming.roomDimmerSavePresetEvent, RoomDimmerSavePresetEvent.class);
this.registerHandler(Incoming.RentableSpaceRentEvent, RentableSpaceRentEvent.class); this.registerHandler(Incoming.rentableSpaceRentEvent, RentableSpaceRentEvent.class);
this.registerHandler(Incoming.RentableSpaceCancelRentEvent, RentableSpaceCancelRentEvent.class); this.registerHandler(Incoming.rentableSpaceCancelRentEvent, RentableSpaceCancelRentEvent.class);
this.registerHandler(Incoming.UpdateHomeRoomEvent, UpdateHomeRoomEvent.class); this.registerHandler(Incoming.updateHomeRoomEvent, UpdateHomeRoomEvent.class);
this.registerHandler(Incoming.PassCarryItemEvent, PassCarryItemEvent.class); this.registerHandler(Incoming.passCarryItemEvent, PassCarryItemEvent.class);
this.registerHandler(Incoming.MuteAllInRoomEvent, MuteAllInRoomEvent.class); this.registerHandler(Incoming.muteAllInRoomEvent, MuteAllInRoomEvent.class);
this.registerHandler(Incoming.GetCustomRoomFilterEvent, GetCustomRoomFilterEvent.class); this.registerHandler(Incoming.getCustomRoomFilterEvent, GetCustomRoomFilterEvent.class);
this.registerHandler(Incoming.UpdateRoomFilterEvent, UpdateRoomFilterEvent.class); this.registerHandler(Incoming.updateRoomFilterEvent, UpdateRoomFilterEvent.class);
this.registerHandler(Incoming.SubmitRoomToCompetitionEvent, SubmitRoomToCompetitionEvent.class); this.registerHandler(Incoming.submitRoomToCompetitionEvent, SubmitRoomToCompetitionEvent.class);
this.registerHandler(Incoming.GetBannedUsersFromRoomEvent, GetBannedUsersFromRoomEvent.class); this.registerHandler(Incoming.getBannedUsersFromRoomEvent, GetBannedUsersFromRoomEvent.class);
this.registerHandler(Incoming.GetOfficialSongIdEvent, GetOfficialSongIdEvent.class); this.registerHandler(Incoming.getOfficialSongIdEvent, GetOfficialSongIdEvent.class);
this.registerHandler(Incoming.GetSongInfoEvent, GetSongInfoEvent.class); this.registerHandler(Incoming.getSongInfoEvent, GetSongInfoEvent.class);
this.registerHandler(Incoming.AddJukeboxDiskEvent, AddJukeboxDiskEvent.class); this.registerHandler(Incoming.addJukeboxDiskEvent, AddJukeboxDiskEvent.class);
this.registerHandler(Incoming.RemoveJukeboxDiskEvent, RemoveJukeboxDiskEvent.class); this.registerHandler(Incoming.removeJukeboxDiskEvent, RemoveJukeboxDiskEvent.class);
this.registerHandler(Incoming.GetNowPlayingEvent, GetNowPlayingEvent.class); this.registerHandler(Incoming.getNowPlayingEvent, GetNowPlayingEvent.class);
this.registerHandler(Incoming.JukeBoxEventOne, JukeBoxEventOne.class); // this doesnt even exist in the swf src for this prod. this.registerHandler(Incoming.jukeBoxEventOne, JukeBoxEventOne.class); // this doesnt even exist in the swf src for this prod.
this.registerHandler(Incoming.GetJukeboxPlayListEvent, GetJukeboxPlayListEvent.class); this.registerHandler(Incoming.getJukeboxPlayListEvent, GetJukeboxPlayListEvent.class);
this.registerHandler(Incoming.AddSpamWallPostItEvent, AddSpamWallPostItEvent.class); this.registerHandler(Incoming.addSpamWallPostItEvent, AddSpamWallPostItEvent.class);
this.registerHandler(Incoming.GetRoomAdPurchaseInfoEvent, GetRoomAdPurchaseInfoEvent.class); this.registerHandler(Incoming.getRoomAdPurchaseInfoEvent, GetRoomAdPurchaseInfoEvent.class);
this.registerHandler(Incoming.PurchaseRoomAdEvent, PurchaseRoomAdEvent.class); this.registerHandler(Incoming.purchaseRoomAdEvent, PurchaseRoomAdEvent.class);
this.registerHandler(Incoming.EditEventEvent, EditEventEvent.class); this.registerHandler(Incoming.editEventEvent, EditEventEvent.class);
this.registerHandler(Incoming.IgnoreUserEvent, IgnoreUserEvent.class); this.registerHandler(Incoming.ignoreUserEvent, IgnoreUserEvent.class);
this.registerHandler(Incoming.UnignoreUserEvent, UnignoreUserEvent.class); this.registerHandler(Incoming.unignoreUserEvent, UnignoreUserEvent.class);
this.registerHandler(Incoming.RoomUserMuteEvent, RoomUserMuteEvent.class); this.registerHandler(Incoming.roomUserMuteEvent, RoomUserMuteEvent.class);
this.registerHandler(Incoming.BanUserWithDurationEvent, BanUserWithDurationEvent.class); this.registerHandler(Incoming.banUserWithDurationEvent, BanUserWithDurationEvent.class);
this.registerHandler(Incoming.UnbanUserFromRoomEvent, UnbanUserFromRoomEvent.class); this.registerHandler(Incoming.unbanUserFromRoomEvent, UnbanUserFromRoomEvent.class);
this.registerHandler(Incoming.GetUserTagsEvent, GetUserTagsEvent.class); this.registerHandler(Incoming.getUserTagsEvent, GetUserTagsEvent.class);
this.registerHandler(Incoming.GetYoutubeDisplayStatusEvent, GetYoutubeDisplayStatusEvent.class); this.registerHandler(Incoming.getYoutubeDisplayStatusEvent, GetYoutubeDisplayStatusEvent.class);
this.registerHandler(Incoming.ControlYoutubeDisplayPlaybackEvent, ControlYoutubeDisplayPlaybackEvent.class); this.registerHandler(Incoming.controlYoutubeDisplayPlaybackEvent, ControlYoutubeDisplayPlaybackEvent.class);
this.registerHandler(Incoming.SetYoutubeDisplayPlaylistEvent, SetYoutubeDisplayPlaylistEvent.class); this.registerHandler(Incoming.setYoutubeDisplayPlaylistEvent, SetYoutubeDisplayPlaylistEvent.class);
this.registerHandler(Incoming.AddFavouriteRoomEvent, AddFavouriteRoomEvent.class); this.registerHandler(Incoming.addFavouriteRoomEvent, AddFavouriteRoomEvent.class);
this.registerHandler(Incoming.FriendFurniConfirmLockEvent, FriendFurniConfirmLockEvent.class); this.registerHandler(Incoming.friendFurniConfirmLockEvent, FriendFurniConfirmLockEvent.class);
this.registerHandler(Incoming.DeleteFavouriteRoomEvent, DeleteFavouriteRoomEvent.class); this.registerHandler(Incoming.deleteFavouriteRoomEvent, DeleteFavouriteRoomEvent.class);
this.registerHandler(Incoming.SetRandomStateEvent, SetRandomStateEvent.class); this.registerHandler(Incoming.setRandomStateEvent, SetRandomStateEvent.class);
} }
void registerPolls() throws Exception { void registerPolls() throws Exception {
this.registerHandler(Incoming.PollRejectEvent, PollRejectEvent.class); this.registerHandler(Incoming.pollRejectEvent, PollRejectEvent.class);
this.registerHandler(Incoming.PollStartEvent, PollStartEvent.class); this.registerHandler(Incoming.pollStartEvent, PollStartEvent.class);
this.registerHandler(Incoming.AnswerPollEvent, AnswerPollEvent.class); this.registerHandler(Incoming.answerPollEvent, AnswerPollEvent.class);
} }
void registerModTool() throws Exception { void registerModTool() throws Exception {
this.registerHandler(Incoming.GetModeratorRoomInfoEvent, GetModeratorRoomInfoEvent.class); this.registerHandler(Incoming.getModeratorRoomInfoEvent, GetModeratorRoomInfoEvent.class);
this.registerHandler(Incoming.GetRoomChatlogEvent, GetRoomChatlogEvent.class); this.registerHandler(Incoming.getRoomChatlogEvent, GetRoomChatlogEvent.class);
this.registerHandler(Incoming.GetModeratorUserInfoEvent, GetModeratorUserInfoEvent.class); this.registerHandler(Incoming.getModeratorUserInfoEvent, GetModeratorUserInfoEvent.class);
this.registerHandler(Incoming.PickIssuesEvent, PickIssuesEvent.class); this.registerHandler(Incoming.pickIssuesEvent, PickIssuesEvent.class);
this.registerHandler(Incoming.CloseIssuesEvent, CloseIssuesEvent.class); this.registerHandler(Incoming.closeIssuesEvent, CloseIssuesEvent.class);
this.registerHandler(Incoming.ReleaseIssuesEvent, ReleaseIssuesEvent.class); this.registerHandler(Incoming.releaseIssuesEvent, ReleaseIssuesEvent.class);
this.registerHandler(Incoming.ModMessageEvent, ModMessageEvent.class); this.registerHandler(Incoming.modMessageEvent, ModMessageEvent.class);
this.registerHandler(Incoming.ModToolWarnEvent, ModToolWarnEvent.class); this.registerHandler(Incoming.modToolWarnEvent, ModToolWarnEvent.class);
this.registerHandler(Incoming.ModKickEvent, ModKickEvent.class); this.registerHandler(Incoming.modKickEvent, ModKickEvent.class);
this.registerHandler(Incoming.ModeratorActionEvent, ModeratorActionEvent.class); this.registerHandler(Incoming.moderatorActionEvent, ModeratorActionEvent.class);
this.registerHandler(Incoming.ModerateRoomEvent, ModerateRoomEvent.class); this.registerHandler(Incoming.moderateRoomEvent, ModerateRoomEvent.class);
this.registerHandler(Incoming.GetRoomVisitsEvent, GetRoomVisitsEvent.class); this.registerHandler(Incoming.getRoomVisitsEvent, GetRoomVisitsEvent.class);
this.registerHandler(Incoming.GetCfhChatlogEvent, GetCfhChatlogEvent.class); this.registerHandler(Incoming.getCfhChatlogEvent, GetCfhChatlogEvent.class);
this.registerHandler(Incoming.ModToolRequestRoomUserChatlogEvent, ModToolRequestRoomUserChatlogEvent.class); this.registerHandler(Incoming.modToolRequestRoomUserChatlogEvent, ModToolRequestRoomUserChatlogEvent.class);
this.registerHandler(Incoming.GetUserChatlogEvent, GetUserChatlogEvent.class); this.registerHandler(Incoming.getUserChatlogEvent, GetUserChatlogEvent.class);
this.registerHandler(Incoming.ModAlertEvent, ModAlertEvent.class); this.registerHandler(Incoming.modAlertEvent, ModAlertEvent.class);
this.registerHandler(Incoming.ModMuteEvent, ModMuteEvent.class); this.registerHandler(Incoming.modMuteEvent, ModMuteEvent.class);
this.registerHandler(Incoming.ModBanEvent, ModBanEvent.class); this.registerHandler(Incoming.modBanEvent, ModBanEvent.class);
this.registerHandler(Incoming.ModTradingLockEvent, ModTradingLockEvent.class); this.registerHandler(Incoming.modTradingLockEvent, ModTradingLockEvent.class);
this.registerHandler(Incoming.ModToolSanctionEvent, ModToolSanctionEvent.class); this.registerHandler(Incoming.modToolSanctionEvent, ModToolSanctionEvent.class);
this.registerHandler(Incoming.CloseIssueDefaultActionEvent, CloseIssueDefaultActionEvent.class); this.registerHandler(Incoming.closeIssueDefaultActionEvent, CloseIssueDefaultActionEvent.class);
this.registerHandler(Incoming.GetPendingCallsForHelpEvent, GetPendingCallsForHelpEvent.class); this.registerHandler(Incoming.getPendingCallsForHelpEvent, GetPendingCallsForHelpEvent.class);
this.registerHandler(Incoming.GetGuideReportingStatusEvent, GetGuideReportingStatusEvent.class); this.registerHandler(Incoming.getGuideReportingStatusEvent, GetGuideReportingStatusEvent.class);
this.registerHandler(Incoming.ChatReviewSessionCreateEvent, ChatReviewSessionCreateEvent.class); this.registerHandler(Incoming.chatReviewSessionCreateEvent, ChatReviewSessionCreateEvent.class);
this.registerHandler(Incoming.CallForHelpEvent, CallForHelpEvent.class); this.registerHandler(Incoming.callForHelpEvent, CallForHelpEvent.class);
this.registerHandler(Incoming.CallForHelpFromIMEvent, CallForHelpFromIMEvent.class); this.registerHandler(Incoming.callForHelpFromIMEvent, CallForHelpFromIMEvent.class);
this.registerHandler(Incoming.CallForHelpFromForumThreadEvent, CallForHelpFromForumThreadEvent.class); this.registerHandler(Incoming.callForHelpFromForumThreadEvent, CallForHelpFromForumThreadEvent.class);
this.registerHandler(Incoming.CallForHelpFromForumMessageEvent, CallForHelpFromForumMessageEvent.class); this.registerHandler(Incoming.callForHelpFromForumMessageEvent, CallForHelpFromForumMessageEvent.class);
this.registerHandler(Incoming.CallForHelpFromPhotoEvent, CallForHelpFromPhotoEvent.class); this.registerHandler(Incoming.callForHelpFromPhotoEvent, CallForHelpFromPhotoEvent.class);
} }
void registerTrading() throws Exception { void registerTrading() throws Exception {
this.registerHandler(Incoming.OpenTradingEvent, OpenTradingEvent.class); this.registerHandler(Incoming.openTradingEvent, OpenTradingEvent.class);
this.registerHandler(Incoming.AddItemToTradeEvent, AddItemToTradeEvent.class); this.registerHandler(Incoming.addItemToTradeEvent, AddItemToTradeEvent.class);
this.registerHandler(Incoming.AddItemsToTradeEvent, AddItemsToTradeEvent.class); this.registerHandler(Incoming.addItemsToTradeEvent, AddItemsToTradeEvent.class);
this.registerHandler(Incoming.RemoveItemFromTradeEvent, RemoveItemFromTradeEvent.class); this.registerHandler(Incoming.removeItemFromTradeEvent, RemoveItemFromTradeEvent.class);
this.registerHandler(Incoming.AcceptTradingEvent, AcceptTradingEvent.class); this.registerHandler(Incoming.acceptTradingEvent, AcceptTradingEvent.class);
this.registerHandler(Incoming.UnacceptTradingEvent, UnacceptTradingEvent.class); this.registerHandler(Incoming.unacceptTradingEvent, UnacceptTradingEvent.class);
this.registerHandler(Incoming.ConfirmAcceptTradingEvent, ConfirmAcceptTradingEvent.class); this.registerHandler(Incoming.confirmAcceptTradingEvent, ConfirmAcceptTradingEvent.class);
this.registerHandler(Incoming.CloseTradingEvent, CloseTradingEvent.class); this.registerHandler(Incoming.closeTradingEvent, CloseTradingEvent.class);
this.registerHandler(Incoming.ConfirmDeclineTradingEvent, ConfirmDeclineTradingEvent.class); this.registerHandler(Incoming.confirmDeclineTradingEvent, ConfirmDeclineTradingEvent.class);
} }
void registerGuilds() throws Exception { void registerGuilds() throws Exception {
this.registerHandler(Incoming.GetGuildCreationInfoEvent, GetGuildCreationInfoEvent.class); this.registerHandler(Incoming.getGuildCreationInfoEvent, GetGuildCreationInfoEvent.class);
this.registerHandler(Incoming.GetGuildEditorDataEvent, GetGuildEditorDataEvent.class); this.registerHandler(Incoming.getGuildEditorDataEvent, GetGuildEditorDataEvent.class);
this.registerHandler(Incoming.CreateGuildEvent, CreateGuildEvent.class); this.registerHandler(Incoming.createGuildEvent, CreateGuildEvent.class);
this.registerHandler(Incoming.GetHabboGroupDetailsEvent, GetHabboGroupDetailsEvent.class); this.registerHandler(Incoming.getHabboGroupDetailsEvent, GetHabboGroupDetailsEvent.class);
this.registerHandler(Incoming.GetGuildEditInfoEvent, GetGuildEditInfoEvent.class); this.registerHandler(Incoming.getGuildEditInfoEvent, GetGuildEditInfoEvent.class);
this.registerHandler(Incoming.GetGuildMembersEvent, GetGuildMembersEvent.class); this.registerHandler(Incoming.getGuildMembersEvent, GetGuildMembersEvent.class);
this.registerHandler(Incoming.JoinHabboGroupEvent, JoinHabboGroupEvent.class); this.registerHandler(Incoming.joinHabboGroupEvent, JoinHabboGroupEvent.class);
this.registerHandler(Incoming.UpdateGuildIdentityEvent, UpdateGuildIdentityEvent.class); this.registerHandler(Incoming.updateGuildIdentityEvent, UpdateGuildIdentityEvent.class);
this.registerHandler(Incoming.UpdateGuildBadgeEvent, UpdateGuildBadgeEvent.class); this.registerHandler(Incoming.updateGuildBadgeEvent, UpdateGuildBadgeEvent.class);
this.registerHandler(Incoming.UpdateGuildColorsEvent, UpdateGuildColorsEvent.class); this.registerHandler(Incoming.updateGuildColorsEvent, UpdateGuildColorsEvent.class);
this.registerHandler(Incoming.RemoveAdminRightsFromMemberEvent, RemoveAdminRightsFromMemberEvent.class); this.registerHandler(Incoming.removeAdminRightsFromMemberEvent, RemoveAdminRightsFromMemberEvent.class);
this.registerHandler(Incoming.KickMemberEvent, KickMemberEvent.class); this.registerHandler(Incoming.kickMemberEvent, KickMemberEvent.class);
this.registerHandler(Incoming.UpdateGuildSettingsEvent, UpdateGuildSettingsEvent.class); this.registerHandler(Incoming.updateGuildSettingsEvent, UpdateGuildSettingsEvent.class);
this.registerHandler(Incoming.ApproveMembershipRequestEvent, ApproveMembershipRequestEvent.class); this.registerHandler(Incoming.approveMembershipRequestEvent, ApproveMembershipRequestEvent.class);
this.registerHandler(Incoming.RejectMembershipRequestEvent, RejectMembershipRequestEvent.class); this.registerHandler(Incoming.rejectMembershipRequestEvent, RejectMembershipRequestEvent.class);
this.registerHandler(Incoming.AddAdminRightsToMemberEvent, AddAdminRightsToMemberEvent.class); this.registerHandler(Incoming.addAdminRightsToMemberEvent, AddAdminRightsToMemberEvent.class);
this.registerHandler(Incoming.SelectFavouriteHabboGroupEvent, SelectFavouriteHabboGroupEvent.class); this.registerHandler(Incoming.selectFavouriteHabboGroupEvent, SelectFavouriteHabboGroupEvent.class);
this.registerHandler(Incoming.GetGuildMembershipsEvent, GetGuildMembershipsEvent.class); this.registerHandler(Incoming.getGuildMembershipsEvent, GetGuildMembershipsEvent.class);
this.registerHandler(Incoming.GetGuildFurniContextMenuInfoEvent, GetGuildFurniContextMenuInfoEvent.class); this.registerHandler(Incoming.getGuildFurniContextMenuInfoEvent, GetGuildFurniContextMenuInfoEvent.class);
this.registerHandler(Incoming.GetMemberGuildItemCountEvent, GetMemberGuildItemCountEvent.class); this.registerHandler(Incoming.getMemberGuildItemCountEvent, GetMemberGuildItemCountEvent.class);
this.registerHandler(Incoming.DeselectFavouriteHabboGroupEvent, DeselectFavouriteHabboGroupEvent.class); this.registerHandler(Incoming.deselectFavouriteHabboGroupEvent, DeselectFavouriteHabboGroupEvent.class);
this.registerHandler(Incoming.DeactivateGuildEvent, DeactivateGuildEvent.class); this.registerHandler(Incoming.deactivateGuildEvent, DeactivateGuildEvent.class);
this.registerHandler(Incoming.GetForumsListEvent, GetForumsListEvent.class); this.registerHandler(Incoming.getForumsListEvent, GetForumsListEvent.class);
this.registerHandler(Incoming.GetThreadsEvent, GetThreadsEvent.class); this.registerHandler(Incoming.getThreadsEvent, GetThreadsEvent.class);
this.registerHandler(Incoming.GetForumStatsEvent, GetForumStatsEvent.class); this.registerHandler(Incoming.getForumStatsEvent, GetForumStatsEvent.class);
this.registerHandler(Incoming.PostMessageEvent, PostMessageEvent.class); this.registerHandler(Incoming.postMessageEvent, PostMessageEvent.class);
this.registerHandler(Incoming.UpdateForumSettingsEvent, UpdateForumSettingsEvent.class); this.registerHandler(Incoming.updateForumSettingsEvent, UpdateForumSettingsEvent.class);
this.registerHandler(Incoming.GetMessagesEvent, GetMessagesEvent.class); this.registerHandler(Incoming.getMessagesEvent, GetMessagesEvent.class);
this.registerHandler(Incoming.ModerateMessageEvent, ModerateMessageEvent.class); this.registerHandler(Incoming.moderateMessageEvent, ModerateMessageEvent.class);
this.registerHandler(Incoming.ModerateThreadEvent, ModerateThreadEvent.class); this.registerHandler(Incoming.moderateThreadEvent, ModerateThreadEvent.class);
this.registerHandler(Incoming.UpdateThreadEvent, UpdateThreadEvent.class); this.registerHandler(Incoming.updateThreadEvent, UpdateThreadEvent.class);
this.registerHandler(Incoming.GetHabboGroupBadgesEvent, GetHabboGroupBadgesEvent.class); this.registerHandler(Incoming.getHabboGroupBadgesEvent, GetHabboGroupBadgesEvent.class);
// this.registerHandler(Incoming.GuildForumDataEvent, GuildForumModerateMessageEvent.class); // this.registerHandler(Incoming.guildForumDataEvent, GuildForumModerateMessageEvent.class);
// this.registerHandler(Incoming.GuildForumDataEvent, GuildForumModerateThreadEvent.class); // this.registerHandler(Incoming.guildForumDataEvent, GuildForumModerateThreadEvent.class);
// this.registerHandler(Incoming.GuildForumDataEvent, GuildForumPostThreadEvent.class); // this.registerHandler(Incoming.guildForumDataEvent, GuildForumPostThreadEvent.class);
// this.registerHandler(Incoming.GuildForumDataEvent, GuildForumThreadsEvent.class); // this.registerHandler(Incoming.guildForumDataEvent, GuildForumThreadsEvent.class);
// this.registerHandler(Incoming.GuildForumDataEvent, GuildForumThreadsMessagesEvent.class); // this.registerHandler(Incoming.guildForumDataEvent, GuildForumThreadsMessagesEvent.class);
// this.registerHandler(Incoming.GuildForumDataEvent, GuildForumUpdateSettingsEvent.class); // this.registerHandler(Incoming.guildForumDataEvent, GuildForumUpdateSettingsEvent.class);
} }
void registerPets() throws Exception { void registerPets() throws Exception {
this.registerHandler(Incoming.GetPetInfoEvent, GetPetInfoEvent.class); this.registerHandler(Incoming.getPetInfoEvent, GetPetInfoEvent.class);
this.registerHandler(Incoming.RemovePetFromFlatEvent, RemovePetFromFlatEvent.class); this.registerHandler(Incoming.removePetFromFlatEvent, RemovePetFromFlatEvent.class);
this.registerHandler(Incoming.RespectPetEvent, RespectPetEvent.class); this.registerHandler(Incoming.respectPetEvent, RespectPetEvent.class);
this.registerHandler(Incoming.GetPetCommandsEvent, GetPetCommandsEvent.class); this.registerHandler(Incoming.getPetCommandsEvent, GetPetCommandsEvent.class);
this.registerHandler(Incoming.CustomizePetWithFurniEvent, CustomizePetWithFurniEvent.class); this.registerHandler(Incoming.customizePetWithFurniEvent, CustomizePetWithFurniEvent.class);
this.registerHandler(Incoming.TogglePetRidingPermissionEvent, TogglePetRidingPermissionEvent.class); this.registerHandler(Incoming.togglePetRidingPermissionEvent, TogglePetRidingPermissionEvent.class);
this.registerHandler(Incoming.MountPetEvent, MountPetEvent.class); this.registerHandler(Incoming.mountPetEvent, MountPetEvent.class);
this.registerHandler(Incoming.RemoveSaddleFromPetEvent, RemoveSaddleFromPetEvent.class); this.registerHandler(Incoming.removeSaddleFromPetEvent, RemoveSaddleFromPetEvent.class);
this.registerHandler(Incoming.TogglePetBreedingPermissionEvent, TogglePetBreedingPermissionEvent.class); this.registerHandler(Incoming.togglePetBreedingPermissionEvent, TogglePetBreedingPermissionEvent.class);
this.registerHandler(Incoming.CompostPlantEvent, CompostPlantEvent.class); this.registerHandler(Incoming.compostPlantEvent, CompostPlantEvent.class);
this.registerHandler(Incoming.BreedPetsEvent, BreedPetsEvent.class); this.registerHandler(Incoming.breedPetsEvent, BreedPetsEvent.class);
this.registerHandler(Incoming.MovePetEvent, MovePetEvent.class); this.registerHandler(Incoming.movePetEvent, MovePetEvent.class);
this.registerHandler(Incoming.OpenPetPackageEvent, OpenPetPackageEvent.class); this.registerHandler(Incoming.openPetPackageEvent, OpenPetPackageEvent.class);
this.registerHandler(Incoming.CancelPetBreedingEvent, CancelPetBreedingEvent.class); this.registerHandler(Incoming.cancelPetBreedingEvent, CancelPetBreedingEvent.class);
this.registerHandler(Incoming.ConfirmPetBreedingEvent, ConfirmPetBreedingEvent.class); this.registerHandler(Incoming.confirmPetBreedingEvent, ConfirmPetBreedingEvent.class);
} }
void registerWired() throws Exception { void registerWired() throws Exception {
this.registerHandler(Incoming.UpdateTriggerEvent, UpdateTriggerEvent.class); this.registerHandler(Incoming.updateTriggerEvent, UpdateTriggerEvent.class);
this.registerHandler(Incoming.UpdateActionEvent, UpdateActionEvent.class); this.registerHandler(Incoming.updateActionEvent, UpdateActionEvent.class);
this.registerHandler(Incoming.UpdateConditionEvent, UpdateConditionEvent.class); this.registerHandler(Incoming.updateConditionEvent, UpdateConditionEvent.class);
this.registerHandler(Incoming.ApplySnapshotEvent, ApplySnapshotEvent.class); this.registerHandler(Incoming.applySnapshotEvent, ApplySnapshotEvent.class);
} }
void registerUnknown() throws Exception { void registerUnknown() throws Exception {
this.registerHandler(Incoming.GetResolutionAchievementsEvent, GetResolutionAchievementsEvent.class); this.registerHandler(Incoming.getResolutionAchievementsEvent, GetResolutionAchievementsEvent.class);
this.registerHandler(Incoming.GetTalentTrackEvent, GetTalentTrackEvent.class); this.registerHandler(Incoming.getTalentTrackEvent, GetTalentTrackEvent.class);
this.registerHandler(Incoming.GetBadgePointLimitsEvent, GetBadgePointLimitsEvent.class); this.registerHandler(Incoming.getBadgePointLimitsEvent, GetBadgePointLimitsEvent.class);
this.registerHandler(Incoming.GetCfhStatusEvent, GetCfhStatusEvent.class); this.registerHandler(Incoming.getCfhStatusEvent, GetCfhStatusEvent.class);
} }
void registerFloorPlanEditor() throws Exception { void registerFloorPlanEditor() throws Exception {
this.registerHandler(Incoming.UpdateFloorPropertiesEvent, UpdateFloorPropertiesEvent.class); this.registerHandler(Incoming.updateFloorPropertiesEvent, UpdateFloorPropertiesEvent.class);
this.registerHandler(Incoming.GetOccupiedTilesEvent, GetOccupiedTilesEvent.class); this.registerHandler(Incoming.getOccupiedTilesEvent, GetOccupiedTilesEvent.class);
this.registerHandler(Incoming.GetRoomEntryTileEvent, GetRoomEntryTileEvent.class); this.registerHandler(Incoming.getRoomEntryTileEvent, GetRoomEntryTileEvent.class);
} }
void registerAchievements() throws Exception { void registerAchievements() throws Exception {
this.registerHandler(Incoming.GetAchievementsEvent, GetAchievementsEvent.class); this.registerHandler(Incoming.getAchievementsEvent, GetAchievementsEvent.class);
this.registerHandler(Incoming.RequestAchievementConfigurationEvent, RequestAchievementConfigurationEvent.class); this.registerHandler(Incoming.requestAchievementConfigurationEvent, RequestAchievementConfigurationEvent.class);
} }
void registerGuides() throws Exception { void registerGuides() throws Exception {
this.registerHandler(Incoming.GuideSessionOnDutyUpdateEvent, GuideSessionOnDutyUpdateEvent.class); this.registerHandler(Incoming.guideSessionOnDutyUpdateEvent, GuideSessionOnDutyUpdateEvent.class);
this.registerHandler(Incoming.GuideSessionCreateEvent, GuideSessionCreateEvent.class); this.registerHandler(Incoming.guideSessionCreateEvent, GuideSessionCreateEvent.class);
this.registerHandler(Incoming.GuideSessionIsTypingEvent, GuideSessionIsTypingEvent.class); this.registerHandler(Incoming.guideSessionIsTypingEvent, GuideSessionIsTypingEvent.class);
this.registerHandler(Incoming.GuideSessionReportEvent, GuideSessionReportEvent.class); this.registerHandler(Incoming.guideSessionReportEvent, GuideSessionReportEvent.class);
this.registerHandler(Incoming.GuideSessionFeedbackEvent, GuideSessionFeedbackEvent.class); this.registerHandler(Incoming.guideSessionFeedbackEvent, GuideSessionFeedbackEvent.class);
this.registerHandler(Incoming.GuideSessionMessageEvent, GuideSessionMessageEvent.class); this.registerHandler(Incoming.guideSessionMessageEvent, GuideSessionMessageEvent.class);
this.registerHandler(Incoming.GuideSessionRequesterCancelsEvent, GuideSessionRequesterCancelsEvent.class); this.registerHandler(Incoming.guideSessionRequesterCancelsEvent, GuideSessionRequesterCancelsEvent.class);
this.registerHandler(Incoming.GuideSessionGuideDecidesEvent, GuideSessionGuideDecidesEvent.class); this.registerHandler(Incoming.guideSessionGuideDecidesEvent, GuideSessionGuideDecidesEvent.class);
this.registerHandler(Incoming.GuideSessionInviteRequesterEvent, GuideSessionInviteRequesterEvent.class); this.registerHandler(Incoming.guideSessionInviteRequesterEvent, GuideSessionInviteRequesterEvent.class);
this.registerHandler(Incoming.GuideSessionGetRequesterRoomEvent, GuideSessionGetRequesterRoomEvent.class); this.registerHandler(Incoming.guideSessionGetRequesterRoomEvent, GuideSessionGetRequesterRoomEvent.class);
this.registerHandler(Incoming.GuideSessionResolvedEvent, GuideSessionResolvedEvent.class); this.registerHandler(Incoming.guideSessionResolvedEvent, GuideSessionResolvedEvent.class);
this.registerHandler(Incoming.ChatReviewGuideDetachedEvent, ChatReviewGuideDetachedEvent.class); this.registerHandler(Incoming.chatReviewGuideDetachedEvent, ChatReviewGuideDetachedEvent.class);
this.registerHandler(Incoming.ChatReviewGuideDecidesOnOfferEvent, ChatReviewGuideDecidesOnOfferEvent.class); this.registerHandler(Incoming.chatReviewGuideDecidesOnOfferEvent, ChatReviewGuideDecidesOnOfferEvent.class);
this.registerHandler(Incoming.ChatReviewGuideVoteEvent, ChatReviewGuideVoteEvent.class); this.registerHandler(Incoming.chatReviewGuideVoteEvent, ChatReviewGuideVoteEvent.class);
} }
void registerCrafting() throws Exception { void registerCrafting() throws Exception {
this.registerHandler(Incoming.GetCraftingRecipeEvent, GetCraftingRecipeEvent.class); this.registerHandler(Incoming.getCraftingRecipeEvent, GetCraftingRecipeEvent.class);
this.registerHandler(Incoming.GetCraftableProductsEvent, GetCraftableProductsEvent.class); this.registerHandler(Incoming.getCraftableProductsEvent, GetCraftableProductsEvent.class);
this.registerHandler(Incoming.CraftEvent, CraftEvent.class); this.registerHandler(Incoming.craftEvent, CraftEvent.class);
this.registerHandler(Incoming.CraftSecretEvent, CraftSecretEvent.class); this.registerHandler(Incoming.craftSecretEvent, CraftSecretEvent.class);
this.registerHandler(Incoming.GetCraftingRecipesAvailableEvent, GetCraftingRecipesAvailableEvent.class); this.registerHandler(Incoming.getCraftingRecipesAvailableEvent, GetCraftingRecipesAvailableEvent.class);
} }
void registerCamera() throws Exception { void registerCamera() throws Exception {
this.registerHandler(Incoming.RenderRoomEvent, RenderRoomEvent.class); this.registerHandler(Incoming.renderRoomEvent, RenderRoomEvent.class);
this.registerHandler(Incoming.RequestCameraConfigurationEvent, RequestCameraConfigurationEvent.class); this.registerHandler(Incoming.requestCameraConfigurationEvent, RequestCameraConfigurationEvent.class);
this.registerHandler(Incoming.PurchasePhotoEvent, PurchasePhotoEvent.class); this.registerHandler(Incoming.purchasePhotoEvent, PurchasePhotoEvent.class);
this.registerHandler(Incoming.RenderRoomThumbnailEvent, RenderRoomThumbnailEvent.class); this.registerHandler(Incoming.renderRoomThumbnailEvent, RenderRoomThumbnailEvent.class);
this.registerHandler(Incoming.PublishPhotoEvent, PublishPhotoEvent.class); this.registerHandler(Incoming.publishPhotoEvent, PublishPhotoEvent.class);
} }
void registerGameCenter() throws Exception { void registerGameCenter() throws Exception {
this.registerHandler(Incoming.GetGameListEvent, GetGameListEvent.class); this.registerHandler(Incoming.getGameListEvent, GetGameListEvent.class);
this.registerHandler(Incoming.GetGameStatusEvent, GetGameStatusEvent.class); this.registerHandler(Incoming.getGameStatusEvent, GetGameStatusEvent.class);
this.registerHandler(Incoming.JoinQueueEvent, JoinQueueEvent.class); this.registerHandler(Incoming.joinQueueEvent, JoinQueueEvent.class);
this.registerHandler(Incoming.GetWeeklyGameRewardWinnersEvent, GetWeeklyGameRewardWinnersEvent.class); this.registerHandler(Incoming.getWeeklyGameRewardWinnersEvent, GetWeeklyGameRewardWinnersEvent.class);
this.registerHandler(Incoming.GameUnloadedEvent, GameUnloadedEvent.class); this.registerHandler(Incoming.gameUnloadedEvent, GameUnloadedEvent.class);
this.registerHandler(Incoming.GetWeeklyGameRewardEvent, GetWeeklyGameRewardEvent.class); this.registerHandler(Incoming.getWeeklyGameRewardEvent, GetWeeklyGameRewardEvent.class);
this.registerHandler(Incoming.Game2GetAccountGameStatusEvent, Game2GetAccountGameStatusEvent.class); this.registerHandler(Incoming.game2GetAccountGameStatusEvent, Game2GetAccountGameStatusEvent.class);
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,482 +1,490 @@
package com.eu.habbo.messages.outgoing; package com.eu.habbo.messages.outgoing;
public class Outgoing { public class Outgoing {
//todo Reorder and document each packet composer - harmonic
public final static int acceptFriendResultComposer = 896;
public final static int accountPreferencesComposer = 513;
public final static int accountSafetyLockStatusChangeMessageComposer = 1243;
public final static int achievementComposer = 2107;
public final static int achievementResolutionCompletedMessageComposer = 740;
public final static int achievementResolutionProgressMessageComposer = 3370;
public final static int achievementResolutionsMessageComposer = 66;
public final static int achievementsComposer = 305;
public final static int achievementsScoreComposer = 1968;
public final static int activityPointsMessageComposer = 2018;
public final static int approveNameMessageComposer = 1503;
public final static int authenticationOKMessageComposer = 2491;
public final static int availabilityStatusMessageComposer = 2033;
public final static int availabilityTimeMessageComposer = 600;//todo?
public final static int avatarEffectActivatedMessageComposer = 1959;
public final static int avatarEffectAddedMessageComposer = 2867;
public final static int avatarEffectExpiredMessageComposer = 2228;
public final static int avatarEffectMessageComposer = 1167;
public final static int avatarEffectSelectedMessageComposer = 3473;
public final static int avatarEffectsMessageComposer = 340;
public final static int badgePointLimitsComposer = 2501;
public final static int badgeReceivedComposer = 2493;
public final static int badgesComposer = 717;
public final static int bannedUsersFromRoomComposer = 1869;
public final static int bonusRareInfoMessageComposer = 1533;
public final static int botAddedToInventoryComposer = 1352;
public final static int botCommandConfigurationComposer = 1618;
public final static int botErrorComposer = 639;
public final static int botForceOpenContextMenuComposer = 296;
public final static int botInventoryComposer = 3086;
public final static int botReceivedMessageComposer = 3684; //todo?
public final static int botRemovedFromInventoryComposer = 233;
public final static int botSkillListUpdateComposer = 69;
public final static int buildersClubFurniCountMessageComposer = 3828;
public final static int buildersClubSubscriptionStatusMessageComposer = 1452;
public final static int bundleDiscountRulesetMessageComposer = 2347;
public final static int callForHelpDisabledNotifyMessageComposer = 1651;
public final static int callForHelpPendingCallsDeletedMessageComposer = 77;
public final static int callForHelpPendingCallsMessageComposer = 1121;
public final static int callForHelpReplyMessageComposer = 3796;
public final static int callForHelpResultMessageComposer = 3635;
public final static int cameraPublishStatusMessageComposer = 2057;
public final static int cameraPurchaseOKMessageComposer = 2783;
public final static int cameraSnapshotMessageComposer = 463; // todo?
public final static int cameraStorageUrlMessageComposer = 3696;
public final static int campaignCalendarDataMessageComposer = 2531;
public final static int campaignCalendarDoorOpenedMessageComposer = 2551;
public final static int canCreateRoomComposer = 378;
public final static int canCreateRoomEventComposer = 2599;
public final static int cantConnectMessageComposer = 899;
public final static int carryObjectMessageComposer = 1474;
public final static int catalogPageExpirationComposer = 2668;//todo?
public final static int catalogPageMessageComposer = 804;
public final static int catalogPagesListComposer = 1032;
public final static int catalogPageWithEarliestExpiryMessageComposer = 2515;
public final static int catalogPublishedMessageComposer = 1866;
public final static int categoriesWithVisitorCountComposer = 1455;
public final static int cfhChatlogComposer = 607;
public final static int cfhSanctionMessageComposer = 2782;
public final static int cfhTopicsInitComposer = 325;
public final static int changeEmailResultComposer = 1815;
public final static int changeUserNameResultMessageEvent = 118;
public final static int chatMessageComposer = 1446;
public final static int chatReviewSessionDetachedMessageComposer = 30;
public final static int chatReviewSessionOfferedToGuideMessageComposer = 735;
public final static int chatReviewSessionResultsMessageComposer = 3276;
public final static int chatReviewSessionStartedMessageComposer = 143;
public final static int chatReviewSessionVotingStatusMessageComposer = 1829;
public final static int checkUserNameResultMessageComposer = 563;
public final static int citizenshipVipOfferPromoEnabledComposer = 2278;
public final static int closeConnectionMessageComposer = 122;
public final static int clubGiftInfoComposer = 619;
public final static int clubGiftNotificationComposer = 2188;
public final static int clubGiftSelectedComposer = 659;
public final static int collapsedCategoriesComposer = 1543;
public final static int communityGoalEarnedPrizesMessageComposer = 3319;//todo?
public final static int communityGoalHallOfFameMessageComposer = 3005;
public final static int communityGoalProgressMessageComposer = 2525;
public final static int communityGoalVoteMessageComposer = 1435;
public final static int competitionEntrySubmitResultComposer = 1177;
public final static int competitionRoomsDataMessageComposer = 3954;//todo?
public final static int competitionStatusMessageComposer = 133;
public final static int competitionVotingInfoMessageComposer = 3506;
public final static int completeDiffieHandshakeComposer = 3885;
public final static int concurrentUsersGoalProgressMessageComposer = 2737;
public final static int confirmBreedingRequestComposer = 634;
public final static int confirmBreedingResultComposer = 1625;
public final static int convertedRoomIdComposer = 1331;
public final static int craftableProductsComposer = 1000;
public final static int craftingRecipeComposer = 2774;
public final static int craftingRecipesAvailableComposer = 2124;
public final static int craftingResultComposer = 618;
public final static int creditBalanceComposer = 3475;
public final static int currentTimingCodeMessageComposer = 1745;
public final static int customUserNotificationMessageComposer = 909;
public final static int danceMessageComposer = 2080;
public final static int diceValueMessageComposer = 3431;
public final static int directSMSClubBuyAvailableMessageComposer = 195; // todo?
public final static int disconnectReasonComposer = 4000;
public final static int doorbellMessageComposer = 2309;
public final static int elementPointerMessageComposer = 1787;
public final static int emailStatusResultComposer = 612;
public final static int epicPopupMessageComposer = 3945;
public final static int errorReportComposer = 1004;
public final static int expressionMessageComposer = 1631;
public final static int extendedProfileChangedMessageComposer = 876;
public final static int extendedProfileMessageComposer = 3898;
public final static int faqCategoriesMessageComposer = 2756; //todo?
public final static int faqCategoryMessageComposer = 2819; //todo?
public final static int faqClientFaqsMessageComposer = 2492; //todo?
public final static int faqSearchResultsMessageComposer = 1551; //todo?
public final static int faqTextMessageComposer = 3292;//todo?
public final static int favoriteMembershipUpdateMessageComposer = 3403;
public final static int favouriteChangedComposer = 2524;
public final static int favouritesComposer = 151;
public final static int figureSetIdsComposer = 1450;
public final static int figureUpdateComposer = 2429;
public final static int findFriendsProcessResultComposer = 1210;
public final static int flatAccessDeniedMessageComposer = 878;
public final static int flatAccessibleMessageComposer = 3783;
public final static int flatControllerAddedComposer = 2088;
public final static int flatControllerRemovedComposer = 1327;
public final static int flatControllersComposer = 1284;
public final static int flatCreatedComposer = 1304;
public final static int floodControlMessageComposer = 566;
public final static int floorHeightMapComposer = 1301;
public final static int followFriendFailedComposer = 3048;
public final static int forumDataMessageComposer = 3011;
public final static int forumsListMessageComposer = 3001;
public final static int friendFurniCancelLockMessageComposer = 770;
public final static int friendFurniOtherLockConfirmedMessageComposer = 382;
public final static int friendFurniStartConfirmationMessageComposer = 3753;
public final static int friendListFragmentMessageComposer = 3130;
public final static int friendListUpdateComposer = 2800;
public final static int friendNotificationComposer = 3082;
public final static int friendRequestsComposer = 280;
public final static int furniListAddOrUpdateComposer = 104;
public final static int furniListComposer = 994;
public final static int furniListInvalidateComposer = 3151;
public final static int furniListRemoveComposer = 159;
public final static int furniRentOrBuyoutOfferMessageComposer = 35;
public final static int furnitureAliasesMessageComposer = 1723;
public final static int game2AccountGameStatusMessageComposer = 2893;
public final static int game2GameDirectoryStatusMessageComposer = 2246; //todo?
public final static int game2InArenaQueueMessageComposer = 872;//todo?
public final static int game2JoiningGameFailedMessageComposer = 1730; // todo?
public final static int game2StopCounterMessageComposer = 2233; //todo?
public final static int game2UserLeftGameMessageComposer = 2383;//todo?
public final static int game2WeeklyFriendsLeaderboardComposer = 2270;//todo?
public final static int game2WeeklyLeaderboardComposer = 2196; //todo?
public final static int gameAchievementsMessageComposer = 1689;//todo?
public final static int gameInviteMessageComposer = 904; //todo?
public final static int gameListMessageComposer = 222;
public final static int gamePlayerValueMessageComposer = 2324;
public final static int gameStatusMessageComposer = 3805;
public final static int genericErrorComposer = 1600;
public final static int getGuestRoomResultComposer = 687;
public final static int giftReceiverNotFoundComposer = 1517;
public final static int giftWrappingConfigurationComposer = 2234;
public final static int gotMysteryBoxPrizeMessageComposer = 3712;
public final static int goToBreedingNestFailureComposer = 2621;
public final static int groupDetailsChangedMessageComposer = 1459;
public final static int groupMembershipRequestedMessageComposer = 1180;//todo?
public final static int guestRoomSearchResultComposer = 52;
public final static int guideOnDutyStatusMessageComposer = 1548;
public final static int guideReportingStatusMessageComposer = 3463;
public final static int guideSessionAttachedMessageComposer = 1591;
public final static int guideSessionDetachedMessageComposer = 138;
public final static int guideSessionEndedMessageComposer = 1456;
public final static int guideSessionErrorMessageComposer = 673;
public final static int guideSessionInvitedToGuideRoomMessageComposer = 219;
public final static int guideSessionMessageMessageComposer = 841;
public final static int guideSessionPartnerIsTypingComposer = 1016;
public final static int guideSessionRequesterRoomMessageComposer = 1847;
public final static int guideSessionStartedComposer = 3209;
public final static int guideTicketCreationResultMessageComposer = 3285;
public final static int guideTicketResolutionMessageComposer = 2674;
public final static int guildCreatedMessageComposer = 2808;
public final static int guildCreationInfoMessageComposer = 2159;
public final static int guildEditFailedMessageComposer = 3988;
public final static int guildEditInfoMessageComposer = 3965;
public final static int guildEditorDataMessageComposer = 2238;
public final static int guildForumThreadsComposer = 1073;
public final static int guildFurniContextMenuInfoMessageComposer = 3293;
public final static int guildMemberFurniCountInHQMessageComposer = 1876;
public final static int guildMemberMgmtFailedMessageComposer = 818;
public final static int guildMembersComposer = 1200;
public final static int guildMembershipRejectedMessageComposer = 2445;
public final static int guildMembershipsMessageComposer = 420;
public final static int guildMembershipUpdatedMessageComposer = 265;
public final static int habboAchievementNotificationMessageComposer = 806;
public final static int habboActivityPointNotificationMessageComposer = 2275;
public final static int habboBroadcastMessageComposer = 3801;
public final static int habboClubExtendOfferMessageComposer = 3964;
public final static int habboClubOffersMessageComposer = 2405;
public final static int habboGroupBadgesMessageComposer = 2402;
public final static int habboGroupDeactivatedMessageComposer = 3129;
public final static int habboGroupDetailsMessageComposer = 1702;
public final static int habboGroupJoinFailedMessageComposer = 762;
public final static int habboSearchResultComposer = 973;
public final static int habboWayQuizComposer1 = 3379;
public final static int handItemReceivedMessageComposer = 354;
public final static int heightMapComposer = 2753;
public final static int heightMapUpdateMessageComposer = 558;
public final static int hotelClosedAndOpensComposer = 3728;
public final static int hotelClosesAndWillOpenAtComposer = 2771;
public final static int hotelMergeNameChangeComposer = 1663;//todo?
public final static int hotelViewCatalogPageExpiringComposer = 690;
public final static int hotelViewCustomTimerComposer = -1;
public final static int hotelWillCloseInMinutesComposer = 1050;
public final static int identityAccountsComposer = 3523;
public final static int ignoredUsersMessageComposer = 126;
public final static int ignoreResultMessageComposer = 207;
public final static int inClientLinkMessageComposer = 2023;
public final static int infoFeedEnableMessageComposer = 3284;
public final static int initCameraMessageComposer = 3878;
public final static int initDiffieHandshakeComposer = 1347;
public final static int instantMessageErrorComposer = 3359;
public final static int interstitialMessageComposer = 1808;
public final static int isBadgeRequestFulfilledComposer = 2998;
public final static int isFirstLoginOfDayComposer = 793;
public final static int isOfferGiftableMessageComposer = 761;//todo?
public final static int issueCloseNotificationMessageComposer = 934;
public final static int issueDeletedMessageComposer = 3192;
public final static int issueInfoMessageComposer = 3609;
public final static int issuePickFailedMessageComposer = 3150;
public final static int isUserPartOfCompetitionMessageComposer = 3841;//todo?
public final static int itemAddMessageComposer = 2187;
public final static int itemDataUpdateMessageComposer = 2202;
public final static int itemRemoveMessageComposer = 3208;
public final static int itemsComposer = 1369;
public final static int itemUpdateMessageComposer = 2009;
public final static int joinedQueueMessageComposer = 2260;
public final static int joiningQueueFailedMessageComposer = 3035;//todo?
public final static int jukeBoxPlaylistFullMessageComposer = 105;
public final static int jukeboxSongDisksMessageComposer = 34;
public final static int latencyPingResponseMessageComposer = 10;
public final static int leftQueueMessageComposer = 1477;
public final static int limitedEditionSoldOutComposer = 377;
public final static int limitedOfferAppearingNextMessageComposer = 44;
public final static int loadGameMessageComposer = 3654;
public final static int loadGameUrlMessageComposer = 2624;
public final static int maintenanceStatusMessageComposer = 1350;
public final static int marketplaceBuyOfferResultComposer = 2032;
public final static int marketplaceCancelOfferResultComposer = 3264;
public final static int marketplaceCanMakeOfferResult = 54;
public final static int marketplaceConfigurationComposer = 1823;
public final static int marketplaceItemStatsComposer = 725;
public final static int marketplaceMakeOfferResult = 1359;
public final static int marketplaceOffersComposer = 680;
public final static int marketPlaceOwnOffersComposer = 3884;
public final static int messengerErrorComposer = 892;
public final static int messengerInitComposer = 1605;
public final static int miniMailNewMessageComposer = 1911;
public final static int miniMailUnreadCountComposer = 2803;
public final static int moderatorActionResultMessageComposer = 2335;//todo?
public final static int moderatorCautionComposer = 1890;
public final static int moderatorInitMessageComposer = 2696;
public final static int moderatorMessageComposer = 2030;
public final static int moderatorRoomInfoComposer = 1333;
public final static int moderatorToolPreferencesComposer = 1576;
public final static int moderatorUserInfoComposer = 2866;
public final static int mOTDNotificationComposer = 2035;
public final static int muteAllInRoomComposer = 2533;
public final static int mysteryBoxClosingComposer = 596;
public final static int mysteryBoxKeysMessageComposer = 2833;
public final static int mysteryBoxStartComposer = 3201;
public final static int navigatorLiftedRoomsComposer = 3104;
public final static int navigatorMetaDataComposer = 3052;
public final static int navigatorSavedSearchesComposer = 3984;
public final static int navigatorSearchResultBlocksComposer = 2690;
public final static int navigatorSettingsComposer = 2875;
public final static int nestBreedingSuccessComposer = 2527;
public final static int newConsoleMessageComposer = 1587;
public final static int newFriendRequestComposer = 2219;
public final static int newNavigatorPreferencesComposer = 518;
public final static int newUserExperienceGiftOfferComposer = 3575;
public final static int newUserExperienceNotCompleteComposer = 3639;
public final static int noobnessLevelMessageComposer = 3738;
public final static int noOwnedRoomsAlertMessageComposer = 2064;
public final static int noSuchFlatComposer = 84;
public final static int notEnoughBalanceMessageComposer = 3914;
public final static int notificationDialogMessageComposer = 1992;
public final static int nowPlayingMessageComposer = 469;
public final static int objectAddMessageComposer = 1534;
public final static int objectDataUpdateMessageComposer = 2547;
public final static int objectRemoveMessageComposer = 2703;
public final static int objectsDataUpdateMessageComposer = 1453;
public final static int objectsMessageComposer = 1778;
public final static int objectUpdateMessageComposer = 3776;
public final static int offerRewardDeliveredMessageComposer = 2125;
public final static int officialRoomsComposer = 2726;//todo?
public final static int officialSongIdMessageComposer = 1381;
public final static int oneWayDoorStatusMessageComposer = 2376;
public final static int openComposer = 1830;
public final static int openConnectionMessageComposer = 758;
public final static int openPetPackageRequestedMessageComposer = 2380;
public final static int openPetPackageResultMessageComposer = 546;
public final static int perkAllowancesComposer = 2586;
public final static int petAddedToInventoryComposer = 2101;
public final static int petBreedingComposer = 1746;
public final static int petBreedingResultComposer = 1553; //todo?
public final static int petExperienceComposer = 2156;
public final static int petFigureUpdateComposer = 1924;
public final static int petInfoMessageComposer = 2901;
public final static int petInventoryComposer = 3522;
public final static int petLevelNotificationComposer = 859;
public final static int petLevelUpdateComposer = 2824;
public final static int petPlacingErrorComposer = 2913;
public final static int petReceivedMessageComposer = 1111;
public final static int petRemovedFromInventoryComposer = 3253;
public final static int petRespectFailedComposer = 1130;
public final static int petRespectNotificationComposer = 2788;
public static final int petStatusUpdateComposer = 1907;
public final static int petSupplementedNotificationComposer = 3441;
public final static int petTrainingPanelComposer = 1164;
public final static int phoneCollectionStateMessageComposer = 2890;
public final static int pingMessageComposer = 3928;
public final static int playListMessageComposer = 1748;
public final static int playListSongAddedMessageComposer = 1140;
public final static int pollContentsComposer = 2997;
public final static int pollErrorComposer = 662;
public final static int pollOfferComposer = 3785;
public final static int popularRoomTagsResultComposer = 2012;
public final static int postItPlacedComposer = 1501;
public final static int postMessageMessageComposer = 2049;
public final static int postThreadMessageComposer = 1862;
public final static int presentOpenedMessageComposer = 56;
public final static int productOfferComposer = 3388;
public final static int promoArticlesMessageComposer = 286;
public final static int purchaseErrorMessageComposer = 1404;
public final static int purchaseNotAllowedMessageComposer = 3770;
public final static int purchaseOKMessageComposer = 869;
public final static int questCancelledMessageComposer = 3027;
public final static int questCompletedMessageComposer = 949;
public final static int questDailyMessageComposer = 1878; //todo?
public final static int questionAnsweredComposer = 2589;
public final static int questionComposer = 2665;
public final static int questionFinishedComposer = 1066;
public final static int questionInfoComposer = -1;
public final static int questMessageComposer = 230;
public final static int questsMessageComposer = 3625;
public final static int quizDataMessageComposer = 2927;
public final static int quizResultsMessageComposer = 2772;
public final static int recyclerFinishedComposer = 468;
public final static int recyclerPrizesComposer = 3164;
public final static int recyclerStatusComposer = 3433;
public final static int relationshipStatusInfoComposer = 2016;
public final static int remainingMutePeriodComposer = 826;
public final static int rentableSpaceRentFailedMessageComposer = 1868;
public final static int rentableSpaceRentOkMessageComposer = 2046;
public final static int rentableSpaceStatusMessageComposer = 3559;
public final static int requestSpamWallPostItMessageComposer = 2366;
public final static int restoreClientMessageComposer = 426;
public final static int roomAdErrorComposer = 1759;
public final static int roomAdPurchaseInfoComposer = 2468;
public final static int roomChatlogComposer = 3434;
public final static int roomChatSettingsMessageComposer = 1191;
public final static int roomDimmerPresetsComposer = 2710;
public final static int roomEntryInfoComposer = -1;
public final static int roomEntryInfoMessageComposer = 749;
public final static int roomEntryTileMessageComposer = 1664;
public final static int roomEventCancelComposer = 3479;
public final static int roomEventComposer = 1840;
public final static int roomFilterSettingsMessageComposer = 2937;
public final static int roomFloorThicknessUpdatedComposer = 3786;
public final static int roomForwardMessageComposer = 160;
public final static int roomInfoUpdatedComposer = 3297;
public final static int roomInviteComposer = 3870;
public final static int roomInviteErrorComposer = 462;
public final static int roomMessageNotificationMessageComposer = 1634;
public final static int roomOccupiedTilesMessageComposer = 3990;
public final static int roomPropertyMessageComposer = 2454;
public final static int roomQueueStatusMessageComposer = 2208;
public final static int roomRatingComposer = 482;
public final static int roomReadyMessageComposer = 2031;
public final static int roomSettingsDataComposer = 1498;
public final static int roomSettingsErrorComposer = 2897;//todo?
public final static int roomSettingsSavedComposer = 948;
public final static int roomSettingsSaveErrorComposer = 1555;
public final static int roomThumbnailUpdateResultComposer = 1927; //todo?
public final static int roomUserQuestionAnsweredComposer = -1;
public final static int roomUserRespectComposer = 2815;
public final static int roomVisitsComposer = 1752;
public final static int roomVisualizationSettingsComposer = 3547;
public final static int sanctionStatusComposer = 2221;
public final static int scrSendKickbackInfoMessageComposer = 3277;
public final static int scrSendUserInfoComposer = 954;
public final static int seasonalCalendarDailyOfferMessageComposer = 1889;
public final static int seasonalQuestsMessageComposer = 1122; //todo?
public final static int secondsUntilMessageComposer = 3926;
public final static int sellablePetPalettesMessageComposer = 3331;
public final static int shoutMessageComposer = 1036;
public final static int showEnforceRoomCategoryDialogComposer = 3896;
public final static int sleepMessageComposer = 1797;
public final static int slideObjectBundleMessageComposer = 3207;
public final static int _str_16258_composer = 1660; //todo?
public final static int _str_16667_composer = 3099; //todo?
public final static int _str_17054_composer = 416; //todo?
public final static int talentLevelUpComposer = 638;
public final static int talentTrackLevelMessageEvent = 1203;
public final static int talentTrackMessageComposer = 3406;
public final static int targetedOfferComposer = 119;
public final static int targetedOfferNotFoundComposer = 1237;
public final static int threadMessagesMessageComposer = 509;
public final static int thumbnailStatusMessageComposer = 3595;
public final static int tradeCloseWindowComposer = 1001;
public final static int tradeCompleteComposer = 2369;
public final static int tradingAcceptComposer = 2568;
public final static int tradingCloseComposer = 1373;
public final static int tradingConfirmationComposer = 2720;
public final static int tradingItemListComposer = 2024;
public final static int tradingNoSuchItemComposer = 2873;//todo?
public final static int tradingNotOpenComposer = 3128;
public final static int tradingOpenComposer = 2505;
public final static int tradingOpenFailedComposer = 217;
public final static int tradingOtherNotAllowedComposer = 1254;
public final static int tradingYouAreNotAllowedComposer = 3058;
public final static int traxSongInfoMessageComposer = 3365;
public final static int tryPhoneNumberResultMessageComposer = 800;
public final static int tryVerificationCodeResultMessageComposer = 91;
public final static int uniqueMachineIDComposer = 1488;
public final static int unknowncomposer_1188 = 1437; //todo?
public final static int unloadGameMessageComposer = 1715;
public final static int unreadForumsCountMessageComposer = 2379;
public final static int unseenItemsComposer = 2103;
public final static int updateMessageMessageComposer = 324;
public final static int updateStackHeightTileHeightComposer = 2816;
public final static int updateThreadMessageComposer = 2528;
public final static int useObjectMessageComposer = 1774; //todo?
public final static int userBadgesComposer = 1087;
public final static int userBannedMessageComposer = 1683;
public final static int userBCLimitsComposer = -1;
public final static int userChangeMessageComposer = 3920;
public final static int userChatlogComposer = 3377;
public final static int userClassificationMessageComposer = 966;
public final static int userEventCatsComposer = 3244;
public final static int userFlatCatsComposer = 1562;
public final static int userGameAchievementsMessageComposer = 2265;
public final static int userNameChangedMessageComposer = 2182;
public final static int userObjectComposer = 2725;
public final static int userRemoveMessageComposer = 2661;
public final static int userRightsMessageComposer = 411;
public final static int usersComposer = 374;
public final static int userSongDisksInventoryMessageComposer = 2602;
public final static int userTagsMessageComposer = 1255;
public final static int userTypingMessageComposer = 1717;
public final static int userUnbannedFromRoomComposer = 3429;
public final static int userUpdateComposer = 1640;
public final static int voucherRedeemErrorMessageComposer = 714;
public final static int voucherRedeemOkMessageComposer = 3336;
public final static int wardrobeMessageComposer = 3315;
public final static int weeklyCompetitiveFriendsLeaderboardComposer = 3560;//todo?
public final static int weeklyCompetitiveLeaderboardComposer = 3512;//todo?
public final static int weeklyGameRewardComposer = 2641;//todo?
public final static int weeklyGameRewardWinnersComposer = 3097;//todo?
public final static int welcomeGiftChangeEmailResultComposer = 2293;
public final static int welcomeGiftStatusComposer = 2707;
public final static int whisperMessageComposer = 2704;
public final static int wiredConditionDataComposer = 1108;
public final static int wiredEffectDataComposer = 1434;
public final static int wiredRewardResultMessageComposer = 178;
public final static int wiredSavedComposer = 1155;
public final static int wiredTriggerDataComposer = 383;
public final static int wiredValidationErrorComposer = 156;
public final static int youAreControllerMessageComposer = 780;
public final static int youAreNotControllerMessageComposer = 2392;
public final static int youAreOwnerMessageComposer = 339;
public final static int youArePlayingGameMessageComposer = 448;
public final static int youAreSpectatorMessageEvent = 1033;
public final static int youtubeControlVideoMessageComposer = 1554;
public final static int youtubeDisplayPlaylistsComposer = 1112;
public final static int youtubeDisplayVideoMessageComposer = 1411;
//snowstorm packets, these are not in pRODUCTION-201611291003-338511768 by default, but are in the openSource sWF. /**
* Outgoing Emulator Packets which are currently implemented.
* Named 1:1 based on outgoing client packet names from PRODUCTION-201611291003-338511768
* TODO: Implement the missing ones.
*/
public static final int acceptFriendResultComposer = 896;
public static final int accountPreferencesComposer = 513;
public static final int accountSafetyLockStatusChangeMessageComposer = 1243;
public static final int achievementComposer = 2107;
public static final int achievementResolutionCompletedMessageComposer = 740;
public static final int achievementResolutionProgressMessageComposer = 3370;
public static final int achievementResolutionsMessageComposer = 66;
public static final int achievementsComposer = 305;
public static final int achievementsScoreComposer = 1968;
public static final int activityPointsMessageComposer = 2018;
public static final int approveNameMessageComposer = 1503;
public static final int authenticationOKMessageComposer = 2491;
public static final int availabilityStatusMessageComposer = 2033;
public static final int availabilityTimeMessageComposer = 600;//todo?
public static final int avatarEffectActivatedMessageComposer = 1959;
public static final int avatarEffectAddedMessageComposer = 2867;
public static final int avatarEffectExpiredMessageComposer = 2228;
public static final int avatarEffectMessageComposer = 1167;
public static final int avatarEffectSelectedMessageComposer = 3473;
public static final int avatarEffectsMessageComposer = 340;
public static final int badgePointLimitsComposer = 2501;
public static final int badgeReceivedComposer = 2493;
public static final int badgesComposer = 717;
public static final int bannedUsersFromRoomComposer = 1869;
public static final int bonusRareInfoMessageComposer = 1533;
public static final int botAddedToInventoryComposer = 1352;
public static final int botCommandConfigurationComposer = 1618;
public static final int botErrorComposer = 639;
public static final int botForceOpenContextMenuComposer = 296;
public static final int botInventoryComposer = 3086;
public static final int botReceivedMessageComposer = 3684; //todo?
public static final int botRemovedFromInventoryComposer = 233;
public static final int botSkillListUpdateComposer = 69;
public static final int buildersClubFurniCountMessageComposer = 3828;
public static final int buildersClubSubscriptionStatusMessageComposer = 1452;
public static final int bundleDiscountRulesetMessageComposer = 2347;
public static final int callForHelpDisabledNotifyMessageComposer = 1651;
public static final int callForHelpPendingCallsDeletedMessageComposer = 77;
public static final int callForHelpPendingCallsMessageComposer = 1121;
public static final int callForHelpReplyMessageComposer = 3796;
public static final int callForHelpResultMessageComposer = 3635;
public static final int cameraPublishStatusMessageComposer = 2057;
public static final int cameraPurchaseOKMessageComposer = 2783;
public static final int cameraSnapshotMessageComposer = 463; // todo?
public static final int cameraStorageUrlMessageComposer = 3696;
public static final int campaignCalendarDataMessageComposer = 2531;
public static final int campaignCalendarDoorOpenedMessageComposer = 2551;
public static final int canCreateRoomComposer = 378;
public static final int canCreateRoomEventComposer = 2599;
public static final int cantConnectMessageComposer = 899;
public static final int carryObjectMessageComposer = 1474;
public static final int catalogPageExpirationComposer = 2668;//todo?
public static final int catalogPageMessageComposer = 804;
public static final int catalogPagesListComposer = 1032;
public static final int catalogPageWithEarliestExpiryMessageComposer = 2515;
public static final int catalogPublishedMessageComposer = 1866;
public static final int categoriesWithVisitorCountComposer = 1455;
public static final int cfhChatlogComposer = 607;
public static final int cfhSanctionMessageComposer = 2782;
public static final int cfhTopicsInitComposer = 325;
public static final int changeEmailResultComposer = 1815;
public static final int changeUserNameResultMessageEvent = 118;
public static final int chatMessageComposer = 1446;
public static final int chatReviewSessionDetachedMessageComposer = 30;
public static final int chatReviewSessionOfferedToGuideMessageComposer = 735;
public static final int chatReviewSessionResultsMessageComposer = 3276;
public static final int chatReviewSessionStartedMessageComposer = 143;
public static final int chatReviewSessionVotingStatusMessageComposer = 1829;
public static final int checkUserNameResultMessageComposer = 563;
public static final int citizenshipVipOfferPromoEnabledComposer = 2278;
public static final int closeConnectionMessageComposer = 122;
public static final int clubGiftInfoComposer = 619;
public static final int clubGiftNotificationComposer = 2188;
public static final int clubGiftSelectedComposer = 659;
public static final int collapsedCategoriesComposer = 1543;
public static final int communityGoalEarnedPrizesMessageComposer = 3319;//todo?
public static final int communityGoalHallOfFameMessageComposer = 3005;
public static final int communityGoalProgressMessageComposer = 2525;
public static final int communityGoalVoteMessageComposer = 1435;
public static final int competitionEntrySubmitResultComposer = 1177;
public static final int competitionRoomsDataMessageComposer = 3954;//todo?
public static final int competitionStatusMessageComposer = 133;
public static final int competitionVotingInfoMessageComposer = 3506;
public static final int completeDiffieHandshakeComposer = 3885;
public static final int concurrentUsersGoalProgressMessageComposer = 2737;
public static final int confirmBreedingRequestComposer = 634;
public static final int confirmBreedingResultComposer = 1625;
public static final int convertedRoomIdComposer = 1331;
public static final int craftableProductsComposer = 1000;
public static final int craftingRecipeComposer = 2774;
public static final int craftingRecipesAvailableComposer = 2124;
public static final int craftingResultComposer = 618;
public static final int creditBalanceComposer = 3475;
public static final int currentTimingCodeMessageComposer = 1745;
public static final int customUserNotificationMessageComposer = 909;
public static final int danceMessageComposer = 2080;
public static final int diceValueMessageComposer = 3431;
public static final int directSMSClubBuyAvailableMessageComposer = 195; // todo?
public static final int disconnectReasonComposer = 4000;
public static final int doorbellMessageComposer = 2309;
public static final int elementPointerMessageComposer = 1787;
public static final int emailStatusResultComposer = 612;
public static final int epicPopupMessageComposer = 3945;
public static final int errorReportComposer = 1004;
public static final int expressionMessageComposer = 1631;
public static final int extendedProfileChangedMessageComposer = 876;
public static final int extendedProfileMessageComposer = 3898;
public static final int faqCategoriesMessageComposer = 2756; //todo?
public static final int faqCategoryMessageComposer = 2819; //todo?
public static final int faqClientFaqsMessageComposer = 2492; //todo?
public static final int faqSearchResultsMessageComposer = 1551; //todo?
public static final int faqTextMessageComposer = 3292;//todo?
public static final int favoriteMembershipUpdateMessageComposer = 3403;
public static final int favouriteChangedComposer = 2524;
public static final int favouritesComposer = 151;
public static final int figureSetIdsComposer = 1450;
public static final int figureUpdateComposer = 2429;
public static final int findFriendsProcessResultComposer = 1210;
public static final int flatAccessDeniedMessageComposer = 878;
public static final int flatAccessibleMessageComposer = 3783;
public static final int flatControllerAddedComposer = 2088;
public static final int flatControllerRemovedComposer = 1327;
public static final int flatControllersComposer = 1284;
public static final int flatCreatedComposer = 1304;
public static final int floodControlMessageComposer = 566;
public static final int floorHeightMapComposer = 1301;
public static final int followFriendFailedComposer = 3048;
public static final int forumDataMessageComposer = 3011;
public static final int forumsListMessageComposer = 3001;
public static final int friendFurniCancelLockMessageComposer = 770;
public static final int friendFurniOtherLockConfirmedMessageComposer = 382;
public static final int friendFurniStartConfirmationMessageComposer = 3753;
public static final int friendListFragmentMessageComposer = 3130;
public static final int friendListUpdateComposer = 2800;
public static final int friendNotificationComposer = 3082;
public static final int friendRequestsComposer = 280;
public static final int furniListAddOrUpdateComposer = 104;
public static final int furniListComposer = 994;
public static final int furniListInvalidateComposer = 3151;
public static final int furniListRemoveComposer = 159;
public static final int furniRentOrBuyoutOfferMessageComposer = 35;
public static final int furnitureAliasesMessageComposer = 1723;
public static final int game2AccountGameStatusMessageComposer = 2893;
public static final int game2GameDirectoryStatusMessageComposer = 2246; //todo?
public static final int game2InArenaQueueMessageComposer = 872;//todo?
public static final int game2JoiningGameFailedMessageComposer = 1730; // todo?
public static final int game2StopCounterMessageComposer = 2233; //todo?
public static final int game2UserLeftGameMessageComposer = 2383;//todo?
public static final int game2WeeklyFriendsLeaderboardComposer = 2270;//todo?
public static final int game2WeeklyLeaderboardComposer = 2196; //todo?
public static final int gameAchievementsMessageComposer = 1689;//todo?
public static final int gameInviteMessageComposer = 904; //todo?
public static final int gameListMessageComposer = 222;
public static final int gamePlayerValueMessageComposer = 2324;
public static final int gameStatusMessageComposer = 3805;
public static final int genericErrorComposer = 1600;
public static final int getGuestRoomResultComposer = 687;
public static final int giftReceiverNotFoundComposer = 1517;
public static final int giftWrappingConfigurationComposer = 2234;
public static final int gotMysteryBoxPrizeMessageComposer = 3712;
public static final int goToBreedingNestFailureComposer = 2621;
public static final int groupDetailsChangedMessageComposer = 1459;
public static final int groupMembershipRequestedMessageComposer = 1180;//todo?
public static final int guestRoomSearchResultComposer = 52;
public static final int guideOnDutyStatusMessageComposer = 1548;
public static final int guideReportingStatusMessageComposer = 3463;
public static final int guideSessionAttachedMessageComposer = 1591;
public static final int guideSessionDetachedMessageComposer = 138;
public static final int guideSessionEndedMessageComposer = 1456;
public static final int guideSessionErrorMessageComposer = 673;
public static final int guideSessionInvitedToGuideRoomMessageComposer = 219;
public static final int guideSessionMessageMessageComposer = 841;
public static final int guideSessionPartnerIsTypingComposer = 1016;
public static final int guideSessionRequesterRoomMessageComposer = 1847;
public static final int guideSessionStartedComposer = 3209;
public static final int guideTicketCreationResultMessageComposer = 3285;
public static final int guideTicketResolutionMessageComposer = 2674;
public static final int guildCreatedMessageComposer = 2808;
public static final int guildCreationInfoMessageComposer = 2159;
public static final int guildEditFailedMessageComposer = 3988;
public static final int guildEditInfoMessageComposer = 3965;
public static final int guildEditorDataMessageComposer = 2238;
public static final int guildForumThreadsComposer = 1073;
public static final int guildFurniContextMenuInfoMessageComposer = 3293;
public static final int guildMemberFurniCountInHQMessageComposer = 1876;
public static final int guildMemberMgmtFailedMessageComposer = 818;
public static final int guildMembersComposer = 1200;
public static final int guildMembershipRejectedMessageComposer = 2445;
public static final int guildMembershipsMessageComposer = 420;
public static final int guildMembershipUpdatedMessageComposer = 265;
public static final int habboAchievementNotificationMessageComposer = 806;
public static final int habboActivityPointNotificationMessageComposer = 2275;
public static final int habboBroadcastMessageComposer = 3801;
public static final int habboClubExtendOfferMessageComposer = 3964;
public static final int habboClubOffersMessageComposer = 2405;
public static final int habboGroupBadgesMessageComposer = 2402;
public static final int habboGroupDeactivatedMessageComposer = 3129;
public static final int habboGroupDetailsMessageComposer = 1702;
public static final int habboGroupJoinFailedMessageComposer = 762;
public static final int habboSearchResultComposer = 973;
public static final int habboWayQuizComposer1 = 3379;
public static final int handItemReceivedMessageComposer = 354;
public static final int heightMapComposer = 2753;
public static final int heightMapUpdateMessageComposer = 558;
public static final int hotelClosedAndOpensComposer = 3728;
public static final int hotelClosesAndWillOpenAtComposer = 2771;
public static final int hotelMergeNameChangeComposer = 1663;//todo?
public static final int hotelViewCatalogPageExpiringComposer = 690;
public static final int hotelViewCustomTimerComposer = -1;
public static final int hotelWillCloseInMinutesComposer = 1050;
public static final int identityAccountsComposer = 3523;
public static final int ignoredUsersMessageComposer = 126;
public static final int ignoreResultMessageComposer = 207;
public static final int inClientLinkMessageComposer = 2023;
public static final int infoFeedEnableMessageComposer = 3284;
public static final int initCameraMessageComposer = 3878;
public static final int initDiffieHandshakeComposer = 1347;
public static final int instantMessageErrorComposer = 3359;
public static final int interstitialMessageComposer = 1808;
public static final int isBadgeRequestFulfilledComposer = 2998;
public static final int isFirstLoginOfDayComposer = 793;
public static final int isOfferGiftableMessageComposer = 761;//todo?
public static final int issueCloseNotificationMessageComposer = 934;
public static final int issueDeletedMessageComposer = 3192;
public static final int issueInfoMessageComposer = 3609;
public static final int issuePickFailedMessageComposer = 3150;
public static final int isUserPartOfCompetitionMessageComposer = 3841;//todo?
public static final int itemAddMessageComposer = 2187;
public static final int itemDataUpdateMessageComposer = 2202;
public static final int itemRemoveMessageComposer = 3208;
public static final int itemsComposer = 1369;
public static final int itemUpdateMessageComposer = 2009;
public static final int joinedQueueMessageComposer = 2260;
public static final int joiningQueueFailedMessageComposer = 3035;//todo?
public static final int jukeBoxPlaylistFullMessageComposer = 105;
public static final int jukeboxSongDisksMessageComposer = 34;
public static final int latencyPingResponseMessageComposer = 10;
public static final int leftQueueMessageComposer = 1477;
public static final int limitedEditionSoldOutComposer = 377;
public static final int limitedOfferAppearingNextMessageComposer = 44;
public static final int loadGameMessageComposer = 3654;
public static final int loadGameUrlMessageComposer = 2624;
public static final int maintenanceStatusMessageComposer = 1350;
public static final int marketplaceBuyOfferResultComposer = 2032;
public static final int marketplaceCancelOfferResultComposer = 3264;
public static final int marketplaceCanMakeOfferResult = 54;
public static final int marketplaceConfigurationComposer = 1823;
public static final int marketplaceItemStatsComposer = 725;
public static final int marketplaceMakeOfferResult = 1359;
public static final int marketplaceOffersComposer = 680;
public static final int marketPlaceOwnOffersComposer = 3884;
public static final int messengerErrorComposer = 892;
public static final int messengerInitComposer = 1605;
public static final int miniMailNewMessageComposer = 1911;
public static final int miniMailUnreadCountComposer = 2803;
public static final int moderatorActionResultMessageComposer = 2335;//todo?
public static final int moderatorCautionComposer = 1890;
public static final int moderatorInitMessageComposer = 2696;
public static final int moderatorMessageComposer = 2030;
public static final int moderatorRoomInfoComposer = 1333;
public static final int moderatorToolPreferencesComposer = 1576;
public static final int moderatorUserInfoComposer = 2866;
public static final int mOTDNotificationComposer = 2035;
public static final int muteAllInRoomComposer = 2533;
public static final int mysteryBoxClosingComposer = 596;
public static final int mysteryBoxKeysMessageComposer = 2833;
public static final int mysteryBoxStartComposer = 3201;
public static final int navigatorLiftedRoomsComposer = 3104;
public static final int navigatorMetaDataComposer = 3052;
public static final int navigatorSavedSearchesComposer = 3984;
public static final int navigatorSearchResultBlocksComposer = 2690;
public static final int navigatorSettingsComposer = 2875;
public static final int nestBreedingSuccessComposer = 2527;
public static final int newConsoleMessageComposer = 1587;
public static final int newFriendRequestComposer = 2219;
public static final int newNavigatorPreferencesComposer = 518;
public static final int newUserExperienceGiftOfferComposer = 3575;
public static final int newUserExperienceNotCompleteComposer = 3639;
public static final int noobnessLevelMessageComposer = 3738;
public static final int noOwnedRoomsAlertMessageComposer = 2064;
public static final int noSuchFlatComposer = 84;
public static final int notEnoughBalanceMessageComposer = 3914;
public static final int notificationDialogMessageComposer = 1992;
public static final int nowPlayingMessageComposer = 469;
public static final int objectAddMessageComposer = 1534;
public static final int objectDataUpdateMessageComposer = 2547;
public static final int objectRemoveMessageComposer = 2703;
public static final int objectsDataUpdateMessageComposer = 1453;
public static final int objectsMessageComposer = 1778;
public static final int objectUpdateMessageComposer = 3776;
public static final int offerRewardDeliveredMessageComposer = 2125;
public static final int officialRoomsComposer = 2726;//todo?
public static final int officialSongIdMessageComposer = 1381;
public static final int oneWayDoorStatusMessageComposer = 2376;
public static final int openComposer = 1830;
public static final int openConnectionMessageComposer = 758;
public static final int openPetPackageRequestedMessageComposer = 2380;
public static final int openPetPackageResultMessageComposer = 546;
public static final int perkAllowancesComposer = 2586;
public static final int petAddedToInventoryComposer = 2101;
public static final int petBreedingComposer = 1746;
public static final int petBreedingResultComposer = 1553; //todo?
public static final int petExperienceComposer = 2156;
public static final int petFigureUpdateComposer = 1924;
public static final int petInfoMessageComposer = 2901;
public static final int petInventoryComposer = 3522;
public static final int petLevelNotificationComposer = 859;
public static final int petLevelUpdateComposer = 2824;
public static final int petPlacingErrorComposer = 2913;
public static final int petReceivedMessageComposer = 1111;
public static final int petRemovedFromInventoryComposer = 3253;
public static final int petRespectFailedComposer = 1130;
public static final int petRespectNotificationComposer = 2788;
public static final int petStatusUpdateComposer = 1907;
public static final int petSupplementedNotificationComposer = 3441;
public static final int petTrainingPanelComposer = 1164;
public static final int phoneCollectionStateMessageComposer = 2890;
public static final int pingMessageComposer = 3928;
public static final int playListMessageComposer = 1748;
public static final int playListSongAddedMessageComposer = 1140;
public static final int pollContentsComposer = 2997;
public static final int pollErrorComposer = 662;
public static final int pollOfferComposer = 3785;
public static final int popularRoomTagsResultComposer = 2012;
public static final int postItPlacedComposer = 1501;
public static final int postMessageMessageComposer = 2049;
public static final int postThreadMessageComposer = 1862;
public static final int presentOpenedMessageComposer = 56;
public static final int productOfferComposer = 3388;
public static final int promoArticlesMessageComposer = 286;
public static final int purchaseErrorMessageComposer = 1404;
public static final int purchaseNotAllowedMessageComposer = 3770;
public static final int purchaseOKMessageComposer = 869;
public static final int questCancelledMessageComposer = 3027;
public static final int questCompletedMessageComposer = 949;
public static final int questDailyMessageComposer = 1878; //todo?
public static final int questionAnsweredComposer = 2589;
public static final int questionComposer = 2665;
public static final int questionFinishedComposer = 1066;
public static final int questionInfoComposer = -1;
public static final int questMessageComposer = 230;
public static final int questsMessageComposer = 3625;
public static final int quizDataMessageComposer = 2927;
public static final int quizResultsMessageComposer = 2772;
public static final int recyclerFinishedComposer = 468;
public static final int recyclerPrizesComposer = 3164;
public static final int recyclerStatusComposer = 3433;
public static final int relationshipStatusInfoComposer = 2016;
public static final int remainingMutePeriodComposer = 826;
public static final int rentableSpaceRentFailedMessageComposer = 1868;
public static final int rentableSpaceRentOkMessageComposer = 2046;
public static final int rentableSpaceStatusMessageComposer = 3559;
public static final int requestSpamWallPostItMessageComposer = 2366;
public static final int restoreClientMessageComposer = 426;
public static final int roomAdErrorComposer = 1759;
public static final int roomAdPurchaseInfoComposer = 2468;
public static final int roomChatlogComposer = 3434;
public static final int roomChatSettingsMessageComposer = 1191;
public static final int roomDimmerPresetsComposer = 2710;
public static final int roomEntryInfoComposer = -1;
public static final int roomEntryInfoMessageComposer = 749;
public static final int roomEntryTileMessageComposer = 1664;
public static final int roomEventCancelComposer = 3479;
public static final int roomEventComposer = 1840;
public static final int roomFilterSettingsMessageComposer = 2937;
public static final int roomFloorThicknessUpdatedComposer = 3786;
public static final int roomForwardMessageComposer = 160;
public static final int roomInfoUpdatedComposer = 3297;
public static final int roomInviteComposer = 3870;
public static final int roomInviteErrorComposer = 462;
public static final int roomMessageNotificationMessageComposer = 1634;
public static final int roomOccupiedTilesMessageComposer = 3990;
public static final int roomPropertyMessageComposer = 2454;
public static final int roomQueueStatusMessageComposer = 2208;
public static final int roomRatingComposer = 482;
public static final int roomReadyMessageComposer = 2031;
public static final int roomSettingsDataComposer = 1498;
public static final int roomSettingsErrorComposer = 2897;//todo?
public static final int roomSettingsSavedComposer = 948;
public static final int roomSettingsSaveErrorComposer = 1555;
public static final int roomThumbnailUpdateResultComposer = 1927; //todo?
public static final int roomUserQuestionAnsweredComposer = -1;
public static final int roomUserRespectComposer = 2815;
public static final int roomVisitsComposer = 1752;
public static final int roomVisualizationSettingsComposer = 3547;
public static final int sanctionStatusComposer = 2221;
public static final int scrSendKickbackInfoMessageComposer = 3277;
public static final int scrSendUserInfoComposer = 954;
public static final int seasonalCalendarDailyOfferMessageComposer = 1889;
public static final int seasonalQuestsMessageComposer = 1122; //todo?
public static final int secondsUntilMessageComposer = 3926;
public static final int sellablePetPalettesMessageComposer = 3331;
public static final int shoutMessageComposer = 1036;
public static final int showEnforceRoomCategoryDialogComposer = 3896;
public static final int sleepMessageComposer = 1797;
public static final int slideObjectBundleMessageComposer = 3207;
public static final int _str_16258_composer = 1660; //todo?
public static final int _str_16667_composer = 3099; //todo?
public static final int _str_17054_composer = 416; //todo?
public static final int talentLevelUpComposer = 638;
public static final int talentTrackLevelMessageEvent = 1203;
public static final int talentTrackMessageComposer = 3406;
public static final int targetedOfferComposer = 119;
public static final int targetedOfferNotFoundComposer = 1237;
public static final int threadMessagesMessageComposer = 509;
public static final int thumbnailStatusMessageComposer = 3595;
public static final int tradeCloseWindowComposer = 1001;
public static final int tradeCompleteComposer = 2369;
public static final int tradingAcceptComposer = 2568;
public static final int tradingCloseComposer = 1373;
public static final int tradingConfirmationComposer = 2720;
public static final int tradingItemListComposer = 2024;
public static final int tradingNoSuchItemComposer = 2873;//todo?
public static final int tradingNotOpenComposer = 3128;
public static final int tradingOpenComposer = 2505;
public static final int tradingOpenFailedComposer = 217;
public static final int tradingOtherNotAllowedComposer = 1254;
public static final int tradingYouAreNotAllowedComposer = 3058;
public static final int traxSongInfoMessageComposer = 3365;
public static final int tryPhoneNumberResultMessageComposer = 800;
public static final int tryVerificationCodeResultMessageComposer = 91;
public static final int uniqueMachineIDComposer = 1488;
public static final int unknowncomposer_1188 = 1437; //todo?
public static final int unloadGameMessageComposer = 1715;
public static final int unreadForumsCountMessageComposer = 2379;
public static final int unseenItemsComposer = 2103;
public static final int updateMessageMessageComposer = 324;
public static final int updateStackHeightTileHeightComposer = 2816;
public static final int updateThreadMessageComposer = 2528;
public static final int useObjectMessageComposer = 1774; //todo?
public static final int userBadgesComposer = 1087;
public static final int userBannedMessageComposer = 1683;
public static final int userBCLimitsComposer = -1;
public static final int userChangeMessageComposer = 3920;
public static final int userChatlogComposer = 3377;
public static final int userClassificationMessageComposer = 966;
public static final int userEventCatsComposer = 3244;
public static final int userFlatCatsComposer = 1562;
public static final int userGameAchievementsMessageComposer = 2265;
public static final int userNameChangedMessageComposer = 2182;
public static final int userObjectComposer = 2725;
public static final int userRemoveMessageComposer = 2661;
public static final int userRightsMessageComposer = 411;
public static final int usersComposer = 374;
public static final int userSongDisksInventoryMessageComposer = 2602;
public static final int userTagsMessageComposer = 1255;
public static final int userTypingMessageComposer = 1717;
public static final int userUnbannedFromRoomComposer = 3429;
public static final int userUpdateComposer = 1640;
public static final int voucherRedeemErrorMessageComposer = 714;
public static final int voucherRedeemOkMessageComposer = 3336;
public static final int wardrobeMessageComposer = 3315;
public static final int weeklyCompetitiveFriendsLeaderboardComposer = 3560;//todo?
public static final int weeklyCompetitiveLeaderboardComposer = 3512;//todo?
public static final int weeklyGameRewardComposer = 2641;//todo?
public static final int weeklyGameRewardWinnersComposer = 3097;//todo?
public static final int welcomeGiftChangeEmailResultComposer = 2293;
public static final int welcomeGiftStatusComposer = 2707;
public static final int whisperMessageComposer = 2704;
public static final int wiredConditionDataComposer = 1108;
public static final int wiredEffectDataComposer = 1434;
public static final int wiredRewardResultMessageComposer = 178;
public static final int wiredSavedComposer = 1155;
public static final int wiredTriggerDataComposer = 383;
public static final int wiredValidationErrorComposer = 156;
public static final int youAreControllerMessageComposer = 780;
public static final int youAreNotControllerMessageComposer = 2392;
public static final int youAreOwnerMessageComposer = 339;
public static final int youArePlayingGameMessageComposer = 448;
public static final int youAreSpectatorMessageEvent = 1033;
public static final int youtubeControlVideoMessageComposer = 1554;
public static final int youtubeDisplayPlaylistsComposer = 1112;
public static final int youtubeDisplayVideoMessageComposer = 1411;
/**
* Snowstorm incoming packets, which are not from PRODUCTION-201611291003-338511768, but are in the OpenSource SWF.
* */
public static final int snowStormGameStartedComposer = 5000; public static final int snowStormGameStartedComposer = 5000;
public static final int snowStormQuePositionComposer = 5001; public static final int snowStormQuePositionComposer = 5001;

View File

@ -94,12 +94,16 @@ public class IdleTimeoutHandler extends ChannelDuplexHandler {
super.channelInactive(ctx); super.channelInactive(ctx);
} }
@Override @Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
// check if its a pong message /* check if its a pong message
* TODO: is it the right place to do it?
* how to handle it if you are using multi revision?
*/
if(msg instanceof ClientMessage) { if(msg instanceof ClientMessage) {
ClientMessage packet = (ClientMessage) msg; ClientMessage packet = (ClientMessage) msg;
if(packet.getMessageId() == Incoming.PongEvent) { if(packet.getMessageId() == Incoming.pongEvent) {
this.lastPongTime = System.nanoTime(); this.lastPongTime = System.nanoTime();
} }
} }