Changed packet header names to Nitro's packet header names and make sure the events+composer files match Nitro as well (classname and namespace)

main
Tiger 2023-10-14 18:21:53 +02:00
parent e3a24c5d3d
commit e20079bc2c
32 changed files with 1028 additions and 1079 deletions

View File

@ -4,20 +4,20 @@ using Tiger.Communication.Messages.Types;
using Tiger.Game.Achievements; using Tiger.Game.Achievements;
using Tiger.Networking.Game.Sessions; using Tiger.Networking.Game.Sessions;
namespace Tiger.Communication.Messages.Incoming.Inventory.Achievements; namespace Tiger.Communication.Messages.Incoming.Achievement;
public class GetAchievementsEvent : IMessageEvent public class RequestAchievementsMessageEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
private readonly IAchievementManager _achievementManager; private readonly IAchievementManager _achievementManager;
public GetAchievementsEvent(IGameSessionManager gameSessionManager, IAchievementManager achievementManager) public RequestAchievementsMessageEvent(IGameSessionManager gameSessionManager, IAchievementManager achievementManager)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
_achievementManager = achievementManager; _achievementManager = achievementManager;
} }
public IncomingHeaders Header => IncomingHeaders.GetAchievementsEvent; public IncomingHeaders Header => IncomingHeaders.AchievementList;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)

View File

@ -17,7 +17,7 @@ public class GetCatalogIndexEvent : IMessageEvent
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
} }
public IncomingHeaders Header => IncomingHeaders.GetCatalogIndexEvent; public IncomingHeaders Header => IncomingHeaders.GetCatalogIndex;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)
@ -28,7 +28,7 @@ public class GetCatalogIndexEvent : IMessageEvent
var categories = _catalogueManager.Pages.Values.Where(p => p.Parent is null); var categories = _catalogueManager.Pages.Values.Where(p => p.Parent is null);
await gameSession.SendComposerAsync(new CatalogIndexMessageComposer(categories, await gameSession.SendComposerAsync(new CatalogPagesListComposer(categories,
request.ReadString() ?? "normal")); request.ReadString() ?? "normal"));
} }
} }

View File

@ -17,7 +17,7 @@ public class GetCatalogPageEvent : IMessageEvent
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
} }
public IncomingHeaders Header => IncomingHeaders.GetCatalogPageEvent; public IncomingHeaders Header => IncomingHeaders.GetCatalogPage;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)

View File

@ -1,20 +1,20 @@
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Outgoing.Handshake; using Tiger.Communication.Messages.Outgoing.User.Data;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Networking.Game.Sessions; using Tiger.Networking.Game.Sessions;
namespace Tiger.Communication.Messages.Incoming.Handshake; namespace Tiger.Communication.Messages.Incoming.Handshake;
public class InfoRetrieveEvent : IMessageEvent public class InfoRetrieveMessageEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
public InfoRetrieveEvent(IGameSessionManager gameSessionManager) public InfoRetrieveMessageEvent(IGameSessionManager gameSessionManager)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
} }
public IncomingHeaders Header => IncomingHeaders.InfoRetrieveEvent; public IncomingHeaders Header => IncomingHeaders.UserInfo;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)
@ -23,6 +23,6 @@ public class InfoRetrieveEvent : IMessageEvent
return; return;
} }
await gameSession.SendComposerAsync(new UserObjectMessageComposer(gameSession.Habbo)); await gameSession.SendComposerAsync(new UserInfoComposer(gameSession.Habbo));
} }
} }

View File

@ -1,7 +1,7 @@
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Outgoing.Generic.Alerts; using Tiger.Communication.Messages.Outgoing.Notifications;
using Tiger.Communication.Messages.Outgoing.Handshake; using Tiger.Communication.Messages.Outgoing.Security;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Achievements; using Tiger.Game.Achievements;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
@ -11,15 +11,15 @@ using Tiger.Storage;
namespace Tiger.Communication.Messages.Incoming.Handshake; namespace Tiger.Communication.Messages.Incoming.Handshake;
public class SsoTicketEvent : IMessageEvent public class SsoTicketMessageEvent : IMessageEvent
{ {
private readonly IRepository<Habbo> _habboRepository; private readonly IRepository<Habbo> _habboRepository;
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
private readonly ISettingManager _settingManager; private readonly ISettingManager _settingManager;
private readonly ILogger<SsoTicketEvent> _logger; private readonly ILogger<SsoTicketMessageEvent> _logger;
private readonly IAchievementManager _achievementManager; private readonly IAchievementManager _achievementManager;
public SsoTicketEvent(IRepository<Habbo> habboRepository, IGameSessionManager gameSessionManager, ISettingManager settingManager, ILogger<SsoTicketEvent> logger, IAchievementManager achievementManager) public SsoTicketMessageEvent(IRepository<Habbo> habboRepository, IGameSessionManager gameSessionManager, ISettingManager settingManager, ILogger<SsoTicketMessageEvent> logger, IAchievementManager achievementManager)
{ {
_habboRepository = habboRepository; _habboRepository = habboRepository;
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
@ -28,7 +28,7 @@ public class SsoTicketEvent : IMessageEvent
_achievementManager = achievementManager; _achievementManager = achievementManager;
} }
public IncomingHeaders Header => IncomingHeaders.SSoTicketEvent; public IncomingHeaders Header => IncomingHeaders.SecurityTicket;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
@ -60,7 +60,7 @@ public class SsoTicketEvent : IMessageEvent
_logger.LogInformation("{User} logged in", gameSession.Habbo.Username); _logger.LogInformation("{User} logged in", gameSession.Habbo.Username);
await gameSession.SendComposerAsync(new AuthenticationOkMessageComposer()); await gameSession.SendComposerAsync(new AuthenticatedComposer());
await gameSession.SendComposerAsync(new HabboBroadcastMessageComposer( await gameSession.SendComposerAsync(new HabboBroadcastMessageComposer(
_settingManager.GetSetting<string>("welcome.message") _settingManager.GetSetting<string>("welcome.message")
.Replace("{user}", gameSession.Habbo.Username) .Replace("{user}", gameSession.Habbo.Username)

View File

@ -2,490 +2,468 @@ namespace Tiger.Communication.Messages.Incoming;
public enum IncomingHeaders : short public enum IncomingHeaders : short
{ {
AcceptFriendEvent = 137, AchievementList = 219,
AcceptTradingEvent = 3863, Authentication = -1,
AddAdminRightsToMemberEvent = 2894, BotConfiguration = 1986,
AddFavouriteRoomEvent = 3817, BotPickup = 3323,
AddItemToTradeEvent = 3107, BotPlace = 1592,
AddItemsToTradeEvent = 1263, BotSkillSave = 2624,
AddJukeboxDiskEvent = 753, GetClubOffers = 3285,
AddSpamWallPostItEvent = 3283,
AmbassadorAlertEvent = 2996,
AnswerPollEvent = 3505,
ApplySnapshotEvent = 3373,
ApproveMembershipRequestEvent = 3386,
ApproveNameEvent = 2109,
AssignRightsEvent = 808,
AvatarEffectActivatedEvent = 2959,
AvatarEffectSelectedEvent = 1752,
AvatarExpressionEvent = 2456,
BanUserWithDurationEvent = 1477,
BreedPetsEvent = 1638,
BuildersClubPlaceWallItemEvent = 2462,
BuildersClubQueryFurniCountEvent = 2529,
BuyMarketplaceOfferEvent = 1603,
CallForHelpEvent = 1691,
CallForHelpFromForumMessageEvent = 1412,
CallForHelpFromForumThreadEvent = 534,
CallForHelpFromImEvent = 2950,
CallForHelpFromPhotoEvent = 2492,
CanCreateRoomEvent = 2128,
CancelMarketplaceOfferEvent = 434,
CancelPetBreedingEvent = 2713,
CancelTypingEvent = 1474,
ChangeMottoEvent = 2228,
ChangePostureEvent = 2235,
ChangeUserNameEvent = 2977,
ChatEvent = 1314,
ChatReviewGuideDecidesOnOfferEvent = 3365,
ChatReviewGuideDetachedEvent = 2501,
ChatReviewGuideVoteEvent = 3961,
ChatReviewSessionCreateEvent = 3060,
CheckUserNameEvent = 3950,
ClientHelloEvent = 4000,
CloseIssueDefaultActionEvent = 2717,
CloseIssuesEvent = 2067,
CloseTradingEvent = 2551,
CommandBotEvent = 2624,
CompleteDiffieHandshakeEvent = 773,
CompostPlantEvent = 3835,
ConfirmAcceptTradingEvent = 2760,
ConfirmDeclineTradingEvent = 2341,
ConfirmPetBreedingEvent = 3382,
ControlYoutubeDisplayPlaybackEvent = 3005,
CraftEvent = 3591,
CraftSecretEvent = 1251,
CreateFlatEvent = 2752,
CreateGuildEvent = 230,
CreditFurniRedeemEvent = 3115,
CustomizeAvatarWithFurniEvent = 3374,
CustomizePetWithFurniEvent = 1328,
DanceEvent = 2080,
DeactivateGuildEvent = 1134,
DeclineFriendEvent = 2890,
DeleteFavouriteRoomEvent = 309,
DeleteRoomEvent = 532,
DeselectFavouriteHabboGroupEvent = 1820,
DiceOffEvent = 1533,
DropCarryItemEvent = 2814,
EditEventEvent = 3991,
EnterOneWayDoorEvent = 2765,
EventLogEvent = 3457,
FindNewFriendsEvent = 516,
FollowFriendEvent = 2970,
ForwardToSomeRoomEvent = 1703,
FriendFurniConfirmLockEvent = 3775,
Game2GetAccountGameStatusEvent = 11,
GameUnloadedEvent = 3207,
GetAchievementsEvent = 219,
GetBadgePointLimitsEvent = 1371,
GetBadgesEvent = 2769,
GetBannedUsersFromRoomEvent = 2267,
GetBonusRareInfoEvent = 957,
GetBotCommandConfigurationDataEvent = 1986,
GetBotInventoryEvent = 3848,
GetBundleDiscountRulesetEvent = 223,
GetCatalogIndexEvent = 1195,
GetCatalogPageEvent = 412,
GetCfhChatlogEvent = 211,
GetCfhStatusEvent = 2746,
GetClubGiftInfo = 487, GetClubGiftInfo = 487,
GetClubOffersEvent = 3285, GetCatalogIndex = 1195,
GetCraftableProductsEvent = 633, GetCatalogPage = 412,
GetCraftingRecipeEvent = 1173, CatalogPurchase = 3492,
GetCraftingRecipesAvailableEvent = 3086, CatalogPurchaseGift = 1411,
GetCreditsInfoEvent = 273, GetProductOffer = 2594,
GetCurrentTimingCodeEvent = 2912, ClientLatency = 295,
GetCustomRoomFilterEvent = 1911, ClientLatencyMeasure = 96,
GetExtendedProfileEvent = 3265, ClientPolicy = 26979,
GetFlatControllersEvent = 3385, ClientPong = 2596,
GetForumStatsEvent = 3149, ClientToolbarToggle = 2313,
GetForumsListEvent = 873, ClientVariables = 1053,
GetFriendRequestsEvent = 2448, GetCurrentTimingCode = 2912,
GetFurnitureAliasesEvent = 3898, DesktopView = 105,
GetGameListEvent = 741, GetBundleDiscountRuleset = 223,
GetGameStatusEvent = 3171, EventTracker = 3457,
GetGiftWrappingConfigurationEvent = 418, FindNewFriends = 516,
GetGuestRoomEvent = 2230, FurnitureAliases = 3898,
GetGuideReportingStatusEvent = 3786, FurnitureFloorUpdate = 248,
GetGuildCreationInfoEvent = 798, FurnitureMultistate = 99,
GetGuildEditInfoEvent = 1004, FurniturePickup = 3456,
GetGuildEditorDataEvent = 813, FurniturePlace = 1258,
GetGuildFurniContextMenuInfoEvent = 2651, FurniturePostitPlace = 2248,
GetGuildMembersEvent = 312, FurniturePostitSaveStickyPole = 3283,
GetGuildMembershipsEvent = 367, FurnitureRandomstate = 3617,
GetHabboGroupBadgesEvent = 21, FurnitureWallMultistate = 210,
GetHabboGroupDetailsEvent = 2991, FurnitureWallUpdate = 168,
GetIgnoredUsersEvent = 3878, GamesInit = 2914,
GetItemDataEvent = 3964, GamesList = 741,
GetJukeboxPlayListEvent = 1435, Acceptgameinvite = 3802,
GetLimitedOfferAppearingNextEvent = 410, Gameunloadedmessage = 3207,
GetMotdEvent = 1523, Getgameachievementsmessage = 2399,
GetMarketplaceCanMakeOfferEvent = 848, Getgamestatusmessage = 3171,
GetMarketplaceConfigurationEvent = 2597, Getusergameachievementsmessage = 389,
GetMarketplaceItemStatsEvent = 3288, Joinqueuemessage = 1458,
GetMarketplaceOffersEvent = 2407, Leavequeuemessage = 2384,
GetMarketplaceOwnOffersEvent = 2105, Resetresolutionachievementmessage = 3144,
GetMemberGuildItemCountEvent = 3593, Getweeklygamerewardwinners = 1054,
GetMessagesEvent = 232, Game2Getaccountgamestatusmessage = 11,
GetModeratorRoomInfoEvent = 707, Game2Checkgamedirectorystatusmessage = 3259,
GetModeratorUserInfoEvent = 3295, Game2Exitgamemessage = 1445,
GetNowPlayingEvent = 1325, Game2Gamechatmessage = 2502,
GetOccupiedTilesEvent = 1687, Game2Loadstagereadymessage = 2415,
GetOfficialSongIdEvent = 3189, Game2Playagainmessage = 3196,
GetPendingCallsForHelpEvent = 3267, Game2Requestfullstatusupdatemessage = 1598,
GetPetCommandsEvent = 2161, Game2Getweeklyfriendsleaderboard = 1232,
GetPetInfoEvent = 2934, Game2Getweeklyleaderboard = 2565,
GetPetInventoryEvent = 3095, GetGiftWrappingConfig = 418,
GetPopularRoomTagsEvent = 826, GroupAdminAdd = 2894,
GetProductOfferEvent = 2594, GroupAdminRemove = 722,
GetPromoArticlesEvent = 1827, GroupCreateOptions = 798,
GetRecyclerPrizesEvent = 398, GroupFavorite = 3549,
GetRecyclerStatusEvent = 1342, GetForumStats = 3149,
GetRelationshipStatusInfoEvent = 2138, GetForumThreads = 873,
GetResolutionAchievementsEvent = 359, GetForumsList = 436,
GetRoomAdPurchaseInfoEvent = 1075, GetForumMessages = 232,
GetRoomChatlogEvent = 2587, GetForumThread = 3900,
GetRoomEntryDataEvent = 2300, GetUnreadForumsCount = 2908,
GetRoomEntryTileEvent = 3559, ForumModerateMessage = 286,
GetRoomSettingsEvent = 3129, ForumModerateThread = 1397,
GetRoomVisitsEvent = 3526, ForumPostMessage = 3529,
GetSelectedBadgesMessageEvent = 2091, UpdateForumReadMarker = 1855,
GetSellablePetPalettesEvent = 1756, UpdateForumSettings = 2214,
GetSongInfoEvent = 3082, ForumUpdateThread = 3045,
GetSoundSettingsEvent = 2388, GroupInfo = 2991,
GetTalentTrackEvent = 196, GroupDelete = 1134,
GetTalentTrackLevelEvent = 2127, GroupMemberRemoveConfirm = 3593,
GetThreadsEvent = 436, GroupMemberRemove = 593,
GetUnreadForumsCountEvent = 2908, GroupMembers = 312,
GetUserChatlogEvent = 1391, GroupMemberships = 367,
GetUserEventCatsEvent = 1782, GroupRequest = 998,
GetUserFlatCatsEvent = 3027, GroupRequestAccept = 3386,
GetUserTagsEvent = 17, GroupRequestDecline = 1894,
GetWardrobeEvent = 2742, GroupSettings = 1004,
GetWeeklyGameRewardEvent = 2914, GroupParts = 813,
GetWeeklyGameRewardWinnersEvent = 1054, GroupBuy = 230,
GetYoutubeDisplayStatusEvent = 336, GroupSaveInformation = 3137,
GuideSessionCreateEvent = 3338, GroupSaveBadge = 1991,
GuideSessionFeedbackEvent = 477, GroupSaveColors = 1764,
GuideSessionGetRequesterRoomEvent = 1052, GroupSavePreferences = 3435,
GuideSessionGuideDecidesEvent = 1424, GroupBadges = 21,
GuideSessionInviteRequesterEvent = 234, GroupUnblockMember = 2864,
GuideSessionIsTypingEvent = 519, GetBadgePointsLimits = 1371,
GuideSessionMessageEvent = 3899, Requestabadge = 3077,
GuideSessionOnDutyUpdateEvent = 1922, Getisbadgerequestfulfilled = 1364,
GuideSessionReportEvent = 3969, ItemClothingRedeem = 3374,
GuideSessionRequesterCancelsEvent = 291, ItemColorWheelClick = 2144,
GuideSessionResolvedEvent = 887, ItemDiceClick = 1990,
HabboSearchEvent = 1210, ItemDiceClose = 1533,
// HotelViewClaimBadgeRewardEvent = -1, ItemDimmerSave = 1648,
HotelViewRequestBadgeRewardEvent = 2318, ItemDimmerSettings = 2813,
HotelViewRequestSecondsUntilEvent = 271, ItemDimmerToggle = 2296,
IgnoreUserEvent = 1117, ItemExchangeRedeem = 3115,
InfoRetrieveEvent = 357, ItemPaint = 711,
InitDiffieHandshakeEvent = 3110, SetObjectData = 3608,
JoinHabboGroupEvent = 998, ItemStackHelper = 3839,
JoinQueueEvent = 1458, MarketplaceConfig = 2597,
JukeBoxEventOne = 2304, AcceptFriend = 137,
KickMemberEvent = 593, MessengerChat = 3567,
LatencyPingRequestEvent = 295, DeclineFriend = 2890,
LetUserInEvent = 1644, FollowFriend = 3997,
LookToEvent = 3301, MessengerFriends = 1523,
MakeOfferEvent = 3447, MessengerInit = 2781,
MessengerInitEvent = 2781, MessengerRelationships = 2138,
ModAlertEvent = 229, SetRelationshipStatus = 3768,
ModBanEvent = 2766, RemoveFriend = 1689,
ModKickEvent = 2582, RequestFriend = 3157,
ModMessageEvent = 1840, GetFriendRequests = 2448,
ModMuteEvent = 1945, SendRoomInvite = 1276,
// ModToolRequestRoomUserChatlogEvent = -1, HabboSearch = 1210,
ModToolSanctionEvent = 1392, FriendListUpdate = 1419,
// ModToolWarnEvent = -1, ModToolUserInfo = 3295,
ModTradingLockEvent = 3742, GetUserFlatCats = 3027,
ModerateMessageEvent = 286, NavigatorInit = 2110,
ModerateRoomEvent = 3260, NavigatorSearch = 249,
ModerateThreadEvent = 1397, NavigatorSearchClose = 1834,
ModeratorActionEvent = 3842, NavigatorSearchOpen = 637,
MountPetEvent = 1036, NavigatorSearchSave = 2226,
MoveAvatarEvent = 3320, GetUserEventCats = 1782,
MoveObjectEvent = 248, NavigatorSettingsSave = 3159,
MovePetEvent = 3449, NavigatorCategoryListMode = 1202,
MoveWallItemEvent = 168, NavigatorDeleteSavedSearch = 1954,
MuteAllInRoomEvent = 3637, PetInfo = 2934,
MyFavouriteRoomsSearchEvent = 2578, PetPickup = 1581,
MyFriendsRoomsSearchEvent = 2266, PetPlace = 2647,
MyGuildBasesSearchEvent = 39, PetRespect = 3202,
MyRoomHistorySearchEvent = 2264, PetRide = 1036,
MyRoomRightsSearchEvent = 272, PetMove = 3449,
MyRoomsSearchEvent = 2277, PetOpenPackage = 3698,
NavigatorAddCollapsedCategoryEvent = 1834, PetSelected = 549,
NavigatorAddSavedSearchEvent = 2226, PetsBreed = 1638,
NavigatorDeleteSavedSearchEvent = 1954, PetCancelBreeding = 2713,
NavigatorRemoveCollapsedCategoryEvent = 637, PetConfirmBreeding = 3382,
NavigatorSetSearchCodeViewModeEvent = 1202, GetPetTrainingPanel = 2161,
NewNavigatorInitEvent = 2110, RecyclerPrizes = 398,
NewNavigatorSearchEvent = 249, RecyclerStatus = 1342,
NewUserExperienceGetGiftsEvent = 1822, RecyclerItems = 2771,
NewUserExperienceScriptProceedEvent = 1299, ReleaseVersion = 4000,
OpenCampaignCalendarDoorEvent = 8809, CallForHelp = 1691,
OpenCampaignCalendarDoorAsStaffEvent = 2507, RoomAmbassadorAlert = 2996,
OpenFlatConnectionEvent = 2312, RoomBanGive = 1477,
OpenPetPackageEvent = 3698, RoomBanList = 2267,
OpenTradingEvent = 1481, RoomBanRemove = 992,
PassCarryItemEvent = 2941, RoomCreate = 2752,
PickIssuesEvent = 15, RoomDelete = 532,
PickupObjectEvent = 3456, RoomDoorbell = 1644,
PlaceBotEvent = 1592, RoomEnter = 2312,
PlaceObjectEvent = 1258, RoomFavorite = 3817,
PlacePetEvent = 2647, RoomFavoriteRemove = 309,
PlacePostItEvent = 2248, CanCreateRoom = 2128,
PollRejectEvent = 1773, CancelRoomEvent = 2725,
PollStartEvent = 109, EditRoomEvent = 3991,
PongEvent = 2596, CompetitionRoomSearch = 433,
PopularRoomsSearchEvent = 2758, ForwardToRandomPromotedRoom = 10,
PostMessageEvent = 3529, ForwardToSomeRoom = 1703,
PresentOpenEvent = 3558, GetCategoriesWithUserCount = 3782,
PublishPhotoEvent = 2068, GetGuestRoom = 2230,
PurchaseFromCatalogAsGiftEvent = 1411, GetOfficialRooms = 1229,
PurchaseFromCatalogEvent = 3492, GetPopularRoomTags = 826,
PurchasePhotoEvent = 2408, GuildBaseSearch = 2930,
PurchaseRoomAdEvent = 777, MyFavouriteRoomsSearch = 2578,
PurchaseTargetedOfferEvent = 1826, MyFrequentRoomHistorySearch = 1002,
PurchaseVipMembershipExtensionEvent = 3407, MyFriendsRoomSearch = 2266,
QuitEvent = 105, MyGuildBasesSearch = 39,
RateFlatEvent = 3582, MyRecommendedRooms = 2537,
RecycleItemsEvent = 2771, MyRoomHistorySearch = 2264,
RedeemMarketplaceOfferCreditsEvent = 2650, MyRoomRightsSearch = 272,
RedeemVoucherEvent = 339, MyRoomsSearch = 2277,
RejectMembershipRequestEvent = 1894, PopularRoomsSearch = 2758,
ReleaseIssuesEvent = 1572, RoomAdEventTabClicked = 2412,
RemoveAdminRightsFromMemberEvent = 722, RoomAdEventTabViewed = 2668,
RemoveAllRightsEvent = 2683, RoomAdSearch = 2809,
RemoveBotFromFlatEvent = 3323, RoomTextSearch = 3943,
RemoveFriendEvent = 1689, RoomsWhereMyFriendsAre = 1786,
RemoveItemEvent = 3336, RoomsWithHighestScoreSearch = 2939,
RemoveItemFromTradeEvent = 3845, SetRoomSessionTags = 3305,
RemoveJukeboxDiskEvent = 3050, UpdateRoomThumbnail = 2468,
RemoveOwnRoomRightsRoomEvent = 3182, RoomKick = 1320,
RemovePetFromFlatEvent = 1581, RoomLike = 3582,
RemoveRightsEvent = 2064, RoomModel = 2300,
RemoveSaddleFromPetEvent = 186, GetOccupiedTiles = 1687,
RenderRoomEvent = 3226, GetRoomEntryTile = 3559,
RenderRoomThumbnailEvent = 1982, RoomModelSave = 875,
RentableSpaceCancelRentEvent = 1667, RoomMute = 3637,
RentableSpaceRentEvent = 2946, RoomMuteUser = 3485,
// RequestAchievementConfigurationEvent = -1, RoomRightsGive = 808,
RequestCameraConfigurationEvent = 796, RoomRightsList = 3385,
RequestFriendEvent = 3157, RoomRightsRemove = 2064,
RequestFurniInventoryEvent = 3150, RoomRightsRemoveAll = 2683,
RequestFurniInventoryWhenNotInRoomEvent = 3500, RoomRightsRemoveOwn = 3182,
RequestRoomPropertySet = 711, RoomSettings = 3129,
RespectPetEvent = 3202, RoomSettingsSave = 1969,
RespectUserEvent = 2694, RoomSettingsUpdateRoomCategoryAndTrade = 1265,
RoomDimmerChangeStateEvent = 2296, RoomStaffPick = 1918,
RoomDimmerGetPresetsEvent = 2813, RoomFilterWords = 1911,
RoomDimmerSavePresetEvent = 1648, RoomFilterWordsModify = 3001,
RoomTextSearchEvent = 3943, Mysteryboxwaitingcanceledmessage = 2012,
RoomUserKickEvent = 1320, MysteryboxOpenTrophy = 3074,
RoomUserMuteEvent = 3485, SecurityMachine = 2490,
RoomsWhereMyFriendsAreSearchEvent = 1786, SecurityTicket = 2419,
RoomsWithHighestScoreSearchEvent = 2939, Trade = 1481,
SSoTicketEvent = 2419, TradeAccept = 3863,
SaveRoomSettingsEvent = 1969, TradeCancel = 2341,
SaveWardrobeOutfitEvent = 800, TradeClose = 2551,
ScrGetKickbackInfoEvent = 869, TradeConfirm = 2760,
ScrGetUserInfoEvent = 3166, TradeItem = 3107,
// SearchRoomsByTagEvent = -1, TradeItemRemove = 3845,
SelectClubGiftEvent = 2276, TradeItems = 1263,
SelectFavouriteHabboGroupEvent = 3549, TradeUnaccept = 1444,
SendMsgEvent = 3567, UnitAction = 2456,
SendRoomInviteEvent = 1276, UnitChat = 1314,
SetActivatedBadgesEvent = 644, UnitChatShout = 2085,
SetChatPreferencesEvent = 1262, UnitChatWhisper = 1543,
SetChatStylePreferenceEvent = 1030, UnitDance = 2080,
SetClothingChangeDataEvent = 924, UnitDropHandItem = 2814,
SetCustomStackingHeightEvent = 3839, UnitGiveHanditem = 2941,
SetIgnoreRoomInvitesEvent = 1086, UnitLook = 3301,
SetItemDataEvent = 3666, UnitPosture = 2235,
SetMannequinFigureEvent = 2209, UnitSign = 1975,
SetMannequinNameEvent = 2850, UnitTyping = 1597,
SetNewNavigatorWindowPreferencesEvent = 3159, UnitTypingStop = 1474,
SetObjectDataEvent = 3608, UnitWalk = 3320,
SetRandomStateEvent = 3617, UserBadges = 2769,
SetRelationshipStatusEvent = 3768, UserBadgesCurrent = 2091,
SetRoomBackgroundColorDataEvent = 2880, UserBadgesCurrentUpdate = 644,
SetRoomCameraPreferencesEvent = 1461, UserBots = 3848,
SetSoundSettingsEvent = 1367, UserCurrency = 273,
SetTargetedOfferStateEvent = 2041, UserEffectActivate = 2959,
SetYoutubeDisplayPlaylistEvent = 2069, UserEffectEnable = 1752,
ShoutEvent = 2085, UserFigure = 2730,
SignEvent = 1975, UserFurniture = 3150, // sent when in room
SpinWheelOfFortuneEvent = 2144, Requestfurniinventorywhennotinroom = 3500, // sent when not in room
StartTypingEvent = 1597, UserHomeRoom = 1740,
SubmitRoomToCompetitionEvent = 2595, UserInfo = 357,
ThrowDiceEvent = 1990, UserMotto = 2228,
TogglePetBreedingPermissionEvent = 3379, UserIgnored = 3878,
TogglePetRidingPermissionEvent = 1472, UserPets = 3095,
ToggleStaffPickEvent = 1918, UserProfile = 3265,
UnacceptTradingEvent = 1444, UserProfileByName = 2249,
UnbanUserFromRoomEvent = 992, UserRespect = 2694,
UnignoreUserEvent = 2061, GetSoundSettings = 2388,
UniqueIdEvent = 2490, UserSettingsCamera = 1461,
UpdateActionEvent = 2281, UserSettingsChatStyle = 1030,
UpdateConditionEvent = 3203, UserSettingsInvites = 1086,
UpdateFigureDataEvent = 2730, UserSettingsOldChat = 1262,
UpdateFloorPropertiesEvent = 875, UserSettingsVolume = 1367,
UpdateForumSettingsEvent = 2214, UserSubscription = 3166,
UpdateGuildBadgeEvent = 1991, GetWardrobe = 2742,
UpdateGuildColorsEvent = 1764, SaveWardrobeOutfit = 800,
UpdateGuildIdentityEvent = 3137, UserTags = 17,
UpdateGuildSettingsEvent = 3435, PeerUsersClassification = 1160,
UpdateHomeRoomEvent = 1740, UserClassification = 2285,
UpdateRoomFilterEvent = 3001, VisitUser = 2970,
UpdateThreadEvent = 3045, WiredActionSave = 2281,
UpdateTriggerEvent = 1520, WiredApplySnapshot = 3373,
UpdateUiFlagsEvent = 2313, WiredConditionSave = 3203,
UseFurnitureEvent = 99, WiredOpen = 768,
UseWallItemEvent = 210, WiredTriggerSave = 1520,
VisitUserEvent = 3997, GetItemData = 3964,
WhisperEvent = 1543, OneWayDoorClick = 2765,
AcceptGameInviteEvent = 3802, RemoveWallItem = 3336,
AcceptQuestEvent = 3604, SetItemData = 3666,
ApproveAllMembershipRequestsEvent = 882, CatalogRedeemVoucher = 339,
BuildersClubPlaceRoomItemEvent = 1051, RoomTonerApply = 2880,
BuyMarketplaceTokensEvent = 1866, FriendFurniConfirmLock = 3775,
CallForHelpFromSelfieEvent = 2755, MannequinSaveName = 2850,
CancelEventEvent = 2725, MannequinSaveLook = 2209,
CancelQuestEvent = 3133, PresentOpenPresent = 3558,
ChangeEmailEvent = 3965, CatalogSelectVipGift = 2276,
ChangeQueueEvent = 3093, UserIgnoreId = 3314,
CommunityGoalVoteEvent = 3536, UserIgnore = 1117,
CompetitionRoomsSearchEvent = 433, UserUnignore = 2061,
DeletePendingCallsForHelpEvent = 3605, ModtoolRequestRoomInfo = 707,
DisconnectEvent = 2445, ModtoolChangeRoomSettings = 3260,
ExtendRentOrBuyoutFurniEvent = 1071, ModtoolRequestUserChatlog = 1391,
ExtendRentOrBuyoutStripItemEvent = 2115, ModtoolRequestRoomChatlog = 2587,
ForwardToACompetitionRoomEvent = 172, ModtoolSanctionAlert = 229,
ForwardToARandomPromotedRoomEvent = 10, ModtoolSanctionBan = 2766,
ForwardToRandomCompetitionRoomEvent = 865, ModtoolSanctionKick = 2582,
FriendListUpdateEvent = 1419, ModtoolSanctionTradelock = 3742,
FriendRequestQuestCompleteEvent = 1148, ModtoolAlertevent = 1840,
Game2CheckGameDirectoryStatusEvent = 3259, ModtoolSanctionMute = 1945,
Game2ExitGameEvent = 1445, ModtoolRequestUserRooms = 3526,
Game2GameChatEvent = 2502, ModtoolRoomAlert = 3842,
Game2GetWeeklyFriendsLeaderboardEvent = 1232, ModtoolPreferences = 31,
Game2GetWeeklyLeaderboardEvent = 2565, CloseIssueDefaultAction = 2717,
Game2LoadStageReadyEvent = 2415, CloseIssues = 2067,
Game2PlayAgainEvent = 3196, DefaultSanction = 1681,
Game2RequestFullStatusUpdateEvent = 1598, GetCfhChatlog = 211,
GetCatalogPageExpirationEvent = 742, ModtoolSanction = 1392,
GetCatalogPageWithEarliestExpiryEvent = 3135, PickIssues = 15,
GetCategoriesWithUserCountEvent = 3782, ReleaseIssues = 1572,
GetCommunityGoalEarnedPrizesEvent = 2688, ConvertGlobalRoomId = 314,
GetCommunityGoalHallOfFameEvent = 2167, RequestSellItem = 848,
GetCommunityGoalProgressEvent = 1145, RequestMarketplaceItemStats = 3288,
GetConcurrentUsersGoalProgressEvent = 1343, MarketplaceSellItem = 3447,
GetConcurrentUsersRewardEvent = 3872, MarketplaceRequestOwnItems = 2105,
GetDailyQuestEvent = 2486, MarketplaceTakeBackItem = 434,
GetDirectClubBuyAvailableEvent = 801, MarketplaceRedeemCredits = 2650,
GetEmailStatusEvent = 2557, MarketplaceRequestOffers = 2407,
GetExtendedProfileByNameEvent = 2249, MarketplaceBuyOffer = 1603,
GetFaqCategoryEvent = 3445, MarketplaceBuyTokens = 1866,
GetFaqTextEvent = 1849, CatalogRequesetPetBreeds = 1756,
GetGameAchievementsEvent = 2399, ApproveName = 2109,
GetHabboBasicMembershipExtendOfferEvent = 603, UnitGiveHanditemPet = 2768,
GetInterstitialEvent = 2519, PetSupplement = 749,
GetIsBadgeRequestFulfilledEvent = 1364, FurnitureGroupInfo = 2651,
GetIsOfferGiftableEvent = 1347, AchievementResolutionOpen = 359,
GetIsUserPartOfCompetitionEvent = 2077, UsePetProduct = 1328,
GetNextTargetedOfferEvent = 2487, RemovePetSaddle = 186,
GetOfficialRoomsEvent = 1229, TogglePetRiding = 1472,
GetQuestsEvent = 3333, TogglePetBreeding = 3379,
GetQuizQuestionsEvent = 1296, UnseenResetCategory = 3493,
GetSeasonalCalendarDailyOfferEvent = 3257, UnseenResetItems = 2343,
GetSeasonalQuestsOnlyEvent = 1190, CommunityGoalVoteComposer = 3536,
GetSoundMachinePlayListEvent = 3498, GetPromoArticles = 1827,
GetTargetedOfferEvent = 596, AcceptQuest = 3604,
GetThreadEvent = 3900, ActivateQuest = 793,
GetUserGameAchievementsEvent = 389, CancelQuest = 3133,
GiveSupplementToPetEvent = 749, FriendRequestQuestComplete = 1148,
GoToFlatEvent = 685, GetCommunityGoalEarnedPrizes = 2688,
GuideAdvertisementReadEvent = 2455, GetCommunityGoalHallOfFame = 2167,
GuildBaseSearchEvent = 2930, GetCommunityGoalProgress = 1145,
HarvestPetEvent = 1521, GetConcurrentUsersGoalProgress = 1343,
IgnoreUserIdEvent = 3314, GetConcurrentUsersReward = 3872,
InterstitialShownEvent = 1109, GetDailyQuest = 2486,
LagWarningReportEvent = 3847, GetQuests = 3333,
LatencyPingReportEvent = 96, GetSeasonalQuestsOnly = 1190,
LeaveQueueEvent = 2384, OpenQuestTracker = 2750,
ModToolPreferencesEvent = 31, RedeemCommunityGoalPrize = 90,
MyFrequentRoomHistorySearchEvent = 1002, RejectQuest = 2397,
MyRecommendedRoomsEvent = 2537, StartCampaign = 1697,
MysteryBoxWaitingCanceledEvent = 2012, GetBonusRareInfo = 957,
OpenMysteryTrophyEvent = 3074, Craft = 3591,
OpenQuestTrackerEvent = 2750, CraftSecret = 1251,
OpenWelcomeGiftEvent = 2638, GetCraftableProducts = 633,
PassCarryItemToPetEvent = 2768, GetCraftingRecipe = 1173,
PeerUsersClassificationEvent = 1160, GetCraftingRecipesAvailable = 3086,
PerformanceLogEvent = 3230, PhotoCompetition = 3959,
PetSelectedEvent = 549, PublishPhoto = 2068,
PhotoCompetitionEvent = 3959, PurchasePhoto = 2408,
PostQuizAnswersEvent = 3720, RenderRoom = 3226,
PurchaseBasicMembershipExtensionEvent = 2735, RenderRoomThumbnail = 1982,
RedeemCommunityGoalPrizeEvent = 90, RequestCameraConfiguration = 796,
RejectQuestEvent = 2397, AddJukeboxDisk = 753,
RentableSpaceStatusEvent = 872, GetJukeboxPlaylist = 1435,
RequestABadgeEvent = 3077, GetNowPlaying = 1325,
ResetPhoneNumberStateEvent = 2741, GetOfficialSongId = 3189,
ResetResolutionAchievementEvent = 3144, GetSongInfo = 3082,
ResetUnseenItemIdsEvent = 3493, GetSoundMachinePlaylist = 3498,
ResetUnseenItemsEvent = 2343, GetUserSongDisks = 2304,
RoomAdEventTabAdClickedEvent = 2412, RemoveJukeboxDisk = 3050,
RoomAdEventTabViewedEvent = 2668, InterstitialShown = 1109,
RoomAdPurchaseInitiatedEvent = 2283, GetInterstitial = 2519,
RoomAdSearchEvent = 2809, ChangeUsername = 2977,
RoomCompetitionInitEvent = 1334, CheckUsername = 3950,
RoomNetworkOpenConnectionEvent = 3736, OpenCampaignCalendarDoorStaff= 3889,
RoomUsersClassificationEvent = 2285, OpenCampaignCalendarDoor = 2257,
SearchFaqsEvent = 2031, BuildersClubPlaceRoomItem = 1051,
SetPhoneNumberVerificationStatusEvent = 1379, BuildersClubPlaceWallItem = 462,
SetRoomSessionTagsEvent = 3305, BuildersClubQueryFurniCount = 2529,
ShopTargetedOfferViewedEvent = 3483, GetCatalogPageExpiration = 742,
StartCampaignEvent = 1697, GetCatalogPageWithEarliestExp = 3135,
TryPhoneNumberEvent = 790, GetDirectClubBuyAvailable = 801,
UnblockGroupMemberEvent = 2864, GetHabboBasicMembershipExtendOffer = 603,
UpdateForumReadMarkerEvent = 1855, GetHabboClubExtendOffer = 2462,
UpdateRoomCategoryAndTradeSettingsEvent = 1265, GetIsOfferGiftable = 1347,
UpdateRoomThumbnailEvent = 2468, GetLimitedOfferAppearingNext = 410,
VerifyCodeEvent = 2721, GetNextTargetedOffer = 596,
VersionCheckEvent = 1053, GetRoomAdPurchaseInfo = 1075,
VoteForRoomEvent = 143, GetSeasonalCalendarDailyOffer = 3257,
WelcomeGiftChangeEmailEvent = 66, GetTargetedOffer = 2487,
UnknownSnowStormEvent6000 = 6000, MarkCatalogNewAdditionsPageOpened = 2150,
UnknownSnowStormEvent6001 = 6001, PurchaseBasicMembershipExtension = 2735,
UnknownSnowStormEvent6002 = 6002, PurchaseRoomAd = 777,
UnknownSnowStormEvent6003 = 6003, PurchaseTargetedOffer = 1826,
UnknownSnowStormEvent6004 = 6004, PurchaseVipMembershipExtension = 3407,
UnknownSnowStormEvent6005 = 6005, RoomAdPurchaseInitiated = 2283,
UnknownSnowStormEvent6006 = 6006, SetTargettedOfferState = 2041,
UnknownSnowStormEvent6007 = 6007, ShopTargetedOfferViewed = 3483,
UnknownSnowStormEvent6008 = 6008, HelperTalentTrack = 196,
UnknownSnowStormEvent6009 = 6009, TalentTrackGetLevel = 2127,
UnknownSnowStormEvent6010 = 6010, ForwardToACompetitionRoom = 172,
UnknownSnowStormEvent6011 = 6011, ForwardToASubmittableRoom = 1450,
SnowStormJoinQueueEvent = 6012, ForwardToRandomCompetitionRoom = 865,
UnknownSnowStormEvent6013 = 6013, GetIsUserPartOfCompetition = 2077,
UnknownSnowStormEvent6014 = 6014, GetSecondsUntil = 271,
UnknownSnowStormEvent6015 = 6015, RoomCompetitionInit = 1334,
UnknownSnowStormEvent6016 = 6016, SubmitRoomToCompetition = 2595,
UnknownSnowStormEvent6017 = 6017, VoteForRoom = 143,
UnknownSnowStormEvent6018 = 6018, GetGift = 2436,
UnknownSnowStormEvent6019 = 6019, ResetPhoneNumberState = 2741,
UnknownSnowStormEvent6020 = 6020, SetPhoneNumberVerificationStatus = 1379,
UnknownSnowStormEvent6021 = 6021, TryPhoneNumber = 790,
UnknownSnowStormEvent6022 = 6022, VerifyCode = 2721,
UnknownSnowStormEvent6023 = 6023, ControlYoutubeDisplayPlayback = 3005,
UnknownSnowStormEvent6024 = 6024, GetYoutubeDisplayStatus = 336,
UnknownSnowStormEvent6025 = 6025, SetYoutubeDisplayPlaylist = 2069,
SnowStormUserPickSnowballEvent = 6026, GoToFlat = 685,
ChangeQueue = 3093,
CallForHelpFromForumMessage = 1412,
CallForHelpFromForumThread = 534,
CallForHelpFromIm = 2950,
CallForHelpFromPhoto = 2492,
CallForHelpFromSelfie = 2755,
ChatReviewGuideDecides = 3365,
ChatReviewGuideDetached = 2501,
ChatReviewGuideVote = 3961,
ChatReviewSessionCreate = 3060,
DeletePendingCallsForHelp = 3605,
GetCfhStatus = 2746,
GetFaqCategory = 3445,
GetFaqText = 1849,
GetGuideReportingStatus = 3786,
GetPendingCallsForHelp = 3267,
GetQuizQuestions = 1296,
GuideSessionCreate = 3338,
GuideSessionFeedback = 477,
GuideSessionGetRequesterRoom = 1052,
GuideSessionGuideDecides = 1424,
GuideSessionInviteRequester = 234,
GuideSessionIsTyping = 519,
GuideSessionMessage = 3899,
GuideSessionOnDutyUpdate = 1922,
GuideSessionReport = 3969,
GuideSessionRequesterCancels = 291,
GuideSessionResolved = 887,
PostQuizAnswers = 3720,
SearchFaqs = 2031,
PollAnswer = 3505,
PollReject = 1773,
PollStart = 109,
PollVoteCounter = 6200,
Disconnect = 2445,
ScrGetKickbackInfo = 869,
CompostPlant = 3835,
HarvestPet = 1521,
SetClothingChangeData = 924,
GroupUnfavorite = 1820,
NewUserExperienceGetGifts = 1822,
NewUserExperienceScriptProceed = 1299,
HandshakeInitDiffie = 3110,
HandshakeCompleteDiffie = 773,
WelcomeOpenGift = 2638,
WelcomeGiftChangeEmail = 66,
EmailGetStatus = 2557,
EmailChange = 3965,
ApproveAllMembershipRequests = 882,
RentableSpaceCancelRent = 1667,
RentableSpaceRent = 2946,
RentableSpaceStatus = 872,
TrackingPerformanceLog = 3230,
TrackingLagWarningReport = 3847,
RoomDirectoryRoomNetworkOpenConnection = 3736,
RentableExtendRentOrBuyoutStripItem = 2115,
RentableExtendRentOrBuyoutFurni = 1071,
RentableGetRentOrBuyoutOffer = 2518,
} }

View File

@ -5,16 +5,16 @@ using Tiger.Networking.Game.Sessions;
namespace Tiger.Communication.Messages.Incoming.Inventory.Badges; namespace Tiger.Communication.Messages.Incoming.Inventory.Badges;
public class GetBadgesEvent : IMessageEvent public class RequestBadgesEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
public GetBadgesEvent(IGameSessionManager gameSessionManager) public RequestBadgesEvent(IGameSessionManager gameSessionManager)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
} }
public IncomingHeaders Header => IncomingHeaders.GetBadgesEvent; public IncomingHeaders Header => IncomingHeaders.UserBadges;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)

View File

@ -1,6 +1,6 @@
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Outgoing.Users; using Tiger.Communication.Messages.Outgoing.User.Data;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
using Tiger.Networking.Game.Sessions; using Tiger.Networking.Game.Sessions;
@ -19,7 +19,7 @@ public class SetActivatedBadgesEvent : IMessageEvent
_badgeRepository = badgeRepository; _badgeRepository = badgeRepository;
} }
public IncomingHeaders Header => IncomingHeaders.SetActivatedBadgesEvent; public IncomingHeaders Header => IncomingHeaders.UserBadgesCurrentUpdate;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)
@ -55,6 +55,6 @@ public class SetActivatedBadgesEvent : IMessageEvent
} }
await _badgeRepository.SaveManyAsync(badgesToUpdate.Values); await _badgeRepository.SaveManyAsync(badgesToUpdate.Values);
await gameSession.SendComposerAsync(new HabboUserBadgesMessageComposer(gameSession.Habbo.Id, wearingBadges)); await gameSession.SendComposerAsync(new UserCurrentBadgesComposer(gameSession.Habbo.Id, wearingBadges));
} }
} }

View File

@ -1,21 +1,21 @@
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Outgoing.Inventory.Currency;
using Tiger.Communication.Messages.Outgoing.Notifications; using Tiger.Communication.Messages.Outgoing.Notifications;
using Tiger.Communication.Messages.Outgoing.Users;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Networking.Game.Sessions; using Tiger.Networking.Game.Sessions;
namespace Tiger.Communication.Messages.Incoming.Inventory.Purse; namespace Tiger.Communication.Messages.Incoming.Inventory.Currency;
public class GetCreditsInfoEvent : IMessageEvent public class UserCurrencyEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
public GetCreditsInfoEvent(IGameSessionManager gameSessionManager) public UserCurrencyEvent(IGameSessionManager gameSessionManager)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
} }
public IncomingHeaders Header => IncomingHeaders.GetCreditsInfoEvent; public IncomingHeaders Header => IncomingHeaders.UserCurrency;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)
@ -24,7 +24,7 @@ public class GetCreditsInfoEvent : IMessageEvent
return; return;
} }
await gameSession.SendComposerAsync(new CreditBalanceComposer(gameSession.Habbo.Credits)); await gameSession.SendComposerAsync(new UserCreditsComposer(gameSession.Habbo.Credits));
await gameSession.SendComposerAsync(new ActivityPointsComposer(gameSession.Habbo.Activitypoints.Values)); await gameSession.SendComposerAsync(new UserCurrencyComposer(gameSession.Habbo.Activitypoints.Values));
} }
} }

View File

@ -6,18 +6,18 @@ using Tiger.Networking.Game.Sessions;
namespace Tiger.Communication.Messages.Incoming.Landingview; namespace Tiger.Communication.Messages.Incoming.Landingview;
public class GetPromoArticlesMessageEvent : IMessageEvent public class GetPromoArticlesEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
private readonly ILandingViewManager _landingViewManager; private readonly ILandingViewManager _landingViewManager;
public GetPromoArticlesMessageEvent(IGameSessionManager gameSessionManager, ILandingViewManager landingViewManager) public GetPromoArticlesEvent(IGameSessionManager gameSessionManager, ILandingViewManager landingViewManager)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
_landingViewManager = landingViewManager; _landingViewManager = landingViewManager;
} }
public IncomingHeaders Header => IncomingHeaders.GetPromoArticlesEvent; public IncomingHeaders Header => IncomingHeaders.GetPromoArticles;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)
@ -26,6 +26,6 @@ public class GetPromoArticlesMessageEvent : IMessageEvent
return; return;
} }
await gameSession.SendComposerAsync(new PromoArticlesComposer(_landingViewManager.PromoArticles)); await gameSession.SendComposerAsync(new PromoArticlesMessageComposer(_landingViewManager.PromoArticles));
} }
} }

View File

@ -1,24 +1,24 @@
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Outgoing.Users; using Tiger.Communication.Messages.Outgoing.User.Data;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
using Tiger.Networking.Game.Sessions; using Tiger.Networking.Game.Sessions;
using Tiger.Storage; using Tiger.Storage;
namespace Tiger.Communication.Messages.Incoming.Users; namespace Tiger.Communication.Messages.Incoming.User.Data;
public class GetSelectedBadgesMessageEvent : IMessageEvent public class UserCurrentBadgesEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
private readonly IRepository<Badge> _badgeRepository; private readonly IRepository<Badge> _badgeRepository;
public GetSelectedBadgesMessageEvent(IGameSessionManager gameSessionManager, IRepository<Badge> badgeRepository) public UserCurrentBadgesEvent(IGameSessionManager gameSessionManager, IRepository<Badge> badgeRepository)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
_badgeRepository = badgeRepository; _badgeRepository = badgeRepository;
} }
public IncomingHeaders Header => IncomingHeaders.GetSelectedBadgesMessageEvent; public IncomingHeaders Header => IncomingHeaders.UserBadgesCurrent;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)
@ -32,6 +32,6 @@ public class GetSelectedBadgesMessageEvent : IMessageEvent
if (habboId == null) return; if (habboId == null) return;
var badges = await _badgeRepository.FindByAsync(b => b.Habbo.Id == habboId && b.Slot > 0); var badges = await _badgeRepository.FindByAsync(b => b.Habbo.Id == habboId && b.Slot > 0);
await gameSession.SendComposerAsync(new HabboUserBadgesMessageComposer(habboId.Value, badges.ToList())); await gameSession.SendComposerAsync(new UserCurrentBadgesComposer(habboId.Value, badges.ToList()));
} }
} }

View File

@ -7,16 +7,16 @@ using Tiger.Game.Habbos;
using Tiger.Networking.Game.Sessions; using Tiger.Networking.Game.Sessions;
using Tiger.Storage; using Tiger.Storage;
namespace Tiger.Communication.Messages.Incoming.Register; namespace Tiger.Communication.Messages.Incoming.User.Data;
public class UpdateFigureDataMessageEvent : IMessageEvent public class UserFigureEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
private readonly IFigureDataManager _figureDataManager; private readonly IFigureDataManager _figureDataManager;
private readonly IRepository<Habbo> _habboRepository; private readonly IRepository<Habbo> _habboRepository;
private readonly IAchievementManager _achievementManager; private readonly IAchievementManager _achievementManager;
public UpdateFigureDataMessageEvent(IGameSessionManager gameSessionManager, IFigureDataManager figureDataManager, IRepository<Habbo> habboRepository, IAchievementManager achievementManager) public UserFigureEvent(IGameSessionManager gameSessionManager, IFigureDataManager figureDataManager, IRepository<Habbo> habboRepository, IAchievementManager achievementManager)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
_figureDataManager = figureDataManager; _figureDataManager = figureDataManager;
@ -24,7 +24,7 @@ public class UpdateFigureDataMessageEvent : IMessageEvent
_achievementManager = achievementManager; _achievementManager = achievementManager;
} }
public IncomingHeaders Header => IncomingHeaders.UpdateFigureDataEvent; public IncomingHeaders Header => IncomingHeaders.UserFigure;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
if (gameSession.Habbo == null) if (gameSession.Habbo == null)

View File

@ -1,24 +1,24 @@
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Outgoing.Users; using Tiger.Communication.Messages.Outgoing.User.Data;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
using Tiger.Networking.Game.Sessions; using Tiger.Networking.Game.Sessions;
using Tiger.Storage; using Tiger.Storage;
namespace Tiger.Communication.Messages.Incoming.Users; namespace Tiger.Communication.Messages.Incoming.User.Data;
public class GetExtendedProfileEvent : IMessageEvent public class UserProfileEvent : IMessageEvent
{ {
private readonly IGameSessionManager _gameSessionManager; private readonly IGameSessionManager _gameSessionManager;
private readonly IRepository<Habbo> _habboRepository; private readonly IRepository<Habbo> _habboRepository;
public GetExtendedProfileEvent(IGameSessionManager gameSessionManager, IRepository<Habbo> habboRepository) public UserProfileEvent(IGameSessionManager gameSessionManager, IRepository<Habbo> habboRepository)
{ {
_gameSessionManager = gameSessionManager; _gameSessionManager = gameSessionManager;
_habboRepository = habboRepository; _habboRepository = habboRepository;
} }
public IncomingHeaders Header => IncomingHeaders.GetExtendedProfileEvent; public IncomingHeaders Header => IncomingHeaders.UserProfile;
public async Task HandleAsync(GameSession gameSession, ClientMessage request) public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{ {
var habboId = request.ReadInt32(); var habboId = request.ReadInt32();
@ -37,6 +37,6 @@ public class GetExtendedProfileEvent : IMessageEvent
return; return;
} }
await gameSession.SendComposerAsync(new ExtendedProfileComposer(habbo)); await gameSession.SendComposerAsync(new UserProfileComposer(habbo));
} }
} }

View File

@ -14,7 +14,7 @@ public class FigureUpdateComposer : IMessageComposer
_gender = gender; _gender = gender;
} }
public OutgoingHeaders Header => OutgoingHeaders.FigureUpdateComposer; public OutgoingHeaders Header => OutgoingHeaders.UserFigure;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendString(_figure); message.AppendString(_figure);

View File

@ -17,7 +17,7 @@ public class CatalogPageMessageComposer : IMessageComposer
_mode = mode; _mode = mode;
} }
public OutgoingHeaders Header => OutgoingHeaders.CatalogPageMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.CatalogPage;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_page.Id); message.AppendInt32(_page.Id);

View File

@ -4,18 +4,18 @@ using Tiger.Game.Catalogue;
namespace Tiger.Communication.Messages.Outgoing.Catalog; namespace Tiger.Communication.Messages.Outgoing.Catalog;
public class CatalogIndexMessageComposer : IMessageComposer public class CatalogPagesListComposer : IMessageComposer
{ {
private readonly IEnumerable<CataloguePage> _pages; private readonly IEnumerable<CataloguePage> _pages;
private readonly string _mode; private readonly string _mode;
public CatalogIndexMessageComposer(IEnumerable<CataloguePage> pages, string mode) public CatalogPagesListComposer(IEnumerable<CataloguePage> pages, string mode)
{ {
_pages = pages; _pages = pages;
_mode = mode; _mode = mode;
} }
public OutgoingHeaders Header => OutgoingHeaders.CatalogIndexMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.CatalogPageList;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendBoolean(true); message.AppendBoolean(true);

View File

@ -16,7 +16,7 @@ public class AchievementComposer : IMessageComposer
_habboAchievement = habboAchievement; _habboAchievement = habboAchievement;
} }
public OutgoingHeaders Header => OutgoingHeaders.AchievementComposer; public OutgoingHeaders Header => OutgoingHeaders.AchievementProgressed;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
var targetLevel = _habboAchievement.Level == _achievement.Levels.Count var targetLevel = _habboAchievement.Level == _achievement.Levels.Count

View File

@ -16,7 +16,7 @@ public class AchievementsComposer : IMessageComposer
_habbo = habbo; _habbo = habbo;
} }
public OutgoingHeaders Header => OutgoingHeaders.AchievementsComposer; public OutgoingHeaders Header => OutgoingHeaders.AchievementList;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_achievements.Count); message.AppendInt32(_achievements.Count);

View File

@ -12,7 +12,7 @@ public class AchievementsScoreComposer : IMessageComposer
_score = score; _score = score;
} }
public OutgoingHeaders Header => OutgoingHeaders.AchievementsScoreComposer; public OutgoingHeaders Header => OutgoingHeaders.UserAchievementScore;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_score); message.AppendInt32(_score);

View File

@ -13,7 +13,7 @@ public class BadgesComposer : IMessageComposer
_badges = badges != null ? badges.ToList() : new List<Badge>(); _badges = badges != null ? badges.ToList() : new List<Badge>();
} }
public OutgoingHeaders Header => OutgoingHeaders.BadgesComposer; public OutgoingHeaders Header => OutgoingHeaders.UserBadges;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_badges.Count); message.AppendInt32(_badges.Count);

View File

@ -1,18 +1,18 @@
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
namespace Tiger.Communication.Messages.Outgoing.Users; namespace Tiger.Communication.Messages.Outgoing.Inventory.Currency;
public class CreditBalanceComposer : IMessageComposer public class UserCreditsComposer : IMessageComposer
{ {
private readonly int _credits; private readonly int _credits;
public CreditBalanceComposer(int credits) public UserCreditsComposer(int credits)
{ {
_credits = credits; _credits = credits;
} }
public OutgoingHeaders Header => OutgoingHeaders.CreditBalanceComposer; public OutgoingHeaders Header => OutgoingHeaders.UserCredits;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendString($"{_credits}.0"); message.AppendString($"{_credits}.0");

View File

@ -2,18 +2,18 @@ using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
namespace Tiger.Communication.Messages.Outgoing.Notifications; namespace Tiger.Communication.Messages.Outgoing.Inventory.Currency;
public class ActivityPointsComposer : IMessageComposer public class UserCurrencyComposer : IMessageComposer
{ {
private readonly ICollection<Activitypoints> _activitypoints; private readonly ICollection<Activitypoints> _activitypoints;
public ActivityPointsComposer(ICollection<Activitypoints> activitypoints) public UserCurrencyComposer(ICollection<Activitypoints> activitypoints)
{ {
_activitypoints = activitypoints; _activitypoints = activitypoints;
} }
public OutgoingHeaders Header => OutgoingHeaders.ActivityPointsMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.UserCurrency;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_activitypoints.Count); message.AppendInt32(_activitypoints.Count);

View File

@ -4,16 +4,16 @@ using Tiger.Game.LandingView;
namespace Tiger.Communication.Messages.Outgoing.Landingview; namespace Tiger.Communication.Messages.Outgoing.Landingview;
public class PromoArticlesComposer : IMessageComposer public class PromoArticlesMessageComposer : IMessageComposer
{ {
private readonly ICollection<PromoArticle> _promoArticles; private readonly ICollection<PromoArticle> _promoArticles;
public PromoArticlesComposer(ICollection<PromoArticle> promoArticles) public PromoArticlesMessageComposer(ICollection<PromoArticle> promoArticles)
{ {
_promoArticles = promoArticles; _promoArticles = promoArticles;
} }
public OutgoingHeaders Header => OutgoingHeaders.PromoArticlesMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.PromoArticles;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_promoArticles.Count); message.AppendInt32(_promoArticles.Count);

View File

@ -15,7 +15,7 @@ public class AchievementNotificationMessageComposer : IMessageComposer
_badgeId = badgeId; _badgeId = badgeId;
} }
public OutgoingHeaders Header => OutgoingHeaders.AchievementNotificationMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.AchievementNotification;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_habboAchievement.Achievement.Id); message.AppendInt32(_habboAchievement.Achievement.Id);

View File

@ -16,7 +16,7 @@ public class ActivityPointNotificationMessageComposer : IMessageComposer
_type = type; _type = type;
} }
public OutgoingHeaders Header => OutgoingHeaders.ActivityPointNotificationMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.ActivityPointNotification;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_amount); message.AppendInt32(_amount);

View File

@ -1,7 +1,7 @@
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
namespace Tiger.Communication.Messages.Outgoing.Generic.Alerts; namespace Tiger.Communication.Messages.Outgoing.Notifications;
public class HabboBroadcastMessageComposer : IMessageComposer public class HabboBroadcastMessageComposer : IMessageComposer
{ {
@ -12,7 +12,7 @@ public class HabboBroadcastMessageComposer : IMessageComposer
_welcomeMessage = welcomeMessage; _welcomeMessage = welcomeMessage;
} }
public OutgoingHeaders Header => OutgoingHeaders.HabboBroadcastMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.GenericAlert;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendString(_welcomeMessage); message.AppendString(_welcomeMessage);

View File

@ -1,507 +1,475 @@
namespace Tiger.Communication.Messages.Outgoing; namespace Tiger.Communication.Messages.Outgoing;
public enum OutgoingHeaders public enum OutgoingHeaders : short
{ {
AcceptFriendResultComposer = 896, AchievementList = 305,
AccountPreferencesComposer = 513, Authenticated = 2491,
AccountSafetyLockStatusChangeMessageComposer = 1243, Authentication = -1,
AchievementComposer = 2107, AvailabilityStatus = 2033,
AchievementResolutionCompletedMessageComposer = 740, BuildersClubExpired = 1452,
AchievementResolutionProgressMessageComposer = 3370, ClubOffers = 2405,
AchievementResolutionsMessageComposer = 66, CatalogPage = 804,
AchievementsComposer = 305, CatalogPageList = 1032,
AchievementsScoreComposer = 1968, CatalogPurchaseOk = 869,
ActivityPointsMessageComposer = 2018, CatalogPurchaseError = 1404,
ApproveNameMessageComposer = 1503, CatalogPurchaseNotAllowed = 3770,
AuthenticationOkMessageComposer = 2491, ProductOffer = 3388,
AvailabilityStatusMessageComposer = 2033, LimitedSoldOut = 377,
AvailabilityTimeMessageComposer = 600, CatalogPublished = 1866,
AvatarEffectActivatedMessageComposer = 1959, CfhResultMessage = 3635,
AvatarEffectAddedMessageComposer = 2867, ClientLatency = 10,
AvatarEffectExpiredMessageComposer = 2228, ClientPing = 3928,
AvatarEffectMessageComposer = 1167, DesktopCampaign = 1745,
AvatarEffectSelectedMessageComposer = 3473, DesktopNews = 286,
AvatarEffectsMessageComposer = 340, DesktopView = 122,
BadgePointLimitsComposer = 2501, BundleDiscountRuleset = 2347,
BadgeReceivedComposer = 2493, FirstLoginOfDay = 793,
BadgesComposer = 717, FurnitureAliases = 1723,
BannedUsersFromRoomComposer = 1869, FurnitureData = 2547,
BonusRareInfoMessageComposer = 1533, FurnitureFloor = 1778,
BotAddedToInventoryComposer = 1352, FurnitureFloorAdd = 1534,
BotCommandConfigurationComposer = 1618, FurnitureFloorRemove = 2703,
BotErrorComposer = 639, FurnitureFloorUpdate = 3776,
BotForceOpenContextMenuComposer = 296, FurnitureItemdata = 2202,
BotInventoryComposer = 3086, FurnitureState = 2376,
BotReceivedMessageComposer = 3684, FurnitureGroupContextMenuInfo = 3293,
BotRemovedFromInventoryComposer = 233, FurniturePostitStickyPoleOpen = 2366,
BotSkillListUpdateComposer = 69, GameCenterAchievements = 2265,
BuildersClubFurniCountMessageComposer = 3828, GameCenterGameList = 222,
BuildersClubSubscriptionStatusMessageComposer = 1452, GameCenterStatus = 2893,
BundleDiscountRulesetMessageComposer = 2347, GameCenterInArenaQueue = 872,
CallForHelpDisabledNotifyMessageComposer = 1651, GameCenterStopCounter = 3191,
CallForHelpPendingCallsDeletedMessageComposer = 77, GameCenterUserLeftGame = 3138,
CallForHelpPendingCallsMessageComposer = 1121, GameCenterDirectoryStatus = 2246,
CallForHelpReplyMessageComposer = 3796, GameCenterStartingGameFailed = 2142,
CallForHelpResultMessageComposer = 3635, GameCenterJoiningFailed = 1730,
CameraPublishStatusMessageComposer = 2057, Gamestatusmessage = 3805,
CameraPurchaseOkMessageComposer = 2783, Gameachievements = 1689,
CameraSnapshotMessageComposer = 463, Gameinvite = 904,
CameraStorageUrlMessageComposer = 3696, Joiningqueuefailed = 3035,
CampaignCalendarDataMessageComposer = 2531, Joinedqueuemessage = 2260,
CampaignCalendarDoorOpenedMessageComposer = 2551, Leftqueue = 1477,
CanCreateRoomComposer = 378, LoadGameUrl = 2624,
CanCreateRoomEventComposer = 2599, Loadgame = 3654,
CantConnectMessageComposer = 899, Unloadgame = 1715,
CarryObjectMessageComposer = 1474, Achievementresolutioncompleted = 740,
CatalogPageExpirationComposer = 2668, Achievementresolutionprogress = 3370,
CatalogPageMessageComposer = 804, Achievementresolutions = 66,
CatalogIndexMessageComposer = 1032, GenericAlert = 3801,
CatalogPageWithEarliestExpiryMessageComposer = 2515, ModeratorMessage = 2030,
CatalogPublishedMessageComposer = 1866, GenericError = 1600,
CategoriesWithVisitorCountComposer = 1455, GiftWrapperConfig = 2234,
CfhChatlogComposer = 607, GroupBadges = 2402,
CfhSanctionMessageComposer = 2782, GroupCreateOptions = 2159,
CfhTopicsInitComposer = 325, GroupForumData = 3011,
ChangeEmailResultComposer = 1815, GroupForumList = 3001,
ChangeUserNameResultMessageEvent = 118, GroupForumThreads = 1073,
ChatMessageComposer = 1446, GroupForumPost = 2049,
ChatReviewSessionDetachedMessageComposer = 30, GroupForumPostThread = 1862,
ChatReviewSessionOfferedToGuideMessageComposer = 735, GroupForumThreadMessages = 509,
ChatReviewSessionResultsMessageComposer = 3276, GroupForumUnreadCount = 2379,
ChatReviewSessionStartedMessageComposer = 143, GroupForumUpdateMessage = 324,
ChatReviewSessionVotingStatusMessageComposer = 1829, GroupForumUpdateThread = 2528,
CheckUserNameResultMessageComposer = 563, GroupInfo = 1702,
CitizenshipVipOfferPromoEnabledComposer = 2278, GroupList = 420,
CloseConnectionMessageComposer = 122, GroupMember = 265,
ClubGiftInfoComposer = 619, GroupMembers = 1200,
ClubGiftNotificationComposer = 2188, GroupMembersRefresh = 2445,
ClubGiftSelectedComposer = 659, GroupMemberRemoveConfirm = 1876,
CollapsedCategoriesComposer = 1543, GroupPurchased = 2808,
CommunityGoalEarnedPrizesMessageComposer = 3319, GroupSettings = 3965,
CommunityGoalHallOfFameMessageComposer = 3005, GroupBadgeParts = 2238,
CommunityGoalProgressMessageComposer = 2525, GroupMembershipRequested = 1180,
CommunityGoalVoteMessageComposer = 1435, GroupDetailsChanged = 1459,
CompetitionEntrySubmitResultComposer = 1177, GroupHabboJoinFailed = 762,
CompetitionRoomsDataMessageComposer = 3954, GuildEditFailed = 3988,
CompetitionStatusMessageComposer = 133, GuildMemberMgmtFailed = 818,
CompetitionVotingInfoMessageComposer = 3506, ItemDimmerSettings = 2710,
CompleteDiffieHandshakeComposer = 3885, ItemStackHelper = 2816,
ConcurrentUsersGoalProgressMessageComposer = 2737, ItemWall = 1369,
ConfirmBreedingRequestComposer = 634, ItemWallAdd = 2187,
ConfirmBreedingResultComposer = 1625, ItemWallRemove = 3208,
ConvertedRoomIdComposer = 1331, ItemWallUpdate = 2009,
CraftableProductsComposer = 1000, MarketplaceConfig = 1823,
CraftingRecipeComposer = 2774, MessengerAcceptFriends = 896,
CraftingRecipesAvailableComposer = 2124, MessengerChat = 1587,
CraftingResultComposer = 618, MessengerFindFriends = 1210,
CreditBalanceComposer = 3475, MessengerFollowFailed = 3048,
CurrentTimingCodeMessageComposer = 1745, MessengerFriendNotification = 3082,
CustomUserNotificationMessageComposer = 909, MessengerFriends = 3130,
DanceMessageComposer = 2233, MessengerInit = 1605,
DiceValueMessageComposer = 3431, MessengerInstanceMessageError = 3359,
DirectSmsClubBuyAvailableMessageComposer = 195, MessengerInvite = 3870,
DisconnectReasonComposer = 4000, MessengerInviteError = 462,
DoorbellMessageComposer = 2309, MessengerMessageError = 892,
ElementPointerMessageComposer = 1787, MessengerMinimailCount = 2803,
EmailStatusResultComposer = 612, MessengerMinimailNew = 1911,
EpicPopupMessageComposer = 3945, MessengerRelationships = 2016,
ErrorReportComposer = 1004, MessengerRequest = 2219,
ExpressionMessageComposer = 1631, MessengerRequestError = 892,
ExtendedProfileChangedMessageComposer = 876, MessengerRequests = 280,
ExtendedProfileMessageComposer = 3898, MessengerSearch = 973,
FaqCategoriesMessageComposer = 2756, MessengerUpdate = 2800,
FaqCategoryMessageComposer = 2819, ModerationReportDisabled = 1651,
FaqClientFaqsMessageComposer = 2492, ModerationTool = 2696,
FaqSearchResultsMessageComposer = 1551, ModerationUserInfo = 2866,
FaqTextMessageComposer = 3292, MotdMessages = 2035,
FavoriteMembershipUpdateMessageComposer = 3403, NavigatorCategories = 1562,
FavouriteChangedComposer = 2524, NavigatorCollapsed = 1543,
FavouritesComposer = 151, NavigatorEventCategories = 3244,
FigureSetIdsComposer = 1450, NavigatorLifted = 3104,
FigureUpdateComposer = 2429, NavigatorMetadata = 3052,
FindFriendsProcessResultComposer = 1210, NavigatorOpenRoomCreator = 2064,
FlatAccessDeniedMessageComposer = 878, NavigatorSearch = 2690,
FlatAccessibleMessageComposer = 3783, NavigatorSearches = 3984,
FlatControllerAddedComposer = 2088, NavigatorSettings = 518,
FlatControllerRemovedComposer = 1327, ThumbnailUpdateResult = 1927,
FlatControllersComposer = 1284, CanCreateRoom = 378,
FlatCreatedComposer = 1304, CategoriesWithVisitorCount = 1455,
FloodControlMessageComposer = 566, CompetitionRoomsData = 3954,
FloorHeightMapComposer = 1301, ConvertedRoomId = 1331,
FollowFriendFailedComposer = 3048, GuestRoomSearchResult = 52,
ForumDataMessageComposer = 3011, NotificationList = 1992,
ForumsListMessageComposer = 3001, NotificationOfferRewardDelivered = 2125,
FriendFurniCancelLockMessageComposer = 770, NotificationSimpleAlert = 5100,
FriendFurniOtherLockConfirmedMessageComposer = 382, NotificationElementPointer = 1787,
FriendFurniStartConfirmationMessageComposer = 3753, PetFigureUpdate = 1924,
FriendListFragmentMessageComposer = 3130, PetInfo = 2901,
FriendListUpdateComposer = 2800, PetTrainingPanel = 1164,
FriendNotificationComposer = 3082, PetLevelUpdate = 2824,
FriendRequestsComposer = 280, PetScratchFailed = 1130,
FurniListAddOrUpdateComposer = 104, PetOpenPackageRequested = 2380,
FurniListComposer = 994, PetOpenPackageResult = 546,
FurniListInvalidateComposer = 3151, PetBreeding = 1746,
FurniListRemoveComposer = 159, PetConfirmBreedingResult = 1625,
FurniRentOrBuyoutOfferMessageComposer = 35, PetGoToBreedingNestFailure = 2621,
FurnitureAliasesMessageComposer = 1723, PetNestBreedingSuccess = 2527,
Game2AccountGameStatusMessageComposer = 2893, PetConfirmBreedingRequest = 634,
Game2GameDirectoryStatusMessageComposer = 2246, PetBreedingResult = 1553,
Game2InArenaQueueMessageComposer = 872, RecyclerPrizes = 3164,
Game2JoiningGameFailedMessageComposer = 1730, RecyclerStatus = 3433,
Game2StopCounterMessageComposer = 2233, RecyclerFinished = 468,
Game2UserLeftGameMessageComposer = 2383, RoomBanList = 1869,
Game2WeeklyFriendsLeaderboardComposer = 2270, RoomBanRemove = 3429,
Game2WeeklyLeaderboardComposer = 2196, RoomCreated = 1304,
GameAchievementsMessageComposer = 1689, RoomDoorbell = 2309,
GameInviteMessageComposer = 904, RoomDoorbellAccepted = 3783,
GameListMessageComposer = 222, RoomDoorbellRejected = 878,
GamePlayerValueMessageComposer = 2324, RoomEnter = 758,
GameStatusMessageComposer = 3805, RoomEnterError = 899,
GenericErrorComposer = 1600, RoomForward = 160,
GetGuestRoomResultComposer = 687, RoomHeightMap = 2753,
GiftReceiverNotFoundComposer = 1517, RoomHeightMapUpdate = 558,
GiftWrappingConfigurationComposer = 2234, RoomInfo = 687,
GotMysteryBoxPrizeMessageComposer = 3712, RoomInfoOwner = 749,
GoToBreedingNestFailureComposer = 2621, RoomModel = 1301,
GroupDetailsChangedMessageComposer = 1459, RoomModelBlockedTiles = 3990,
GroupMembershipRequestedMessageComposer = 1180, RoomModelDoor = 1664,
GuestRoomSearchResultComposer = 52, RoomModelName = 2031,
GuideOnDutyStatusMessageComposer = 1548, RoomMuted = 2533,
GuideReportingStatusMessageComposer = 3463, RoomMuteUser = 826,
GuideSessionAttachedMessageComposer = 1591, RoomPaint = 2454,
GuideSessionDetachedMessageComposer = 138, RoomPromotion = 2274,
GuideSessionEndedMessageComposer = 1456, RoomQueueStatus = 2208,
GuideSessionErrorMessageComposer = 673, RoomRights = 780,
GuideSessionInvitedToGuideRoomMessageComposer = 219, RoomRightsClear = 2392,
GuideSessionMessageMessageComposer = 841, RoomRightsList = 1284,
GuideSessionPartnerIsTypingComposer = 1016, RoomRightsListAdd = 2088,
GuideSessionRequesterRoomMessageComposer = 1847, RoomRightsListRemove = 1327,
GuideSessionStartedComposer = 3209, RoomRightsOwner = 339,
GuideTicketCreationResultMessageComposer = 3285, RoomRolling = 3207,
GuideTicketResolutionMessageComposer = 2674, RoomScore = 482,
GuildCreatedMessageComposer = 2808, RoomSettings = 1498,
GuildCreationInfoMessageComposer = 2159, RoomSettingsChat = 1191,
GuildEditFailedMessageComposer = 3988, RoomSettingsSave = 948,
GuildEditInfoMessageComposer = 3965, RoomSettingsSaveError = 1555,
GuildEditorDataMessageComposer = 2238, RoomInfoUpdated = 3297,
GuildForumThreadsComposer = 1073, RoomSpectator = 1033,
GuildFurniContextMenuInfoMessageComposer = 3293, RoomThickness = 3547,
GuildMemberFurniCountInHqMessageComposer = 1876, RoomGetFilterWords = 2937,
GuildMemberMgmtFailedMessageComposer = 818, RoomMessageNotification = 1634,
GuildMembersComposer = 1200, RoomPopularTagsResult = 2012,
GuildMembershipRejectedMessageComposer = 2445, InfoFeedEnable = 3284,
GuildMembershipsMessageComposer = 420, SecurityMachine = 1488,
GuildMembershipUpdatedMessageComposer = 265, MysteryBoxKeys = 2833,
AchievementNotificationMessageComposer = 806, Gotmysteryboxprizemessage = 3712,
ActivityPointNotificationMessageComposer = 2275, Cancelmysteryboxwaitmessage = 596,
HabboBroadcastMessageComposer = 3801, Showmysteryboxwaitmessage = 3201,
HabboClubExtendOfferMessageComposer = 3964, TradeAccepted = 2568,
HabboClubOffersMessageComposer = 2405, TradeClosed = 1373,
HabboGroupBadgesMessageComposer = 2402, TradeCompleted = 1001,
HabboGroupDeactivatedMessageComposer = 3129, TradeConfirmation = 2720,
HabboGroupDetailsMessageComposer = 1702, TradeListItem = 2024,
HabboGroupJoinFailedMessageComposer = 762, TradeNotOpen = 3128,
HabboSearchResultComposer = 973, TradeOpen = 2505,
HabboWayQuizComposer1 = 3379, TradeOpenFailed = 217,
HandItemReceivedMessageComposer = 354, TradeOtherNotAllowed = 1254,
HeightMapComposer = 2753, TradeYouNotAllowed = 3058,
HeightMapUpdateMessageComposer = 558, TradeNoSuchItem = 2873,
HotelClosedAndOpensComposer = 3728, Unit = 374,
HotelClosesAndWillOpenAtComposer = 2771, UnitChangeName = 2182,
HotelMergeNameChangeComposer = 1663, UnitChat = 1446,
HotelViewCatalogPageExpiringComposer = 690, UnitChatShout = 1036,
HotelViewCustomTimerComposer = -1, UnitChatWhisper = 2704,
HotelWillCloseInMinutesComposer = 1050, UnitDance = 2233,
IdentityAccountsComposer = 3523, UnitEffect = 1167,
IgnoredUsersMessageComposer = 126, UnitExpression = 1631,
IgnoreResultMessageComposer = 207, UnitHandItem = 1474,
InClientLinkMessageComposer = 2023, UnitIdle = 1797,
InfoFeedEnableMessageComposer = 3284, UnitInfo = 3920,
InitCameraMessageComposer = 3878, UnitNumber = 2324,
InitDiffieHandshakeComposer = 1347, UnitRemove = 2661,
InstantMessageErrorComposer = 3359, UnitStatus = 1640,
InterstitialMessageComposer = 1808, UnitTyping = 1717,
IsBadgeRequestFulfilledComposer = 2998, UnseenItems = 2103,
IsFirstLoginOfDayComposer = 793, UserAchievementScore = 1968,
IsOfferGiftableMessageComposer = 761, UserBadges = 717,
IssueCloseNotificationMessageComposer = 934, UserBadgesAdd = 2493,
IssueDeletedMessageComposer = 3192, UserBadgesCurrent = 1087,
IssueInfoMessageComposer = 3609, UserBotRemove = 233,
IssuePickFailedMessageComposer = 3150, UserBots = 3086,
IsUserPartOfCompetitionMessageComposer = 3841, UserChangeName = 118,
ItemAddMessageComposer = 2187, UserClothing = 1450,
ItemDataUpdateMessageComposer = 2202, UserCredits = 3475,
ItemRemoveMessageComposer = 3208, UserCurrency = 2018,
ItemsComposer = 1369, ActivityPointNotification = 2275,
ItemUpdateMessageComposer = 2009, UserEffects = 340,
JoinedQueueMessageComposer = 2260, UserFavoriteRoom = 2524,
JoiningQueueFailedMessageComposer = 3035, UserFavoriteRoomCount = 151,
JukeBoxPlaylistFullMessageComposer = 105, UserFigure = 2429,
JukeboxSongDisksMessageComposer = 34, UserFurniture = 994,
LatencyPingResponseMessageComposer = 10, UserFurnitureAdd = 104,
LeftQueueMessageComposer = 1477, UserFurniturePostitPlaced = 1501,
LimitedEditionSoldOutComposer = 377, UserFurnitureRefresh = 3151,
LimitedOfferAppearingNextMessageComposer = 44, UserFurnitureRemove = 159,
LoadGameMessageComposer = 3654, UserHomeRoom = 2875,
LoadGameUrlMessageComposer = 2624, RoomEventCancel = 3479,
MaintenanceStatusMessageComposer = 1350, RoomEvent = 1840,
MarketplaceBuyOfferResultComposer = 2032, UserIgnored = 126,
MarketplaceCancelOfferResultComposer = 3264, UserIgnoredResult = 207,
MarketplaceCanMakeOfferResult = 54, UserInfo = 2725,
MarketplaceConfigurationComposer = 1823, UserOutfits = 3315,
MarketplaceItemStatsComposer = 725, UserPerks = 2586,
MarketplaceMakeOfferResult = 1359, UserPermissions = 411,
MarketplaceOffersComposer = 680, UserPetAdd = 2101,
MarketPlaceOwnOffersComposer = 3884, UserPetRemove = 3253,
MessengerErrorComposer = 892, UserPets = 3522,
MessengerInitComposer = 1605, UserProfile = 3898,
MiniMailNewMessageComposer = 1911, UserRespect = 2815,
MiniMailUnreadCountComposer = 2803, UserSanctionStatus = 3679,
ModeratorActionResultMessageComposer = 2335, UserSettings = 513,
ModeratorCautionComposer = 1890, UserSubscription = 954,
ModeratorInitMessageComposer = 2696, UserWardrobePage = 3315,
ModeratorMessageComposer = 2030, UserClassification = 966,
ModeratorRoomInfoComposer = 1333, GetUserTags = 1255,
ModeratorToolPreferencesComposer = 1576, WiredAction = 1434,
ModeratorUserInfoComposer = 2866, WiredCondition = 1108,
MOtdNotificationComposer = 2035, WiredError = 156,
MuteAllInRoomComposer = 2533, WiredOpen = 1830,
MysteryBoxClosingComposer = 596, WiredReward = 178,
MysteryBoxKeysMessageComposer = 2833, WiredSave = 1155,
MysteryBoxStartComposer = 3201, WiredTrigger = 383,
NavigatorLiftedRoomsComposer = 3104, PlayingGame = 448,
NavigatorMetaDataComposer = 3052, FurnitureState2 = 3431,
NavigatorSavedSearchesComposer = 3984, RemoveBotFromInventory = 233,
NavigatorSearchResultBlocksComposer = 2690, AddBotToInventory = 1352,
NavigatorSettingsComposer = 2875, AchievementProgressed = 2107,
NestBreedingSuccessComposer = 2527, ModtoolRoomInfo = 1333,
NewConsoleMessageComposer = 1587, ModtoolUserChatlog = 3377,
NewFriendRequestComposer = 2219, ModtoolRoomChatlog = 3434,
NewNavigatorPreferencesComposer = 518, ModtoolVisitedRoomsUser = 1752,
NewUserExperienceGiftOfferComposer = 3575, ModeratorActionResult = 2335,
NewUserExperienceNotCompleteComposer = 3639, IssueDeleted = 3192,
NoobnessLevelMessageComposer = 3738, IssueInfo = 3609,
NoOwnedRoomsAlertMessageComposer = 2064, IssuePickFailed = 3150,
NoSuchFlatComposer = 84, CfhChatlog = 607,
NotEnoughBalanceMessageComposer = 3914, ModeratorToolPreferences = 1576,
NotificationDialogMessageComposer = 1992, LovelockFurniStart = 3753,
NowPlayingMessageComposer = 469, LovelockFurniFriendComfirmed = 382,
ObjectAddMessageComposer = 1534, LovelockFurniFinished = 770,
ObjectDataUpdateMessageComposer = 2547, GiftReceiverNotFound = 1517,
ObjectRemoveMessageComposer = 2703, GiftOpened = 56,
ObjectsDataUpdateMessageComposer = 1453, FloodControl = 566,
ObjectsMessageComposer = 1778, RemainingMute = 826,
ObjectUpdateMessageComposer = 3776, UserEffectList = 340,
OfferRewardDeliveredMessageComposer = 2125, UserEffectListAdd = 2867,
OfficialRoomsComposer = 2726, UserEffectListRemove = 2228,
OfficialSongIdMessageComposer = 1381, UserEffectActivate = 1959,
OneWayDoorStatusMessageComposer = 2376, AvatarEffectSelected = 3473,
OpenComposer = 1830, ClubGiftInfo = 619,
OpenConnectionMessageComposer = 758, RedeemVoucherError = 714,
OpenPetPackageRequestedMessageComposer = 2380, RedeemVoucherOk = 3336,
OpenPetPackageResultMessageComposer = 546, InClientLink = 2023,
PerkAllowancesComposer = 2586, BotCommandConfiguration = 1618,
PetAddedToInventoryComposer = 2101, BotSkillListUpdate = 69,
PetBreedingComposer = 1746, BotForceOpenContextMenu = 296,
PetBreedingResultComposer = 1553, HandItemReceived = 354,
PetExperienceComposer = 2156, PetPlacingError = 2913,
PetFigureUpdateComposer = 1924, BotError = 639,
PetInfoMessageComposer = 2901, MarketplaceSellItem = 54,
PetInventoryComposer = 3522, MarketplaceItemStats = 725,
PetLevelNotificationComposer = 859, MarketplaceOwnItems = 3884,
PetLevelUpdateComposer = 2824, MarketplaceCancelSale = 3264,
PetPlacingErrorComposer = 2913, MarketplaceItemPosted = 1359,
PetReceivedMessageComposer = 1111, MarketplaceItemsSearched = 680,
PetRemovedFromInventoryComposer = 3253, MarketplaceAfterOrderStatus = 2032,
PetRespectFailedComposer = 1130, CatalogReceivePetBreeds = 3331,
PetRespectNotificationComposer = 2788, CatalogApproveNameResult = 1503,
PetStatusUpdateComposer = 1907, ObjectsDataUpdate = 1453,
PetSupplementedNotificationComposer = 3441, PetExperience = 2156,
PetTrainingPanelComposer = 1164, CommunityGoalVoteEvent = 1435,
PhoneCollectionStateMessageComposer = 2890, PromoArticles = 286,
PingMessageComposer = 3928, CommunityGoalEarnedPrizes = 3319,
PlayListMessageComposer = 1748, CommunityGoalProgress = 2525,
PlayListSongAddedMessageComposer = 1140, ConcurrentUsersGoalProgress = 2737,
PollContentsComposer = 2997, QuestDaily = 1878,
PollErrorComposer = 662, QuestCancelled = 3027,
PollOfferComposer = 3785, QuestCompleted = 949,
PopularRoomTagsResultComposer = 2012, CommunityGoalHallOfFame = 3005,
PostItPlacedComposer = 1501, EpicPopup = 3945,
PostMessageMessageComposer = 2049, SeasonalQuests = 1122,
PostThreadMessageComposer = 1862, Quests = 3625,
PresentOpenedMessageComposer = 56, Quest = 230,
ProductOfferComposer = 3388, BonusRareInfo = 1533,
PromoArticlesMessageComposer = 286, CraftableProducts = 1000,
PurchaseErrorMessageComposer = 1404, CraftingRecipe = 2774,
PurchaseNotAllowedMessageComposer = 3770, CraftingRecipesAvailable = 2124,
PurchaseOkMessageComposer = 869, CraftingResult = 618,
QuestCancelledMessageComposer = 3027, CameraPublishStatus = 2057,
QuestCompletedMessageComposer = 949, CameraPurchaseOk = 2783,
QuestDailyMessageComposer = 1878, CameraStorageUrl = 3696,
QuestionAnsweredComposer = 2589, CameraSnapshot = 463,
QuestionComposer = 2665, CompetitionStatus = 133,
QuestionFinishedComposer = 1066, InitCamera = 3878,
QuestionInfoComposer = -1, ThumbnailStatus = 3595,
QuestMessageComposer = 230, AchievementNotification = 806,
QuestsMessageComposer = 3625, ClubGiftNotification = 2188,
QuizDataMessageComposer = 2927, InterstitialMessage = 1808,
QuizResultsMessageComposer = 2772, RoomAdError = 1759,
RecyclerFinishedComposer = 468, AvailabilityTime = 600,
RecyclerPrizesComposer = 3164, HotelClosedAndOpens = 3728,
RecyclerStatusComposer = 3433, HotelClosesAndOpensAt = 2771,
RelationshipStatusInfoComposer = 2016, HotelWillCloseMinutes = 1050,
RemainingMutePeriodComposer = 826, HotelMaintenance = 1350,
RentableSpaceRentFailedMessageComposer = 1868, JukeboxPlaylistFull = 105,
RentableSpaceRentOkMessageComposer = 2046, JukeboxSongDisks = 34,
RentableSpaceStatusMessageComposer = 3559, NowPlaying = 469,
RequestSpamWallPostItMessageComposer = 2366, OfficialSongId = 1381,
RestoreClientMessageComposer = 426, Playlist = 1748,
RoomAdErrorComposer = 1759, PlaylistSongAdded = 1140,
RoomAdPurchaseInfoComposer = 2468, TraxSongInfo = 3365,
RoomChatlogComposer = 3434, UserSongDisksInventory = 2602,
RoomChatSettingsMessageComposer = 1191, CheckUserName = 563,
RoomDimmerPresetsComposer = 2710, CfhSanction = 2782,
RoomEntryInfoComposer = -1, CfhTopics = 325,
RoomEntryInfoMessageComposer = 749, CfhSanctionStatus = 2221,
RoomEntryTileMessageComposer = 1664, CampaignCalendarData = 2531,
RoomEventCancelComposer = 3479, CampaignCalendarDoorOpened = 2551,
RoomEventComposer = 1840, BuildersClubFurniCount = 3828,
RoomFilterSettingsMessageComposer = 2937, BuildersClubSubscription = 1452,
RoomFloorThicknessUpdatedComposer = 3786, CatalogPageExpiration = 2668,
RoomForwardMessageComposer = 160, CatalogEarliestExpiry = 2515,
RoomInfoUpdatedComposer = 3297, ClubGiftSelected = 659,
RoomInviteComposer = 3870, TargetOfferNotFound = 1237,
RoomInviteErrorComposer = 462, TargetOffer = 119,
RoomMessageNotificationMessageComposer = 1634, DirectSmsClubBuy = 195,
RoomOccupiedTilesMessageComposer = 3990, RoomAdPurchase = 2468,
RoomPropertyMessageComposer = 2454, NotEnoughBalance = 3914,
RoomQueueStatusMessageComposer = 2208, LimitedOfferAppearingNext = 44,
RoomRatingComposer = 482, IsOfferGiftable = 761,
RoomReadyMessageComposer = 2031, ClubExtendedOffer = 3964,
RoomSettingsDataComposer = 1498, SeasonalCalendarOffer = 1889,
RoomSettingsErrorComposer = 2897, CompetitionEntrySubmit = 1177,
RoomSettingsSavedComposer = 948, CompetitionVotingInfo = 3506,
RoomSettingsSaveErrorComposer = 1555, CompetitionTimingCode = 1745,
RoomThumbnailUpdateResultComposer = 1927, CompetitionUserPartOf = 3841,
RoomUserQuestionAnsweredComposer = -1, CompetitionNoOwnedRooms = 2064,
RoomUserRespectComposer = 2815, CompetitionSecondsUntil = 3926,
RoomVisitsComposer = 1752, BadgePointLimits = 2501,
RoomVisualizationSettingsComposer = 3547, BadgeRequestFulfilled = 2998,
SanctionStatusComposer = 2221, HelperTalentTrack = 3406,
ScrSendKickbackInfoMessageComposer = 3277, TalentTrackLevel = 1203,
ScrSendUserInfoComposer = 954, TalentTrackLevelUp = 638,
SeasonalCalendarDailyOfferMessageComposer = 1889, UserBanned = 1683,
SeasonalQuestsMessageComposer = 1122, BotReceived = 3684,
SecondsUntilMessageComposer = 3926, PetLevelNotification = 859,
SellablePetPalettesMessageComposer = 3331, PetReceived = 1111,
ShoutMessageComposer = 1036, ModerationCaution = 1890,
ShowEnforceRoomCategoryDialogComposer = 3896, YoutubeControlVideo = 1554,
SleepMessageComposer = 1797, YoutubeDisplayPlaylists = 1112,
SlideObjectBundleMessageComposer = 3207, YoutubeDisplayVideo = 1411,
Str16258Composer = 1660, CfhDisabledNotify = 1651,
Str16667Composer = 3099, Question = 2665,
Str17054Composer = 416, PollContents = 2997,
TalentLevelUpComposer = 638, PollError = 662,
TalentTrackLevelMessageEvent = 1203, PollOffer = 3785,
TalentTrackMessageComposer = 3406, PollRoomResult = 5201,
TargetedOfferComposer = 119, PollStartRoom = 5200,
TargetedOfferNotFoundComposer = 1237, QuestionAnswered = 2589,
ThreadMessagesMessageComposer = 509, QuestionFinished = 1066,
ThumbnailStatusMessageComposer = 3595, CfhPendingCalls = 1121,
TradeCloseWindowComposer = 1001, GuideOnDutyStatus = 1548,
TradeCompleteComposer = 2369, GuideSessionAttached = 1591,
TradingAcceptComposer = 2568, GuideSessionDetached = 138,
TradingCloseComposer = 1373, GuideSessionEnded = 1456,
TradingConfirmationComposer = 2720, GuideSessionError = 673,
TradingItemListComposer = 2024, GuideSessionInvitedToGuideRoom = 219,
TradingNoSuchItemComposer = 2873, GuideSessionMessage = 841,
TradingNotOpenComposer = 3128, GuideSessionPartnerIsTyping = 1016,
TradingOpenComposer = 2505, GuideSessionRequesterRoom = 1847,
TradingOpenFailedComposer = 217, GuideSessionStarted = 3209,
TradingOtherNotAllowedComposer = 1254, GuideTicketCreationResult = 3285,
TradingYouAreNotAllowedComposer = 3058, GuideTicketResolution = 2674,
TraxSongInfoMessageComposer = 3365, GuideReportingStatus = 3463,
TryPhoneNumberResultMessageComposer = 800, HotelMergeNameChange = 1663,
TryVerificationCodeResultMessageComposer = 91, IssueCloseNotification = 934,
UniqueMachineIdComposer = 1488, QuizData = 2927,
Unknowncomposer1188 = 1437, QuizResults = 2772,
UnloadGameMessageComposer = 1715, CfhPendingCallsDeleted = 77,
UnreadForumsCountMessageComposer = 2379, CfhReply = 3796,
UnseenItemsComposer = 2103, ChatReviewSessionDetached = 30,
UpdateMessageMessageComposer = 324, ChatReviewSessionOfferedToGuide = 735,
UpdateStackHeightTileHeightComposer = 2816, ChatReviewSessionResults = 3276,
UpdateThreadMessageComposer = 2528, ChatReviewSessionStarted = 143,
UseObjectMessageComposer = 1774, ChatReviewSessionVotingStatus = 1829,
HabboUserBadgesMessageComposer = 1087, ScrSendKickbackInfo = 3277,
UserBannedMessageComposer = 1683, PetStatus = 1907,
UserBcLimitsComposer = -1, GroupDeactivate = 3129,
UserChangeMessageComposer = 3920, PetRespected = 2788,
UserChatlogComposer = 3377, PetSupplement = 3441,
UserClassificationMessageComposer = 966, NoobnessLevel = 3738,
UserEventCatsComposer = 3244, DisconnectReason = 4000,
UserFlatCatsComposer = 1562, CanCreateRoomEvent = 2599,
UserGameAchievementsMessageComposer = 2265, FavoriteGroupUdpate = 3403,
UserNameChangedMessageComposer = 2182, NoSuchFlat = 84,
UserObjectComposer = 2725, RoomSettingsError = 2897,
UserRemoveMessageComposer = 2661, ShowEnforceRoomCategory = 3896,
UserRightsMessageComposer = 411, CustomUserNotification = 909,
UsersComposer = 374, NewUserExperienceGiftOffer = 3575,
UserSongDisksInventoryMessageComposer = 2602, RestoreClient = 426,
UserTagsMessageComposer = 1255, FireworkChargeData = 5210,
UserTypingMessageComposer = 1717, NewUserExperienceNotComplete = 3639,
UserUnbannedFromRoomComposer = 3429, ConnectionError = 1004,
UserUpdateComposer = 1640, AccountSafetyLockStatusChange = 1243,
VoucherRedeemErrorMessageComposer = 714, PhoneCollectionState = 2890,
VoucherRedeemOkMessageComposer = 3336, PhoneTryNumberResult = 800,
WardrobeMessageComposer = 3315, PhoneTryVerificationCodeResult = 91,
WeeklyCompetitiveFriendsLeaderboardComposer = 3560, ExtendedProfileChanged = 876,
WeeklyCompetitiveLeaderboardComposer = 3512, WelcomeGiftChangeEmailResult = 2293,
WeeklyGameRewardComposer = 2641, WelcomeGiftStatus = 2707,
WeeklyGameRewardWinnersComposer = 3097, HandshakeInitDiffie = 1347,
WelcomeGiftChangeEmailResultComposer = 2293, HandshakeCompleteDiffie = 3885,
WelcomeGiftStatusComposer = 2707, RentableSpaceRentOk = 2046,
WhisperMessageComposer = 2704, RentableSpaceStatus = 3559,
WiredConditionDataComposer = 1108, RentableSpaceRentFailed = 1868,
WiredEffectDataComposer = 1434, EmailStatus = 612,
WiredRewardResultMessageComposer = 178, ChangeEmailResult = 1815,
WiredSavedComposer = 1155, WeeklyGameReward = 2641,
WiredTriggerDataComposer = 383, WeeklyGameRewardWinners = 3097,
WiredValidationErrorComposer = 156, WeeklyCompetitiveLeaderboard = 3512,
YouAreControllerMessageComposer = 780, WeeklyCompetitiveFriendsLeaderboard = 3560,
YouAreNotControllerMessageComposer = 2392, WeeklyGame2FriendsLeaderboard = 2270,
YouAreOwnerMessageComposer = 339, WeeklyGame2Leaderboard = 2196,
YouArePlayingGameMessageComposer = 448, RentableFurniRentOrBuyoutOffer = 35,
YouAreSpectatorMessageEvent = 1033, HandshakeIdentityAccount = 3523,
YoutubeControlVideoMessageComposer = 1554,
YoutubeDisplayPlaylistsComposer = 1112,
YoutubeDisplayVideoMessageComposer = 1411,
SnowStormGameStartedComposer = 5000,
SnowStormQuePositionComposer = 5001,
SnowStormStartBlockTickerComposer = 5002,
SnowStormStartLobbyCounterComposer = 5003,
SnowStormUnusedAlertGenericComposer = 5004,
SnowStormLongDataComposer = 5005,
SnowStormGameEndedComposer = 5006,
SnowStormQuePlayerAddedComposer = 5008,
SnowStormPlayAgainComposer = 5009,
SnowStormGamesLeftComposer = 5010,
SnowStormQuePlayerRemovedComposer = 5011,
SnowStormGamesInformationComposer = 5012,
SnowStormLongData2Composer = 5013,
UnusedSnowstorm5014 = 5014,
SnowStormGameStatusComposer = 5015,
SnowStormFullGameStatusComposer = 5016,
SnowStormOnStageStartComposer = 5017,
SnowStormIntializeGameArenaViewComposer = 5018,
SnowStormRejoinPreviousRoomComposer = 5019,
UnknownSnowstorm5020 = 5020,
SnowStormLevelDataComposer = 5021,
SnowStormOnGameEndingComposer = 5022,
SnowStormUserChatMessageComposer = 5023,
SnowStormOnStageRunningComposer = 5024,
SnowStormOnStageEndingComposer = 5025,
SnowStormIntializedPlayersComposer = 5026,
SnowStormOnPlayerExitedArenaComposer = 5027,
SnowStormGenericErrorComposer = 5028,
SnowStormUserRematchedComposer = 5029
} }

View File

@ -1,11 +1,11 @@
using Tiger.Communication.Messages.Interfaces; using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
namespace Tiger.Communication.Messages.Outgoing.Handshake; namespace Tiger.Communication.Messages.Outgoing.Security;
public class AuthenticationOkMessageComposer : IMessageComposer public class AuthenticatedComposer : IMessageComposer
{ {
public OutgoingHeaders Header => OutgoingHeaders.AuthenticationOkMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.Authenticated;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {

View File

@ -2,20 +2,20 @@ using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
namespace Tiger.Communication.Messages.Outgoing.Users; namespace Tiger.Communication.Messages.Outgoing.User.Data;
public class HabboUserBadgesMessageComposer : IMessageComposer public class UserCurrentBadgesComposer : IMessageComposer
{ {
private readonly int _habboId; private readonly int _habboId;
private readonly ICollection<Badge> _badges; private readonly ICollection<Badge> _badges;
public HabboUserBadgesMessageComposer(int habboId, ICollection<Badge> badges) public UserCurrentBadgesComposer(int habboId, ICollection<Badge> badges)
{ {
_habboId = habboId; _habboId = habboId;
_badges = badges; _badges = badges;
} }
public OutgoingHeaders Header => OutgoingHeaders.HabboUserBadgesMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.UserBadgesCurrent;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_habboId); message.AppendInt32(_habboId);

View File

@ -3,18 +3,18 @@ using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
namespace Tiger.Communication.Messages.Outgoing.Handshake; namespace Tiger.Communication.Messages.Outgoing.User.Data;
public class UserObjectMessageComposer : IMessageComposer public class UserInfoComposer : IMessageComposer
{ {
private readonly Habbo _habbo; private readonly Habbo _habbo;
public UserObjectMessageComposer(Habbo habbo) public UserInfoComposer(Habbo habbo)
{ {
_habbo = habbo; _habbo = habbo;
} }
public OutgoingHeaders Header => OutgoingHeaders.UserObjectComposer; public OutgoingHeaders Header => OutgoingHeaders.UserInfo;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_habbo.Id); message.AppendInt32(_habbo.Id);

View File

@ -3,18 +3,18 @@ using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Types; using Tiger.Communication.Messages.Types;
using Tiger.Game.Habbos; using Tiger.Game.Habbos;
namespace Tiger.Communication.Messages.Outgoing.Users; namespace Tiger.Communication.Messages.Outgoing.User.Data;
public class ExtendedProfileComposer : IMessageComposer public class UserProfileComposer : IMessageComposer
{ {
private readonly Habbo _habbo; private readonly Habbo _habbo;
public ExtendedProfileComposer(Habbo habbo) public UserProfileComposer(Habbo habbo)
{ {
_habbo = habbo; _habbo = habbo;
} }
public OutgoingHeaders Header => OutgoingHeaders.ExtendedProfileMessageComposer; public OutgoingHeaders Header => OutgoingHeaders.UserProfile;
public void Compose(ServerMessage message) public void Compose(ServerMessage message)
{ {
message.AppendInt32(_habbo.Id); message.AppendInt32(_habbo.Id);

View File

@ -30,4 +30,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Communication\Messages\Incoming\Avatar\" />
</ItemGroup>
</Project> </Project>