diff --git a/src/main/java/com/eu/habbo/habbohotel/gameclients/GameClient.java b/src/main/java/com/eu/habbo/habbohotel/gameclients/GameClient.java index a05ef0a0..9d0b2918 100644 --- a/src/main/java/com/eu/habbo/habbohotel/gameclients/GameClient.java +++ b/src/main/java/com/eu/habbo/habbohotel/gameclients/GameClient.java @@ -6,6 +6,7 @@ import com.eu.habbo.habbohotel.users.Habbo; import com.eu.habbo.messages.ServerMessage; import com.eu.habbo.messages.incoming.MessageHandler; import com.eu.habbo.messages.outgoing.MessageComposer; +import com.eu.habbo.plugin.events.emulator.OutgoingPacketEvent; import io.netty.channel.Channel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -87,6 +88,17 @@ public class GameClient { return; } + OutgoingPacketEvent event = new OutgoingPacketEvent(this.habbo, response.getComposer(), response); + Emulator.getPluginManager().fireEvent(event); + + if (event.isCancelled()) { + return; + } + + if (event.hasCustomMessage()) { + response = event.getCustomMessage(); + } + this.channel.write(response, this.channel.voidPromise()); this.channel.flush(); } @@ -99,6 +111,17 @@ public class GameClient { return; } + OutgoingPacketEvent event = new OutgoingPacketEvent(this.habbo, response.getComposer(), response); + Emulator.getPluginManager().fireEvent(event); + + if (event.isCancelled()) { + continue; + } + + if (event.hasCustomMessage()) { + response = event.getCustomMessage(); + } + this.channel.write(response); } diff --git a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java index 03a2f242..d298cf2e 100644 --- a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java +++ b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java @@ -4795,16 +4795,28 @@ public class Room implements Comparable, ISerialize, Runnable { } } - if(height > MAXIMUM_FURNI_HEIGHT) return FurnitureMovementError.CANT_STACK; - if(height < this.getLayout().getHeightAtSquare(tile.x, tile.y)) return FurnitureMovementError.CANT_STACK; //prevent furni going under the floor + boolean cantStack = false; + boolean pluginHeight = false; + + if(height > MAXIMUM_FURNI_HEIGHT) { + cantStack = true; + } + if(height < this.getLayout().getHeightAtSquare(tile.x, tile.y)) { + cantStack = true; + } if (Emulator.getPluginManager().isRegistered(FurnitureBuildheightEvent.class, true)) { FurnitureBuildheightEvent event = Emulator.getPluginManager().fireEvent(new FurnitureBuildheightEvent(item, actor, 0.00, height)); if (event.hasChangedHeight()) { height = event.getUpdatedHeight(); + pluginHeight = true; } } + if(!pluginHeight && cantStack) { + return FurnitureMovementError.CANT_STACK; + } + item.setX(tile.x); item.setY(tile.y); item.setZ(height); diff --git a/src/main/java/com/eu/habbo/messages/ServerMessage.java b/src/main/java/com/eu/habbo/messages/ServerMessage.java index 91f52457..a2f0ca46 100644 --- a/src/main/java/com/eu/habbo/messages/ServerMessage.java +++ b/src/main/java/com/eu/habbo/messages/ServerMessage.java @@ -1,5 +1,6 @@ package com.eu.habbo.messages; +import com.eu.habbo.messages.outgoing.MessageComposer; import com.eu.habbo.util.PacketUtils; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufOutputStream; @@ -19,6 +20,7 @@ public class ServerMessage { private AtomicInteger refs; private ByteBufOutputStream stream; private ByteBuf channelBuffer; + private MessageComposer composer; public ServerMessage() { @@ -38,6 +40,7 @@ public class ServerMessage { this.refs = new AtomicInteger(0); this.channelBuffer = Unpooled.buffer(); this.stream = new ByteBufOutputStream(this.channelBuffer); + this.composer = null; try { this.stream.writeInt(0); @@ -185,4 +188,12 @@ public class ServerMessage { return this.channelBuffer.copy(); } + public MessageComposer getComposer() { + return composer; + } + + public void setComposer(MessageComposer composer) { + this.composer = composer; + } + } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/MessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/MessageComposer.java index d55e8db8..531abd0b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/MessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/MessageComposer.java @@ -17,6 +17,7 @@ public abstract class MessageComposer { public ServerMessage compose() { if (this.composed == null) { this.composed = this.composeInternal(); + this.composed.setComposer(this); } return this.composed; diff --git a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementListComposer.java index be1660fe..70da8c84 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementListComposer.java @@ -58,4 +58,8 @@ public class AchievementListComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java index 8cf649b7..9727d7dd 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementProgressComposer.java @@ -56,4 +56,12 @@ public class AchievementProgressComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public Achievement getAchievement() { + return achievement; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementUnlockedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementUnlockedComposer.java index ca2449f3..a8f8e9d0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementUnlockedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/achievements/AchievementUnlockedComposer.java @@ -35,4 +35,12 @@ public class AchievementUnlockedComposer extends MessageComposer { this.response.appendBoolean(true); return this.response; } + + public Achievement getAchievement() { + return achievement; + } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentLevelUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentLevelUpdateComposer.java index 3a515350..ec5aa51a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentLevelUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentLevelUpdateComposer.java @@ -38,4 +38,12 @@ public class TalentLevelUpdateComposer extends MessageComposer { } return this.response; } + + public TalentTrackType getTalentTrackType() { + return talentTrackType; + } + + public TalentTrackLevel getTalentTrackLevel() { + return talentTrackLevel; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentTrackComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentTrackComposer.java index 87515a2b..9029c052 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentTrackComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/achievements/talenttrack/TalentTrackComposer.java @@ -127,4 +127,12 @@ public class TalentTrackComposer extends MessageComposer { this.id = id; } } + + public Habbo getHabbo() { + return habbo; + } + + public TalentTrackType getType() { + return type; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraCompetitionStatusComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraCompetitionStatusComposer.java index 31d4ef68..06836815 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraCompetitionStatusComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraCompetitionStatusComposer.java @@ -20,4 +20,12 @@ public class CameraCompetitionStatusComposer extends MessageComposer { this.response.appendString(this.unknownString); return this.response; } + + public boolean isUnknownBoolean() { + return unknownBoolean; + } + + public String getUnknownString() { + return unknownString; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPriceComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPriceComposer.java index 133352c9..dbf95e09 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPriceComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPriceComposer.java @@ -23,4 +23,16 @@ public class CameraPriceComposer extends MessageComposer { this.response.appendInt(this.pointsType); return this.response; } + + public int getCredits() { + return credits; + } + + public int getPoints() { + return points; + } + + public int getPointsType() { + return pointsType; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java index 9c012410..f58771f6 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraPublishWaitMessageComposer.java @@ -28,4 +28,16 @@ public class CameraPublishWaitMessageComposer extends MessageComposer { return this.response; } + + public boolean isOk() { + return isOk; + } + + public int getCooldownSeconds() { + return cooldownSeconds; + } + + public String getExtraDataId() { + return extraDataId; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraURLComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraURLComposer.java index 414f6f57..0aefeadc 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraURLComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/camera/CameraURLComposer.java @@ -17,4 +17,8 @@ public class CameraURLComposer extends MessageComposer { this.response.appendString(this.URL); return this.response; } + + public String getURL() { + return URL; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseFailedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseFailedComposer.java index 4a8a456a..c3e8b4e4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseFailedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseFailedComposer.java @@ -20,4 +20,8 @@ public class AlertPurchaseFailedComposer extends MessageComposer { this.response.appendInt(this.error); return this.response; } + + public int getError() { + return error; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseUnavailableComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseUnavailableComposer.java index fb4f8095..ab84df6f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseUnavailableComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/AlertPurchaseUnavailableComposer.java @@ -20,4 +20,8 @@ public class AlertPurchaseUnavailableComposer extends MessageComposer { this.response.appendInt(this.code); return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogModeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogModeComposer.java index 4c45a1db..e095fe5d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogModeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogModeComposer.java @@ -17,4 +17,8 @@ public class CatalogModeComposer extends MessageComposer { this.response.appendInt(this.mode); return this.response; } + + public int getMode() { + return mode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPageComposer.java index 0f4d8bd5..3607aa00 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPageComposer.java @@ -68,4 +68,20 @@ public class CatalogPageComposer extends MessageComposer { page.serialize(message); } } + + public CatalogPage getPage() { + return page; + } + + public Habbo getHabbo() { + return habbo; + } + + public int getOfferId() { + return offerId; + } + + public String getMode() { + return mode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPagesListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPagesListComposer.java index 829c48b3..018d441a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPagesListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogPagesListComposer.java @@ -75,4 +75,17 @@ public class CatalogPagesListComposer extends MessageComposer { this.append(page); } } + + + public Habbo getHabbo() { + return habbo; + } + + public String getMode() { + return mode; + } + + public boolean isHasPermission() { + return hasPermission; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogSearchResultComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogSearchResultComposer.java index 640683db..487e2d2a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogSearchResultComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/CatalogSearchResultComposer.java @@ -18,4 +18,8 @@ public class CatalogSearchResultComposer extends MessageComposer { this.item.serialize(this.response); return this.response; } + + public CatalogItem getItem() { + return item; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubCenterDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubCenterDataComposer.java index 64e4a3f0..bbc44a6e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubCenterDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubCenterDataComposer.java @@ -50,5 +50,39 @@ public class ClubCenterDataComposer extends MessageComposer { return this.response; } + public int getCurrentHcStreak() { + return currentHcStreak; + } + public String getFirstSubDate() { + return firstSubDate; + } + + public double getKickbackPercentage() { + return kickbackPercentage; + } + + public int getTotalCreditsMissed() { + return totalCreditsMissed; + } + + public int getTotalCreditsRewarded() { + return totalCreditsRewarded; + } + + public int getTotalCreditsSpent() { + return totalCreditsSpent; + } + + public int getCreditRewardForStreakBonus() { + return creditRewardForStreakBonus; + } + + public int getCreditRewardForMonthlySpent() { + return creditRewardForMonthlySpent; + } + + public int getTimeUntilPayday() { + return timeUntilPayday; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubDataComposer.java index 96188ad2..2ca6c515 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubDataComposer.java @@ -34,4 +34,12 @@ public class ClubDataComposer extends MessageComposer { this.response.appendInt(this.windowId); return this.response; } + + public int getWindowId() { + return windowId; + } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java index e45b4822..4a6af681 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java @@ -65,4 +65,16 @@ public class ClubGiftsComposer extends MessageComposer { return this.response; } + + public int getDaysTillNextGift() { + return daysTillNextGift; + } + + public int getAvailableGifts() { + return availableGifts; + } + + public int getDaysAsHc() { + return daysAsHc; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/NotEnoughPointsTypeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/NotEnoughPointsTypeComposer.java index ec20a8ae..d5e7a25d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/NotEnoughPointsTypeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/NotEnoughPointsTypeComposer.java @@ -23,4 +23,16 @@ public class NotEnoughPointsTypeComposer extends MessageComposer { this.response.appendInt(this.pointsType); return this.response; } + + public boolean isCredits() { + return isCredits; + } + + public boolean isPixels() { + return isPixels; + } + + public int getPointsType() { + return pointsType; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBoughtNotificationComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBoughtNotificationComposer.java index f2ed562e..630c1763 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBoughtNotificationComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBoughtNotificationComposer.java @@ -21,4 +21,12 @@ public class PetBoughtNotificationComposer extends MessageComposer { this.pet.serialize(this.response); return this.response; } + + public Pet getPet() { + return pet; + } + + public boolean isGift() { + return gift; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBreedsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBreedsComposer.java index a469dfa0..c439eb39 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBreedsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetBreedsComposer.java @@ -31,4 +31,12 @@ public class PetBreedsComposer extends MessageComposer { } return this.response; } + + public String getPetName() { + return petName; + } + + public THashSet getPetRaces() { + return petRaces; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetNameErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetNameErrorComposer.java index c392c97e..71ae0364 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetNameErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PetNameErrorComposer.java @@ -26,4 +26,12 @@ public class PetNameErrorComposer extends MessageComposer { this.response.appendString(this.value); return this.response; } + + public int getType() { + return type; + } + + public String getValue() { + return value; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PurchaseOKComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PurchaseOKComposer.java index 1750480a..0286320c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/PurchaseOKComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/PurchaseOKComposer.java @@ -40,4 +40,8 @@ public class PurchaseOKComposer extends MessageComposer { } return this.response; } + + public CatalogItem getCatalogItem() { + return catalogItem; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/RecyclerCompleteComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/RecyclerCompleteComposer.java index 54cfc606..32ece5c0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/RecyclerCompleteComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/RecyclerCompleteComposer.java @@ -21,4 +21,8 @@ public class RecyclerCompleteComposer extends MessageComposer { this.response.appendInt(0); //prize ID. return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/RedeemVoucherErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/RedeemVoucherErrorComposer.java index 1632021f..e5196d41 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/RedeemVoucherErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/RedeemVoucherErrorComposer.java @@ -20,4 +20,8 @@ public class RedeemVoucherErrorComposer extends MessageComposer { this.response.appendString(this.code + ""); return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/TargetedOfferComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/TargetedOfferComposer.java index ee8cbb66..d19a8e44 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/TargetedOfferComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/TargetedOfferComposer.java @@ -23,4 +23,12 @@ public class TargetedOfferComposer extends MessageComposer { this.offer.serialize(this.response, purchase); return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public TargetOffer getOffer() { + return offer; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java index 800bd4ca..ceb03c3d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceBuyErrorComposer.java @@ -31,4 +31,20 @@ public class MarketplaceBuyErrorComposer extends MessageComposer { this.response.appendInt(this.price); //requestedOfferId return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public int getUnknown() { + return unknown; + } + + public int getOfferId() { + return offerId; + } + + public int getPrice() { + return price; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceCancelSaleComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceCancelSaleComposer.java index 97d24627..b959ad08 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceCancelSaleComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceCancelSaleComposer.java @@ -21,4 +21,12 @@ public class MarketplaceCancelSaleComposer extends MessageComposer { this.response.appendBoolean(this.success); return this.response; } + + public MarketPlaceOffer getOffer() { + return offer; + } + + public boolean isSuccess() { + return success; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemInfoComposer.java index f9f5f6ec..eaa089b0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemInfoComposer.java @@ -18,4 +18,8 @@ public class MarketplaceItemInfoComposer extends MessageComposer { MarketPlace.serializeItemInfo(this.itemId, this.response); return this.response; } + + public int getItemId() { + return itemId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemPostedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemPostedComposer.java index 2489af8b..f881394a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemPostedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceItemPostedComposer.java @@ -22,4 +22,8 @@ public class MarketplaceItemPostedComposer extends MessageComposer { this.response.appendInt(this.code); return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOffersComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOffersComposer.java index e2e28d34..f778993b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOffersComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOffersComposer.java @@ -45,4 +45,8 @@ public class MarketplaceOffersComposer extends MessageComposer { this.response.appendInt(this.offers.size()); return this.response; } + + public List getOffers() { + return offers; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOwnItemsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOwnItemsComposer.java index b02c1c0e..ed39ff4b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOwnItemsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceOwnItemsComposer.java @@ -64,4 +64,8 @@ public class MarketplaceOwnItemsComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceSellItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceSellItemComposer.java index 0834ed4c..ee2a582c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceSellItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/marketplace/MarketplaceSellItemComposer.java @@ -27,4 +27,16 @@ public class MarketplaceSellItemComposer extends MessageComposer { this.response.appendInt(this.valueB); return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public int getValueA() { + return valueA; + } + + public int getValueB() { + return valueB; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftableProductsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftableProductsComposer.java index 0c2254e3..efe08dcf 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftableProductsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftableProductsComposer.java @@ -35,4 +35,12 @@ public class CraftableProductsComposer extends MessageComposer { return this.response; } + + public List getRecipes() { + return recipes; + } + + public Collection getIngredients() { + return ingredients; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipeComposer.java index a8db6787..1621b5f7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipeComposer.java @@ -26,4 +26,8 @@ public class CraftingRecipeComposer extends MessageComposer { } return this.response; } + + public CraftingRecipe getRecipe() { + return recipe; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java index 5f0c7739..d30cfc59 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingRecipesAvailableComposer.java @@ -20,4 +20,12 @@ public class CraftingRecipesAvailableComposer extends MessageComposer { this.response.appendBoolean(this.found); return this.response; } + + public int getCount() { + return count; + } + + public boolean isFound() { + return found; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingResultComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingResultComposer.java index d7967e80..a422c6b8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingResultComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/crafting/CraftingResultComposer.java @@ -32,4 +32,12 @@ public class CraftingResultComposer extends MessageComposer { return this.response; } + + public CraftingRecipe getRecipe() { + return recipe; + } + + public boolean isSucces() { + return succes; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarDataComposer.java index abf20a7a..d9e5786a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarDataComposer.java @@ -61,4 +61,28 @@ public class AdventCalendarDataComposer extends MessageComposer { return this.response; } + + public String getEventName() { + return eventName; + } + + public String getCampaignImage() { + return campaignImage; + } + + public int getTotalDays() { + return totalDays; + } + + public int getCurrentDay() { + return currentDay; + } + + public ArrayList getUnlocked() { + return unlocked; + } + + public boolean isLockExpired() { + return lockExpired; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarProductComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarProductComposer.java index fb23b318..9522b8d3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarProductComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/events/calendar/AdventCalendarProductComposer.java @@ -46,4 +46,16 @@ public class AdventCalendarProductComposer extends MessageComposer { return this.response; } + + public boolean isVisible() { + return visible; + } + + public CalendarRewardObject getRewardObject() { + return rewardObject; + } + + public Habbo getHabbo() { + return habbo; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/events/mysticbox/MysticBoxPrizeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/events/mysticbox/MysticBoxPrizeComposer.java index f5e95b3d..c8873757 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/events/mysticbox/MysticBoxPrizeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/events/mysticbox/MysticBoxPrizeComposer.java @@ -20,4 +20,12 @@ public class MysticBoxPrizeComposer extends MessageComposer { this.response.appendInt(this.itemId); return this.response; } + + public String getType() { + return type; + } + + public int getItemId() { + return itemId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionCompletedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionCompletedComposer.java index 741b9443..d8e59dc9 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionCompletedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionCompletedComposer.java @@ -18,4 +18,8 @@ public class NewYearResolutionCompletedComposer extends MessageComposer { this.response.appendString(this.badge); return this.response; } + + public String getBadge() { + return badge; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionProgressComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionProgressComposer.java index c478f2e8..dc631460 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionProgressComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/events/resolution/NewYearResolutionProgressComposer.java @@ -32,4 +32,28 @@ public class NewYearResolutionProgressComposer extends MessageComposer { this.response.appendInt(this.timeLeft); return this.response; } + + public int getStuffId() { + return stuffId; + } + + public int getAchievementId() { + return achievementId; + } + + public String getAchievementName() { + return achievementName; + } + + public int getCurrentProgress() { + return currentProgress; + } + + public int getProgressNeeded() { + return progressNeeded; + } + + public int getTimeLeft() { + return timeLeft; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorBlockedTilesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorBlockedTilesComposer.java index 3cccbe14..bcd0a2f2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorBlockedTilesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorBlockedTilesComposer.java @@ -28,4 +28,8 @@ public class FloorPlanEditorBlockedTilesComposer extends MessageComposer { return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorDoorSettingsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorDoorSettingsComposer.java index 21874ea4..18dccea0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorDoorSettingsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/floorplaneditor/FloorPlanEditorDoorSettingsComposer.java @@ -20,4 +20,8 @@ public class FloorPlanEditorDoorSettingsComposer extends MessageComposer { this.response.appendInt(this.room.getLayout().getDoorDirection()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendChatMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendChatMessageComposer.java index 4806b437..8b1131b0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendChatMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendChatMessageComposer.java @@ -50,4 +50,16 @@ public class FriendChatMessageComposer extends MessageComposer { return this.response; } + + public Message getMessage() { + return message; + } + + public int getToId() { + return toId; + } + + public int getFromId() { + return fromId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendFindingRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendFindingRoomComposer.java index 8c100a69..05a014a7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendFindingRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendFindingRoomComposer.java @@ -20,4 +20,8 @@ public class FriendFindingRoomComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendNotificationComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendNotificationComposer.java index 9e9ed2fb..04710952 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendNotificationComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendNotificationComposer.java @@ -31,4 +31,16 @@ public class FriendNotificationComposer extends MessageComposer { this.response.appendString(this.data); return this.response; } + + public int getUserId() { + return userId; + } + + public int getType() { + return type; + } + + public String getData() { + return data; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestComposer.java index 005ac3d8..6d92ca1a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestComposer.java @@ -22,4 +22,8 @@ public class FriendRequestComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestErrorComposer.java index 84ebe13b..4b6392e8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendRequestErrorComposer.java @@ -23,4 +23,8 @@ public class FriendRequestErrorComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendsComposer.java index 287e87cb..b84039a5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/FriendsComposer.java @@ -80,4 +80,16 @@ public class FriendsComposer extends MessageComposer { return messages; } + + public int getTotalPages() { + return totalPages; + } + + public int getPageIndex() { + return pageIndex; + } + + public Collection getFriends() { + return friends; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/LoadFriendRequestsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/LoadFriendRequestsComposer.java index fb3314b4..7ccd81cd 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/LoadFriendRequestsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/LoadFriendRequestsComposer.java @@ -30,4 +30,8 @@ public class LoadFriendRequestsComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/MessengerInitComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/MessengerInitComposer.java index de3b9206..63aff189 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/MessengerInitComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/MessengerInitComposer.java @@ -44,5 +44,9 @@ public class MessengerInitComposer extends MessageComposer { } return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/RemoveFriendComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/RemoveFriendComposer.java index 34cbe1b4..7e390800 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/RemoveFriendComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/RemoveFriendComposer.java @@ -30,4 +30,8 @@ public class RemoveFriendComposer extends MessageComposer { return this.response; } + + public TIntArrayList getUnfriendIds() { + return unfriendIds; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteComposer.java index 1b761a51..31ea23fc 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteComposer.java @@ -20,4 +20,12 @@ public class RoomInviteComposer extends MessageComposer { this.response.appendString(this.message); return this.response; } + + public int getUserId() { + return userId; + } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteErrorComposer.java index b2d3c54c..7f778116 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/RoomInviteErrorComposer.java @@ -30,4 +30,12 @@ public class RoomInviteErrorComposer extends MessageComposer { }); return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public THashSet getBuddies() { + return buddies; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/StalkErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/StalkErrorComposer.java index 7eac0a99..464abffa 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/StalkErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/StalkErrorComposer.java @@ -22,4 +22,8 @@ public class StalkErrorComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/UpdateFriendComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/UpdateFriendComposer.java index 1be0b1ac..96cd5090 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/UpdateFriendComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/UpdateFriendComposer.java @@ -51,27 +51,39 @@ public class UpdateFriendComposer extends MessageComposer { for(MessengerBuddy buddy : buddies){ - if (buddy != null) { - this.response.appendInt(this.action); // -1 = removed friendId / 0 = updated friend / 1 = added friend - this.response.appendInt(buddy.getId()); - if (this.action == -1) { - continue; + if (buddy != null) { + this.response.appendInt(this.action); // -1 = removed friendId / 0 = updated friend / 1 = added friend + this.response.appendInt(buddy.getId()); + if (this.action == -1) { + continue; + } + this.response.appendString(buddy.getUsername()); + this.response.appendInt(buddy.getGender().equals(HabboGender.M) ? 0 : 1); + this.response.appendBoolean(buddy.getOnline() == 1); + this.response.appendBoolean(buddy.inRoom()); //In room + this.response.appendString(buddy.getLook()); + this.response.appendInt(buddy.getCategoryId()); + this.response.appendString(buddy.getMotto()); + this.response.appendString(""); //Last seen as DATETIMESTRING + this.response.appendString(""); //Realname or Facebookame as String + this.response.appendBoolean(false); //Offline messaging. + this.response.appendBoolean(false); + this.response.appendBoolean(false); + this.response.appendShort(buddy.getRelation()); } - this.response.appendString(buddy.getUsername()); - this.response.appendInt(buddy.getGender().equals(HabboGender.M) ? 0 : 1); - this.response.appendBoolean(buddy.getOnline() == 1); - this.response.appendBoolean(buddy.inRoom()); //In room - this.response.appendString(buddy.getLook()); - this.response.appendInt(buddy.getCategoryId()); - this.response.appendString(buddy.getMotto()); - this.response.appendString(""); //Last seen as DATETIMESTRING - this.response.appendString(""); //Realname or Facebookame as String - this.response.appendBoolean(false); //Offline messaging. - this.response.appendBoolean(false); - this.response.appendBoolean(false); - this.response.appendShort(buddy.getRelation()); } - } return this.response; } + + public Collection getBuddies() { + return buddies; + } + + public Habbo getHabbo() { + return habbo; + } + + public int getAction() { + return action; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/friends/UserSearchResultComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/friends/UserSearchResultComposer.java index 7c66c3de..72f72153 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/friends/UserSearchResultComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/friends/UserSearchResultComposer.java @@ -77,4 +77,16 @@ public class UserSearchResultComposer extends MessageComposer { return false; } + + public THashSet getUsers() { + return users; + } + + public THashSet getFriends() { + return friends; + } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterAccountInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterAccountInfoComposer.java index fd8760fa..2ff84efb 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterAccountInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterAccountInfoComposer.java @@ -21,4 +21,12 @@ public class GameCenterAccountInfoComposer extends MessageComposer { this.response.appendInt(1); return this.response; } + + public int getGameId() { + return gameId; + } + + public int getGamesLeft() { + return gamesLeft; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterGameComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterGameComposer.java index 2d28e932..b0ccc6e9 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterGameComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/GameCenterGameComposer.java @@ -23,4 +23,12 @@ public class GameCenterGameComposer extends MessageComposer { this.response.appendInt(this.status); return this.response; } + + public int getGameId() { + return gameId; + } + + public int getStatus() { + return status; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpJoinQueueComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpJoinQueueComposer.java index 6df404f1..f4fe4517 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpJoinQueueComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpJoinQueueComposer.java @@ -17,4 +17,8 @@ public class BaseJumpJoinQueueComposer extends MessageComposer { this.response.appendInt(this.gameId); return this.response; } + + public int getGameId() { + return gameId; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpLoadGameComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpLoadGameComposer.java index 99d4c66e..8aa07411 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpLoadGameComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/gamecenter/basejump/BaseJumpLoadGameComposer.java @@ -48,4 +48,12 @@ public class BaseJumpLoadGameComposer extends MessageComposer { } return this.response; } + + public GameClient getClient() { + return client; + } + + public int getGame() { + return game; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/PickMonthlyClubGiftNotificationComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/PickMonthlyClubGiftNotificationComposer.java index bae14e70..e95e0be3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/PickMonthlyClubGiftNotificationComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/PickMonthlyClubGiftNotificationComposer.java @@ -17,4 +17,8 @@ public class PickMonthlyClubGiftNotificationComposer extends MessageComposer { this.response.appendInt(this.count); return this.response; } + + public int getCount() { + return count; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BotErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BotErrorComposer.java index 8773d9c8..040be432 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BotErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BotErrorComposer.java @@ -23,4 +23,8 @@ public class BotErrorComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BubbleAlertComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BubbleAlertComposer.java index 391cd6e3..f1089bf2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BubbleAlertComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/BubbleAlertComposer.java @@ -38,4 +38,12 @@ public class BubbleAlertComposer extends MessageComposer { } return this.response; } + + public String getErrorKey() { + return errorKey; + } + + public THashMap getKeys() { + return keys; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/CustomNotificationComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/CustomNotificationComposer.java index 2e1a52de..7b5b93da 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/CustomNotificationComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/CustomNotificationComposer.java @@ -23,4 +23,8 @@ public class CustomNotificationComposer extends MessageComposer { this.response.appendInt(this.type); return this.response; } + + public int getType() { + return type; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericAlertComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericAlertComposer.java index 2b4d597a..120dc187 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericAlertComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericAlertComposer.java @@ -24,4 +24,8 @@ public class GenericAlertComposer extends MessageComposer { return this.response; } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericErrorMessagesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericErrorMessagesComposer.java index 7757cdd6..102de72e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericErrorMessagesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/GenericErrorMessagesComposer.java @@ -25,4 +25,8 @@ public class GenericErrorMessagesComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosedAndOpensComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosedAndOpensComposer.java index fc7cc923..e791048f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosedAndOpensComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosedAndOpensComposer.java @@ -20,4 +20,12 @@ public class HotelClosedAndOpensComposer extends MessageComposer { this.response.appendInt(this.minute); return this.response; } + + public int getHour() { + return hour; + } + + public int getMinute() { + return minute; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosesAndWillOpenAtComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosesAndWillOpenAtComposer.java index d92497f6..b01cdeff 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosesAndWillOpenAtComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelClosesAndWillOpenAtComposer.java @@ -23,4 +23,16 @@ public class HotelClosesAndWillOpenAtComposer extends MessageComposer { this.response.appendBoolean(this.disconnected); return this.response; } + + public int getHour() { + return hour; + } + + public int getMinute() { + return minute; + } + + public boolean isDisconnected() { + return disconnected; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesAndBackInComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesAndBackInComposer.java index 3e9d3ad1..32a1c9d0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesAndBackInComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesAndBackInComposer.java @@ -21,4 +21,12 @@ public class HotelWillCloseInMinutesAndBackInComposer extends MessageComposer { this.response.appendInt(this.reopenInMinutes); return this.response; } + + public int getCloseInMinutes() { + return closeInMinutes; + } + + public int getReopenInMinutes() { + return reopenInMinutes; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesComposer.java index 0a4f1a94..88adaff1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/HotelWillCloseInMinutesComposer.java @@ -17,4 +17,8 @@ public class HotelWillCloseInMinutesComposer extends MessageComposer { this.response.appendInt(this.minutes); return this.response; } + + public int getMinutes() { + return minutes; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java index 0003c638..5b129a0c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/MessagesForYouComposer.java @@ -36,4 +36,12 @@ public class MessagesForYouComposer extends MessageComposer { return this.response; } + + public String[] getMessages() { + return messages; + } + + public List getNewMessages() { + return newMessages; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/PetErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/PetErrorComposer.java index 7318ff2f..02017ee2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/PetErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/PetErrorComposer.java @@ -24,4 +24,8 @@ public class PetErrorComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertAndOpenHabboWayComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertAndOpenHabboWayComposer.java index 687b43ec..4945408d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertAndOpenHabboWayComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertAndOpenHabboWayComposer.java @@ -17,4 +17,8 @@ public class StaffAlertAndOpenHabboWayComposer extends MessageComposer { this.response.appendString(this.message); return this.response; } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWIthLinkAndOpenHabboWayComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWIthLinkAndOpenHabboWayComposer.java index 7a7686cc..48f06a35 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWIthLinkAndOpenHabboWayComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWIthLinkAndOpenHabboWayComposer.java @@ -20,4 +20,12 @@ public class StaffAlertWIthLinkAndOpenHabboWayComposer extends MessageComposer { this.response.appendString(this.link); return this.response; } + + public String getMessage() { + return message; + } + + public String getLink() { + return link; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWithLinkComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWithLinkComposer.java index 82447982..1f5f150e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWithLinkComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/StaffAlertWithLinkComposer.java @@ -20,4 +20,12 @@ public class StaffAlertWithLinkComposer extends MessageComposer { this.response.appendString(this.link); return this.response; } + + public String getMessage() { + return message; + } + + public String getLink() { + return link; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/UpdateFailedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/UpdateFailedComposer.java index 5a0e70a1..5970d603 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/UpdateFailedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/generic/alerts/UpdateFailedComposer.java @@ -17,4 +17,8 @@ public class UpdateFailedComposer extends MessageComposer { this.response.appendString(this.message); return this.response; } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingRequestedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingRequestedComposer.java index e4209713..765e1742 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingRequestedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingRequestedComposer.java @@ -47,4 +47,8 @@ public class GuardianVotingRequestedComposer extends MessageComposer { //2015 10 17 14 24 30 return this.response; } + + public GuardianTicket getTicket() { + return ticket; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingResultComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingResultComposer.java index a0f50fc6..90dc553b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingResultComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingResultComposer.java @@ -34,4 +34,12 @@ public class GuardianVotingResultComposer extends MessageComposer { } return this.response; } + + public GuardianTicket getTicket() { + return ticket; + } + + public GuardianVote getVote() { + return vote; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingVotesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingVotesComposer.java index 82138a81..e87cf3a1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingVotesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guardians/GuardianVotingVotesComposer.java @@ -32,4 +32,12 @@ public class GuardianVotingVotesComposer extends MessageComposer { return this.response; } + + public GuardianTicket getTicket() { + return ticket; + } + + public Habbo getGuardian() { + return guardian; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/BullyReportClosedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/BullyReportClosedComposer.java index f89afe9c..e7a0300c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/BullyReportClosedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/BullyReportClosedComposer.java @@ -20,4 +20,8 @@ public class BullyReportClosedComposer extends MessageComposer { this.response.appendInt(this.code); return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionAttachedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionAttachedComposer.java index 999ccc78..c83d66a4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionAttachedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionAttachedComposer.java @@ -25,4 +25,12 @@ public class GuideSessionAttachedComposer extends MessageComposer { this.response.appendInt(this.isHelper ? 60 : Emulator.getGameEnvironment().getGuideManager().getAverageWaitingTime()); //? Avarage Waiting Time (for noob) | Time left to pickup (For helper) return this.response; } + + public GuideTour getTour() { + return tour; + } + + public boolean isHelper() { + return isHelper; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionEndedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionEndedComposer.java index a08c3951..87721ac0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionEndedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionEndedComposer.java @@ -20,4 +20,8 @@ public class GuideSessionEndedComposer extends MessageComposer { this.response.appendInt(this.errorCode); //? return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionErrorComposer.java index 1776a3e4..f149ac67 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionErrorComposer.java @@ -21,4 +21,8 @@ public class GuideSessionErrorComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionInvitedToGuideRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionInvitedToGuideRoomComposer.java index 15a7fd32..0aed8d71 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionInvitedToGuideRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionInvitedToGuideRoomComposer.java @@ -20,4 +20,8 @@ public class GuideSessionInvitedToGuideRoomComposer extends MessageComposer { this.response.appendString(this.room != null ? this.room.getName() : ""); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionMessageComposer.java index fdf74f78..e4643f7d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionMessageComposer.java @@ -19,4 +19,8 @@ public class GuideSessionMessageComposer extends MessageComposer { this.response.appendInt(this.message.userId); //Sender ID return this.response; } + + public GuideChatMessage getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsPlayingComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsPlayingComposer.java index 496368a7..2d9934a2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsPlayingComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsPlayingComposer.java @@ -17,4 +17,8 @@ public class GuideSessionPartnerIsPlayingComposer extends MessageComposer { this.response.appendBoolean(this.isPlaying); return this.response; } + + public boolean isPlaying() { + return isPlaying; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsTypingComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsTypingComposer.java index 3781c455..3cd5368e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsTypingComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionPartnerIsTypingComposer.java @@ -17,4 +17,8 @@ public class GuideSessionPartnerIsTypingComposer extends MessageComposer { this.response.appendBoolean(this.typing); return this.response; } + + public boolean isTyping() { + return typing; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionRequesterRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionRequesterRoomComposer.java index cd6e5b85..c3c1f3ea 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionRequesterRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionRequesterRoomComposer.java @@ -18,4 +18,8 @@ public class GuideSessionRequesterRoomComposer extends MessageComposer { this.response.appendInt(this.room != null ? this.room.getId() : 0); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionStartedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionStartedComposer.java index dd1ce315..038a1fe4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionStartedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideSessionStartedComposer.java @@ -23,4 +23,8 @@ public class GuideSessionStartedComposer extends MessageComposer { this.response.appendString(this.tour.getHelper().getHabboInfo().getLook()); return this.response; } + + public GuideTour getTour() { + return tour; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideToolsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideToolsComposer.java index dbcc32e7..2c85ddc5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideToolsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guides/GuideToolsComposer.java @@ -21,4 +21,8 @@ public class GuideToolsComposer extends MessageComposer { this.response.appendInt(Emulator.getGameEnvironment().getGuideManager().getGuardiansCount()); //Guardians On Duty return this.response; } + + public boolean isOnDuty() { + return onDuty; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildAcceptMemberErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildAcceptMemberErrorComposer.java index 460e6da8..d3e44ef7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildAcceptMemberErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildAcceptMemberErrorComposer.java @@ -24,4 +24,12 @@ public class GuildAcceptMemberErrorComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getGuildId() { + return guildId; + } + + public int getErrorCode() { + return errorCode; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBoughtComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBoughtComposer.java index 8c5f1ac6..be616eaf 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBoughtComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBoughtComposer.java @@ -19,4 +19,8 @@ public class GuildBoughtComposer extends MessageComposer { this.response.appendInt(this.guild.getId()); return this.response; } + + public Guild getGuild() { + return guild; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java index e55f9135..e00cdc2f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildBuyRoomsComposer.java @@ -49,4 +49,8 @@ public class GuildBuyRoomsComposer extends MessageComposer { this.response.appendInt(0); return this.response; } + + public THashSet getRooms() { + return rooms; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildConfirmRemoveMemberComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildConfirmRemoveMemberComposer.java index 798fcf3c..b52971f8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildConfirmRemoveMemberComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildConfirmRemoveMemberComposer.java @@ -20,4 +20,12 @@ public class GuildConfirmRemoveMemberComposer extends MessageComposer { this.response.appendInt(this.furniCount); return this.response; } + + public int getUserId() { + return userId; + } + + public int getFurniCount() { + return furniCount; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildEditFailComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildEditFailComposer.java index 17780d84..c122f434 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildEditFailComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildEditFailComposer.java @@ -22,4 +22,8 @@ public class GuildEditFailComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFavoriteRoomUserUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFavoriteRoomUserUpdateComposer.java index 37df2118..3a7a3071 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFavoriteRoomUserUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFavoriteRoomUserUpdateComposer.java @@ -24,4 +24,12 @@ public class GuildFavoriteRoomUserUpdateComposer extends MessageComposer { this.response.appendString(this.guild != null ? this.guild.getName() : ""); return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } + + public Guild getGuild() { + return guild; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFurniWidgetComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFurniWidgetComposer.java index e4373209..3348da7c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFurniWidgetComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildFurniWidgetComposer.java @@ -30,4 +30,16 @@ public class GuildFurniWidgetComposer extends MessageComposer { this.response.appendBoolean(this.guild.hasForum()); //Has Forum. return this.response; } + + public HabboItem getItem() { + return item; + } + + public Guild getGuild() { + return guild; + } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildInfoComposer.java index dab0c0e7..04e31db0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildInfoComposer.java @@ -29,28 +29,44 @@ public class GuildInfoComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - boolean adminPermissions = this.client.getHabbo().getHabboStats().hasGuild(this.guild.getId()) && this.client.getHabbo().hasPermission(Permission.ACC_GUILD_ADMIN) || Emulator.getGameEnvironment().getGuildManager().getOnlyAdmins(guild).get(this.client.getHabbo().getHabboInfo().getId()) != null; - this.response.init(Outgoing.GuildInfoComposer); - this.response.appendInt(this.guild.getId()); - this.response.appendBoolean(true); - this.response.appendInt(this.guild.getState().state); - this.response.appendString(this.guild.getName()); - this.response.appendString(this.guild.getDescription()); - this.response.appendString(this.guild.getBadge()); - this.response.appendInt(this.guild.getRoomId()); - this.response.appendString(this.guild.getRoomName()); - this.response.appendInt((this.member == null ? GuildMembershipStatus.NOT_MEMBER : this.member.getMembershipStatus()).getStatus()); - this.response.appendInt(this.guild.getMemberCount()); - this.response.appendBoolean(this.client.getHabbo().getHabboStats().guild == this.guild.getId()); // favorite group - this.response.appendString(new SimpleDateFormat("dd-MM-yyyy").format(new Date(this.guild.getDateCreated() * 1000L))); - this.response.appendBoolean(adminPermissions || (this.guild.getOwnerId() == this.client.getHabbo().getHabboInfo().getId())); - this.response.appendBoolean(adminPermissions || (this.member != null && (this.member.getRank().equals(GuildRank.ADMIN)))); + boolean adminPermissions = this.client.getHabbo().getHabboStats().hasGuild(this.guild.getId()) && this.client.getHabbo().hasPermission(Permission.ACC_GUILD_ADMIN) || Emulator.getGameEnvironment().getGuildManager().getOnlyAdmins(guild).get(this.client.getHabbo().getHabboInfo().getId()) != null; + this.response.init(Outgoing.GuildInfoComposer); + this.response.appendInt(this.guild.getId()); + this.response.appendBoolean(true); + this.response.appendInt(this.guild.getState().state); + this.response.appendString(this.guild.getName()); + this.response.appendString(this.guild.getDescription()); + this.response.appendString(this.guild.getBadge()); + this.response.appendInt(this.guild.getRoomId()); + this.response.appendString(this.guild.getRoomName()); + this.response.appendInt((this.member == null ? GuildMembershipStatus.NOT_MEMBER : this.member.getMembershipStatus()).getStatus()); + this.response.appendInt(this.guild.getMemberCount()); + this.response.appendBoolean(this.client.getHabbo().getHabboStats().guild == this.guild.getId()); // favorite group + this.response.appendString(new SimpleDateFormat("dd-MM-yyyy").format(new Date(this.guild.getDateCreated() * 1000L))); + this.response.appendBoolean(adminPermissions || (this.guild.getOwnerId() == this.client.getHabbo().getHabboInfo().getId())); + this.response.appendBoolean(adminPermissions || (this.member != null && (this.member.getRank().equals(GuildRank.ADMIN)))); - this.response.appendString(this.guild.getOwnerName()); - this.response.appendBoolean(this.newWindow); - this.response.appendBoolean(this.guild.getRights()); - this.response.appendInt((adminPermissions || this.guild.getOwnerId() == this.client.getHabbo().getHabboInfo().getId()) ? this.guild.getRequestCount() : 0); //Guild invites count. - this.response.appendBoolean(this.guild.hasForum()); - return this.response; - } + this.response.appendString(this.guild.getOwnerName()); + this.response.appendBoolean(this.newWindow); + this.response.appendBoolean(this.guild.getRights()); + this.response.appendInt((adminPermissions || this.guild.getOwnerId() == this.client.getHabbo().getHabboInfo().getId()) ? this.guild.getRequestCount() : 0); //Guild invites count. + this.response.appendBoolean(this.guild.hasForum()); + return this.response; } + + public Guild getGuild() { + return guild; + } + + public GameClient getClient() { + return client; + } + + public boolean isNewWindow() { + return newWindow; + } + + public GuildMember getMember() { + return member; + } +} diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildJoinErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildJoinErrorComposer.java index 00716bfb..fe6826d2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildJoinErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildJoinErrorComposer.java @@ -25,4 +25,8 @@ public class GuildJoinErrorComposer extends MessageComposer { this.response.appendInt(this.code); return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildListComposer.java index 82965f0b..6402a368 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildListComposer.java @@ -33,4 +33,12 @@ public class GuildListComposer extends MessageComposer { } return this.response; } + + public THashSet getGuilds() { + return guilds; + } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildManageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildManageComposer.java index 7983974b..3241af4d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildManageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildManageComposer.java @@ -59,4 +59,8 @@ public class GuildManageComposer extends MessageComposer { this.response.appendInt(this.guild.getMemberCount()); return this.response; } + + public Guild getGuild() { + return guild; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMemberUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMemberUpdateComposer.java index e5a1290c..43ac6ed8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMemberUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMemberUpdateComposer.java @@ -26,4 +26,12 @@ public class GuildMemberUpdateComposer extends MessageComposer { this.response.appendString(this.guildMember.getRank().type != 0 ? this.guildMember.getJoinDate() + "" : ""); return this.response; } + + public Guild getGuild() { + return guild; + } + + public GuildMember getGuildMember() { + return guildMember; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMembersComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMembersComposer.java index 8bacc764..8b61e442 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMembersComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildMembersComposer.java @@ -59,4 +59,36 @@ public class GuildMembersComposer extends MessageComposer { this.response.appendString(this.searchValue); return this.response; } + + public ArrayList getMembers() { + return members; + } + + public Guild getGuild() { + return guild; + } + + public Habbo getSession() { + return session; + } + + public int getPageId() { + return pageId; + } + + public int getLevel() { + return level; + } + + public String getSearchValue() { + return searchValue; + } + + public boolean isAdmin() { + return isAdmin; + } + + public int getTotalCount() { + return totalCount; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildRefreshMembersListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildRefreshMembersListComposer.java index 4a0f124e..9876b04e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildRefreshMembersListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/GuildRefreshMembersListComposer.java @@ -19,4 +19,8 @@ public class GuildRefreshMembersListComposer extends MessageComposer { this.response.appendInt(0); return this.response; } + + public Guild getGuild() { + return guild; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/RemoveGuildFromRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/RemoveGuildFromRoomComposer.java index 47a86dad..d401d349 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/RemoveGuildFromRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/RemoveGuildFromRoomComposer.java @@ -17,4 +17,8 @@ public class RemoveGuildFromRoomComposer extends MessageComposer { this.response.appendInt(this.guildId); return this.response; } + + public int getGuildId() { + return guildId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java index 3570f860..5656f556 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumAddCommentComposer.java @@ -20,4 +20,8 @@ public class GuildForumAddCommentComposer extends MessageComposer { this.comment.serialize(this.response); //Comment return this.response; } + + public ForumThreadComment getComment() { + return comment; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumCommentsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumCommentsComposer.java index ecafc480..3b6ff1dc 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumCommentsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumCommentsComposer.java @@ -34,4 +34,20 @@ public class GuildForumCommentsComposer extends MessageComposer { } return this.response; } + + public int getGuildId() { + return guildId; + } + + public int getThreadId() { + return threadId; + } + + public int getIndex() { + return index; + } + + public Collection getGuildForumCommentList() { + return guildForumCommentList; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumDataComposer.java index 555df4a9..d753f9a3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumDataComposer.java @@ -166,4 +166,12 @@ public class GuildForumDataComposer extends MessageComposer { return this.response; } + + public Guild getGuild() { + return guild; + } + + public Habbo getHabbo() { + return habbo; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumListComposer.java index ebe1d96a..eda9ae1c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumListComposer.java @@ -52,4 +52,20 @@ public class GuildForumListComposer extends MessageComposer { return this.response; } + + public Set getGuilds() { + return guilds; + } + + public Habbo getHabbo() { + return habbo; + } + + public int getMode() { + return mode; + } + + public int getIndex() { + return index; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadMessagesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadMessagesComposer.java index c1d77bbe..c3008528 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadMessagesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadMessagesComposer.java @@ -19,4 +19,8 @@ public class GuildForumThreadMessagesComposer extends MessageComposer { this.thread.serialize(this.response); return this.response; } + + public ForumThread getThread() { + return thread; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadsComposer.java index e5750b8e..7a4313e8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumThreadsComposer.java @@ -58,4 +58,12 @@ public class GuildForumThreadsComposer extends MessageComposer { return this.response; } + + public Guild getGuild() { + return guild; + } + + public int getIndex() { + return index; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumsUnreadMessagesCountComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumsUnreadMessagesCountComposer.java index e9897471..6487d258 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumsUnreadMessagesCountComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/GuildForumsUnreadMessagesCountComposer.java @@ -17,4 +17,8 @@ public class GuildForumsUnreadMessagesCountComposer extends MessageComposer { this.response.appendInt(this.count); return this.response; } + + public int getCount() { + return count; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/PostUpdateMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/PostUpdateMessageComposer.java index bdf20b7c..f66f5fb1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/PostUpdateMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/PostUpdateMessageComposer.java @@ -26,4 +26,16 @@ public class PostUpdateMessageComposer extends MessageComposer { return this.response; } + + public int getGuildId() { + return guildId; + } + + public int getThreadId() { + return threadId; + } + + public ForumThreadComment getComment() { + return comment; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ThreadUpdatedMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ThreadUpdatedMessageComposer.java index 96ab2eab..c4c0e15f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ThreadUpdatedMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/guilds/forums/ThreadUpdatedMessageComposer.java @@ -35,4 +35,24 @@ public class ThreadUpdatedMessageComposer extends MessageComposer { return this.response; } + + public Guild getGuild() { + return guild; + } + + public ForumThread getThread() { + return thread; + } + + public Habbo getHabbo() { + return habbo; + } + + public boolean isPinned() { + return isPinned; + } + + public boolean isLocked() { + return isLocked; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer1.java b/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer1.java index d2f73e4d..321bed9f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer1.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer1.java @@ -23,4 +23,12 @@ public class HabboWayQuizComposer1 extends MessageComposer { } return this.response; } + + public String getName() { + return name; + } + + public int[] getItems() { + return items; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer2.java b/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer2.java index dd3086e5..ce56bd17 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer2.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/habboway/HabboWayQuizComposer2.java @@ -23,4 +23,12 @@ public class HabboWayQuizComposer2 extends MessageComposer { } return this.response; } + + public String getName() { + return name; + } + + public int[] getItems() { + return items; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserGiftComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserGiftComposer.java index ec2a8b49..585010f3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserGiftComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserGiftComposer.java @@ -28,4 +28,8 @@ public class NewUserGiftComposer extends MessageComposer { } return this.response; } + + public List> getOptions() { + return options; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserIdentityComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserIdentityComposer.java index 13c03ace..94de5c92 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserIdentityComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NewUserIdentityComposer.java @@ -18,4 +18,8 @@ public class NewUserIdentityComposer extends MessageComposer { this.response.appendInt(this.habbo.noobStatus()); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NuxAlertComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NuxAlertComposer.java index 02188a04..8baa9020 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NuxAlertComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/habboway/nux/NuxAlertComposer.java @@ -17,4 +17,8 @@ public class NuxAlertComposer extends MessageComposer { this.response.appendString(this.link); return this.response; } + + public String getLink() { + return link; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/handshake/AvailabilityStatusMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/handshake/AvailabilityStatusMessageComposer.java index d65cc78c..ec818301 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/handshake/AvailabilityStatusMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/handshake/AvailabilityStatusMessageComposer.java @@ -24,4 +24,16 @@ public class AvailabilityStatusMessageComposer extends MessageComposer { this.response.appendBoolean(isAuthenticHabbo);//isAuthenticHabbo return this.response; } + + public boolean isOpen() { + return isOpen; + } + + public boolean isShuttingDown() { + return isShuttingDown; + } + + public boolean isAuthenticHabbo() { + return isAuthenticHabbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/handshake/CompleteDiffieHandshakeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/handshake/CompleteDiffieHandshakeComposer.java index dc2c5fbc..68cb0daf 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/handshake/CompleteDiffieHandshakeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/handshake/CompleteDiffieHandshakeComposer.java @@ -26,4 +26,11 @@ public class CompleteDiffieHandshakeComposer extends MessageComposer { return this.response; } + public String getPublicKey() { + return publicKey; + } + + public boolean isClientEncryption() { + return clientEncryption; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/handshake/ConnectionErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/handshake/ConnectionErrorComposer.java index fb01eff7..9b27540a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/handshake/ConnectionErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/handshake/ConnectionErrorComposer.java @@ -30,4 +30,16 @@ public class ConnectionErrorComposer extends MessageComposer { return this.response; } + + public int getMessageId() { + return messageId; + } + + public int getErrorCode() { + return errorCode; + } + + public String getTimestamp() { + return timestamp; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/handshake/EnableNotificationsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/handshake/EnableNotificationsComposer.java index 575cd174..078ee5b7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/handshake/EnableNotificationsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/handshake/EnableNotificationsComposer.java @@ -17,4 +17,8 @@ public class EnableNotificationsComposer extends MessageComposer { this.response.appendBoolean(this.enabled); return this.response; } + + public boolean isEnabled() { + return enabled; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/handshake/InitDiffieHandshakeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/handshake/InitDiffieHandshakeComposer.java index 72ffdb0e..0f06f552 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/handshake/InitDiffieHandshakeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/handshake/InitDiffieHandshakeComposer.java @@ -22,4 +22,11 @@ public class InitDiffieHandshakeComposer extends MessageComposer { return this.response; } + public String getSignedPrime() { + return signedPrime; + } + + public String getSignedGenerator() { + return signedGenerator; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/handshake/MachineIDComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/handshake/MachineIDComposer.java index f96abff6..aa0ef34e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/handshake/MachineIDComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/handshake/MachineIDComposer.java @@ -19,4 +19,7 @@ public class MachineIDComposer extends MessageComposer { return this.response; } + public String getMachineId() { + return machineId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/handshake/PongComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/handshake/PongComposer.java index c30c6afd..72ad710e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/handshake/PongComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/handshake/PongComposer.java @@ -17,4 +17,8 @@ public class PongComposer extends MessageComposer { this.response.appendInt(this.id); return this.response; } + + public int getId() { + return id; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/BonusRareComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/BonusRareComposer.java index 1c38778c..92b850a5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/BonusRareComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/BonusRareComposer.java @@ -25,4 +25,8 @@ public class BonusRareComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HallOfFameComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HallOfFameComposer.java index ef796dbd..4b871871 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HallOfFameComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HallOfFameComposer.java @@ -37,4 +37,8 @@ public class HallOfFameComposer extends MessageComposer { } return this.response; } + + public HallOfFame getHallOfFame() { + return hallOfFame; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewBadgeButtonConfigComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewBadgeButtonConfigComposer.java index 501103db..a7ba9ad2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewBadgeButtonConfigComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewBadgeButtonConfigComposer.java @@ -20,4 +20,12 @@ public class HotelViewBadgeButtonConfigComposer extends MessageComposer { this.response.appendBoolean(this.enabled); return this.response; } + + public String getBadge() { + return badge; + } + + public boolean isEnabled() { + return enabled; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCatalogPageExpiringComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCatalogPageExpiringComposer.java index bc98a0c4..eea71c6e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCatalogPageExpiringComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCatalogPageExpiringComposer.java @@ -23,4 +23,16 @@ public class HotelViewCatalogPageExpiringComposer extends MessageComposer { this.response.appendString(this.image); return this.response; } + + public String getName() { + return name; + } + + public int getTime() { + return time; + } + + public String getImage() { + return image; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCommunityGoalComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCommunityGoalComposer.java index f1614f5c..2e1f1f7a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCommunityGoalComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCommunityGoalComposer.java @@ -57,4 +57,44 @@ public class HotelViewCommunityGoalComposer extends MessageComposer { } return this.response; } + + public boolean isAchieved() { + return achieved; + } + + public int getPersonalContributionScore() { + return personalContributionScore; + } + + public int getPersonalRank() { + return personalRank; + } + + public int getTotalAmount() { + return totalAmount; + } + + public int getCommunityHighestAchievedLevel() { + return communityHighestAchievedLevel; + } + + public int getScoreRemainingUntilNextLevel() { + return scoreRemainingUntilNextLevel; + } + + public int getPercentCompletionTowardsNextLevel() { + return percentCompletionTowardsNextLevel; + } + + public String getCompetitionName() { + return competitionName; + } + + public int getTimeLeft() { + return timeLeft; + } + + public int[] getRankData() { + return rankData; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewConcurrentUsersComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewConcurrentUsersComposer.java index 87a90fca..9fc9bbca 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewConcurrentUsersComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewConcurrentUsersComposer.java @@ -27,4 +27,16 @@ public class HotelViewConcurrentUsersComposer extends MessageComposer { this.response.appendInt(this.goal); return this.response; } + + public int getState() { + return state; + } + + public int getUserCount() { + return userCount; + } + + public int getGoal() { + return goal; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCustomTimerComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCustomTimerComposer.java index f31e3203..62b7cde4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCustomTimerComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewCustomTimerComposer.java @@ -20,4 +20,12 @@ public class HotelViewCustomTimerComposer extends MessageComposer { this.response.appendInt(this.seconds); return this.response; } + + public String getName() { + return name; + } + + public int getSeconds() { + return seconds; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewDataComposer.java index 1271d5f8..131577f6 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewDataComposer.java @@ -22,4 +22,12 @@ public class HotelViewDataComposer extends MessageComposer { return this.response; } + + public String getData() { + return data; + } + + public String getKey() { + return key; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewExpiringCatalogPageCommposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewExpiringCatalogPageCommposer.java index bc0b082c..b6868b03 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewExpiringCatalogPageCommposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewExpiringCatalogPageCommposer.java @@ -22,4 +22,12 @@ public class HotelViewExpiringCatalogPageCommposer extends MessageComposer { this.response.appendString(this.image); return this.response; } + + public CatalogPage getPage() { + return page; + } + + public String getImage() { + return image; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewHideCommunityVoteButtonComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewHideCommunityVoteButtonComposer.java index 6a32b5d7..aec5dd15 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewHideCommunityVoteButtonComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewHideCommunityVoteButtonComposer.java @@ -17,4 +17,8 @@ public class HotelViewHideCommunityVoteButtonComposer extends MessageComposer { this.response.appendBoolean(this.unknownBoolean); return this.response; } + + public boolean isUnknownBoolean() { + return unknownBoolean; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewNextLTDAvailableComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewNextLTDAvailableComposer.java index d922cebf..6cdd3e3b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewNextLTDAvailableComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewNextLTDAvailableComposer.java @@ -26,4 +26,20 @@ public class HotelViewNextLTDAvailableComposer extends MessageComposer { this.response.appendString(this.itemName); return this.response; } + + public int getTime() { + return time; + } + + public int getPageId() { + return pageId; + } + + public int getItemId() { + return itemId; + } + + public String getItemName() { + return itemName; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewSecondsUntilComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewSecondsUntilComposer.java index 91538dcc..7c91ec3a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewSecondsUntilComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/hotelview/HotelViewSecondsUntilComposer.java @@ -21,4 +21,12 @@ public class HotelViewSecondsUntilComposer extends MessageComposer { return this.response; } + + public String getDateString() { + return dateString; + } + + public int getSeconds() { + return seconds; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddBotComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddBotComposer.java index fc64df03..37334f4d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddBotComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddBotComposer.java @@ -23,4 +23,8 @@ public class AddBotComposer extends MessageComposer { this.response.appendBoolean(true); return this.response; } + + public Bot getBot() { + return bot; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java index 266d413d..e49ee27f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddHabboItemComposer.java @@ -94,4 +94,24 @@ public class AddHabboItemComposer extends MessageComposer { this.number = number; } } + + public THashSet getItemsList() { + return itemsList; + } + + public HabboItem getItem() { + return item; + } + + public int[] getIds() { + return ids; + } + + public AddHabboItemCategory getCategory() { + return category; + } + + public Map> getEntries() { + return entries; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java index 150d6782..9f73a976 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/AddPetComposer.java @@ -19,4 +19,8 @@ public class AddPetComposer extends MessageComposer { this.response.appendBoolean(false); return this.response; } + + public Pet getPet() { + return pet; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListAddComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListAddComposer.java index f5187607..ef636352 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListAddComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListAddComposer.java @@ -22,4 +22,8 @@ public class EffectsListAddComposer extends MessageComposer { this.response.appendBoolean(effect.duration <= 0); //Is active return this.response; } + + public EffectsComponent.HabboEffect getEffect() { + return effect; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListEffectEnableComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListEffectEnableComposer.java index 8b107b53..28f21b12 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListEffectEnableComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListEffectEnableComposer.java @@ -20,4 +20,8 @@ public class EffectsListEffectEnableComposer extends MessageComposer { this.response.appendBoolean(this.effect.enabled); //activated return this.response; } + + public EffectsComponent.HabboEffect getEffect() { + return effect; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListRemoveComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListRemoveComposer.java index f9d8020c..130deab7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListRemoveComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/EffectsListRemoveComposer.java @@ -18,4 +18,8 @@ public class EffectsListRemoveComposer extends MessageComposer { this.response.appendInt(this.effect.effect); return this.response; } + + public EffectsComponent.HabboEffect getEffect() { + return effect; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBadgesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBadgesComposer.java index e9dd505c..d880d7cf 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBadgesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBadgesComposer.java @@ -41,4 +41,8 @@ public class InventoryBadgesComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBotsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBotsComposer.java index fe3b04ef..de45b1b1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBotsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryBotsComposer.java @@ -30,4 +30,8 @@ public class InventoryBotsComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryItemsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryItemsComposer.java index e8dbd939..0c80ca4f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryItemsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryItemsComposer.java @@ -107,4 +107,15 @@ public class InventoryItemsComposer extends MessageComposer implements TIntObjec this.response.appendString(habboItem.getExtradata()); } + public int getFragmentNumber() { + return fragmentNumber; + } + + public int getTotalFragments() { + return totalFragments; + } + + public TIntObjectMap getItems() { + return items; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryPetsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryPetsComposer.java index a0f97408..4ec234ee 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryPetsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryPetsComposer.java @@ -37,4 +37,8 @@ public class InventoryPetsComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryUpdateItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryUpdateItemComposer.java index c558f986..0b84e4b6 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryUpdateItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/InventoryUpdateItemComposer.java @@ -62,4 +62,8 @@ public class InventoryUpdateItemComposer extends MessageComposer { this.response.appendInt(100); return this.response; } + + public HabboItem getHabboItem() { + return habboItem; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveBotComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveBotComposer.java index cda6dc61..52fa36dd 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveBotComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveBotComposer.java @@ -18,4 +18,8 @@ public class RemoveBotComposer extends MessageComposer { this.response.appendInt(this.bot.getId()); return this.response; } + + public Bot getBot() { + return bot; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveHabboItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveHabboItemComposer.java index c9855e9d..f376edd4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveHabboItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemoveHabboItemComposer.java @@ -17,4 +17,8 @@ public class RemoveHabboItemComposer extends MessageComposer { this.response.appendInt(this.itemId); return this.response; } + + public int getItemId() { + return itemId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemovePetComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemovePetComposer.java index af495d2e..9e17247c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemovePetComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/RemovePetComposer.java @@ -18,4 +18,8 @@ public class RemovePetComposer extends MessageComposer { this.response.appendInt(this.petId); return this.response; } + + public int getPetId() { + return petId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/inventory/UserEffectsListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/inventory/UserEffectsListComposer.java index 13e42b52..a0f12c69 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/inventory/UserEffectsListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/inventory/UserEffectsListComposer.java @@ -48,4 +48,12 @@ public class UserEffectsListComposer extends MessageComposer { } return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public Collection getEffects() { + return effects; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportRequestComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportRequestComposer.java index 9d648542..c6eb7e06 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportRequestComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportRequestComposer.java @@ -41,4 +41,12 @@ public class BullyReportRequestComposer extends MessageComposer { //:test 1917 i:1 i:3 i:1 b:0 s:1 s:1 s:1 return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public int getErrorCodeType() { + return errorCodeType; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportedMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportedMessageComposer.java index bca14d5c..f12204c0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportedMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/BullyReportedMessageComposer.java @@ -23,4 +23,8 @@ public class BullyReportedMessageComposer extends MessageComposer { this.response.appendInt(this.code); return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolComposer.java index aacc82af..a9f108b1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolComposer.java @@ -94,4 +94,8 @@ public class ModToolComposer extends MessageComposer implements TObjectProcedure return true; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueChatlogComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueChatlogComposer.java index fbbc23ac..ba225fd5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueChatlogComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueChatlogComposer.java @@ -98,4 +98,20 @@ public class ModToolIssueChatlogComposer extends MessageComposer { return this.response; } + + public ModToolIssue getIssue() { + return issue; + } + + public List getChatlog() { + return chatlog; + } + + public String getRoomName() { + return roomName; + } + + public ModToolIssueChatlogType getType() { + return type; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandledComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandledComposer.java index 0cdc7ee3..3be74023 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandledComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandledComposer.java @@ -29,4 +29,12 @@ public class ModToolIssueHandledComposer extends MessageComposer { this.response.appendString(this.message); return this.response; } + + public int getCode() { + return code; + } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandlerDimensionsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandlerDimensionsComposer.java index 225c212a..a4cc12fb 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandlerDimensionsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandlerDimensionsComposer.java @@ -26,4 +26,20 @@ public class ModToolIssueHandlerDimensionsComposer extends MessageComposer { this.response.appendInt(this.height); return this.response; } + + public int getX() { + return x; + } + + public int getY() { + return y; + } + + public int getWidth() { + return width; + } + + public int getHeight() { + return height; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueInfoComposer.java index 6abe7b2e..a956eaf1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueInfoComposer.java @@ -18,4 +18,8 @@ public class ModToolIssueInfoComposer extends MessageComposer { this.issue.serialize(this.response); return this.response; } + + public ModToolIssue getIssue() { + return issue; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueResponseAlertComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueResponseAlertComposer.java index 3be76632..3548e465 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueResponseAlertComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueResponseAlertComposer.java @@ -17,4 +17,8 @@ public class ModToolIssueResponseAlertComposer extends MessageComposer { this.response.appendString(this.message); return this.response; } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueUpdateComposer.java index e3756e71..35e120e8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueUpdateComposer.java @@ -18,4 +18,8 @@ public class ModToolIssueUpdateComposer extends MessageComposer { this.issue.serialize(this.response); return this.response; } + + public ModToolIssue getIssue() { + return issue; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolReportReceivedAlertComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolReportReceivedAlertComposer.java index 6f6315e8..719ea4c7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolReportReceivedAlertComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolReportReceivedAlertComposer.java @@ -24,4 +24,12 @@ public class ModToolReportReceivedAlertComposer extends MessageComposer { this.response.appendString(this.message); return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public String getMessage() { + return message; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomChatlogComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomChatlogComposer.java index 50ec9796..f37f714e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomChatlogComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomChatlogComposer.java @@ -43,4 +43,12 @@ public class ModToolRoomChatlogComposer extends MessageComposer { } return this.response; } + + public Room getRoom() { + return room; + } + + public ArrayList getChatlog() { + return chatlog; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomInfoComposer.java index c62423fb..73f3cb66 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolRoomInfoComposer.java @@ -29,4 +29,8 @@ public class ModToolRoomInfoComposer extends MessageComposer { } return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolSanctionInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolSanctionInfoComposer.java index e343f675..22fb587c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolSanctionInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolSanctionInfoComposer.java @@ -102,4 +102,8 @@ public class ModToolSanctionInfoComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserChatlogComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserChatlogComposer.java index 19ed914d..9adb42e0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserChatlogComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserChatlogComposer.java @@ -49,4 +49,16 @@ public class ModToolUserChatlogComposer extends MessageComposer { } return this.response; } + + public ArrayList getSet() { + return set; + } + + public int getUserId() { + return userId; + } + + public String getUsername() { + return username; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserInfoComposer.java index 41bce32f..5eba2421 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserInfoComposer.java @@ -84,4 +84,8 @@ public class ModToolUserInfoComposer extends MessageComposer { } return null; } + + public ResultSet getSet() { + return set; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserRoomVisitsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserRoomVisitsComposer.java index 91e4b476..a7080de8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserRoomVisitsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolUserRoomVisitsComposer.java @@ -36,4 +36,12 @@ public class ModToolUserRoomVisitsComposer extends MessageComposer { } return this.response; } + + public HabboInfo getHabboInfo() { + return habboInfo; + } + + public THashSet getRoomVisits() { + return roomVisits; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ReportRoomFormComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ReportRoomFormComposer.java index 5498e45d..4d583051 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/modtool/ReportRoomFormComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/modtool/ReportRoomFormComposer.java @@ -26,4 +26,8 @@ public class ReportRoomFormComposer extends MessageComposer { } return this.response; } + + public List getPendingIssues() { + return pendingIssues; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/CanCreateRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/CanCreateRoomComposer.java index 051d651b..e1898591 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/CanCreateRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/CanCreateRoomComposer.java @@ -22,4 +22,12 @@ public class CanCreateRoomComposer extends MessageComposer { return this.response; } + + public int getCount() { + return count; + } + + public int getMax() { + return max; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorCategoryUserCountComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorCategoryUserCountComposer.java index 119d15f7..ff6e9a1f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorCategoryUserCountComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorCategoryUserCountComposer.java @@ -26,4 +26,8 @@ public class NewNavigatorCategoryUserCountComposer extends MessageComposer { } return this.response; } + + public List getRoomCategories() { + return roomCategories; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSavedSearchesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSavedSearchesComposer.java index 2f613c69..b2d99f32 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSavedSearchesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSavedSearchesComposer.java @@ -29,4 +29,8 @@ public class NewNavigatorSavedSearchesComposer extends MessageComposer { return this.response; } + + public List getSearches() { + return searches; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSearchResultsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSearchResultsComposer.java index 0db11261..862c29c5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSearchResultsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSearchResultsComposer.java @@ -33,5 +33,15 @@ public class NewNavigatorSearchResultsComposer extends MessageComposer { return this.response; } + public String getSearchCode() { + return searchCode; + } + public String getSearchQuery() { + return searchQuery; + } + + public List getResultList() { + return resultList; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSettingsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSettingsComposer.java index da4025a4..eba115ab 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSettingsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/NewNavigatorSettingsComposer.java @@ -23,4 +23,8 @@ public class NewNavigatorSettingsComposer extends MessageComposer { this.response.appendInt(0); return this.response; } + + public HabboNavigatorWindowSettings getWindowSettings() { + return windowSettings; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/PrivateRoomsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/PrivateRoomsComposer.java index 41682c85..ed4766d7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/PrivateRoomsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/PrivateRoomsComposer.java @@ -49,4 +49,8 @@ public class PrivateRoomsComposer extends MessageComposer { } return null; } + + public List getRooms() { + return rooms; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCategoriesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCategoriesComposer.java index 93137911..b2c81acf 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCategoriesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCategoriesComposer.java @@ -37,4 +37,8 @@ public class RoomCategoriesComposer extends MessageComposer { return this.response; } + + public List getCategories() { + return categories; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCreatedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCreatedComposer.java index 266b5fcf..69bebcba 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCreatedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/RoomCreatedComposer.java @@ -19,4 +19,8 @@ public class RoomCreatedComposer extends MessageComposer { this.response.appendString(this.room.getName()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/navigator/TagsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/navigator/TagsComposer.java index cc966717..60a1428a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/navigator/TagsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/navigator/TagsComposer.java @@ -27,4 +27,8 @@ public class TagsComposer extends MessageComposer { return this.response; } + + public Set getTags() { + return tags; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/polls/PollQuestionsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/polls/PollQuestionsComposer.java index 02ff9583..8487e082 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/polls/PollQuestionsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/polls/PollQuestionsComposer.java @@ -28,4 +28,8 @@ public class PollQuestionsComposer extends MessageComposer { this.response.appendBoolean(true); return this.response; } + + public Poll getPoll() { + return poll; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/polls/PollStartComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/polls/PollStartComposer.java index 3486d2f6..2adb7277 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/polls/PollStartComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/polls/PollStartComposer.java @@ -21,4 +21,8 @@ public class PollStartComposer extends MessageComposer { this.response.appendString(this.poll.title); return this.response; } + + public Poll getPoll() { + return poll; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswerComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswerComposer.java index faee66d9..a3f2d74a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswerComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswerComposer.java @@ -29,4 +29,20 @@ public class SimplePollAnswerComposer extends MessageComposer { this.response.appendInt(this.yes); return this.response; } + + public int getUserId() { + return userId; + } + + public String getChoice() { + return choice; + } + + public int getNo() { + return no; + } + + public int getYes() { + return yes; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswersComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswersComposer.java index 18ab4680..8671be7c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswersComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollAnswersComposer.java @@ -24,4 +24,12 @@ public class SimplePollAnswersComposer extends MessageComposer { this.response.appendInt(this.yes); return this.response; } + + public int getNo() { + return no; + } + + public int getYes() { + return yes; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollStartComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollStartComposer.java index efa720b3..fd4caebd 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollStartComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/polls/infobus/SimplePollStartComposer.java @@ -27,4 +27,12 @@ public class SimplePollStartComposer extends MessageComposer { this.response.appendString(this.question); return this.response; } + + public int getDuration() { + return duration; + } + + public String getQuestion() { + return question; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestCompletedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestCompletedComposer.java index dddf6a81..95c6a6d6 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestCompletedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestCompletedComposer.java @@ -58,5 +58,36 @@ public class QuestCompletedComposer extends MessageComposer { message.appendBoolean(this.easy); } + public int getActivityPointsType() { + return activityPointsType; + } + + public boolean isAccepted() { + return accepted; + } + + public int getId() { + return id; + } + + public String getType() { + return type; + } + + public int getSortOrder() { + return sortOrder; + } + + public boolean isEasy() { + return easy; + } + } + + public UnknownClass getUnknownClass() { + return unknownClass; + } + + public boolean isUnknowbOolean() { + return unknowbOolean; } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestComposer.java index f95a4056..65ee3cb1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestComposer.java @@ -17,4 +17,8 @@ public class QuestComposer extends MessageComposer { this.response.append(this.quest); return this.response; } + + public QuestsComposer.Quest getQuest() { + return quest; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestExpiredComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestExpiredComposer.java index 479e150f..d7f54dc0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestExpiredComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestExpiredComposer.java @@ -17,4 +17,8 @@ public class QuestExpiredComposer extends MessageComposer { this.response.appendBoolean(this.expired); return this.response; } + + public boolean isExpired() { + return expired; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestsComposer.java index 60d877e3..e8c60544 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/quests/QuestsComposer.java @@ -83,5 +83,77 @@ public class QuestsComposer extends MessageComposer { message.appendString(this.chainCode); message.appendBoolean(this.easy); } + + public String getCampaignCode() { + return campaignCode; + } + + public int getCompletedQuestsInCampaign() { + return completedQuestsInCampaign; + } + + public int getQuestCountInCampaign() { + return questCountInCampaign; + } + + public int getActivityPointType() { + return activityPointType; + } + + public int getId() { + return id; + } + + public boolean isAccepted() { + return accepted; + } + + public String getType() { + return type; + } + + public String getImageVersion() { + return imageVersion; + } + + public int getRewardCurrencyAmount() { + return rewardCurrencyAmount; + } + + public String getLocalizationCode() { + return localizationCode; + } + + public int getCompletedSteps() { + return completedSteps; + } + + public int getTotalSteps() { + return totalSteps; + } + + public int getSortOrder() { + return sortOrder; + } + + public String getCatalogPageName() { + return catalogPageName; + } + + public String getChainCode() { + return chainCode; + } + + public boolean isEasy() { + return easy; + } + } + + public List getQuests() { + return quests; + } + + public boolean isUnknownBoolean() { + return unknownBoolean; } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotForceOpenContextMenuComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotForceOpenContextMenuComposer.java index 3e7a7bf3..bffc1d28 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotForceOpenContextMenuComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotForceOpenContextMenuComposer.java @@ -17,4 +17,8 @@ public class BotForceOpenContextMenuComposer extends MessageComposer { this.response.appendInt(this.botId); return this.response; } + + public int getBotId() { + return botId; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotSettingsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotSettingsComposer.java index 655e5a1c..43b6fcf9 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotSettingsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/BotSettingsComposer.java @@ -59,4 +59,12 @@ public class BotSettingsComposer extends MessageComposer { } return this.response; } + + public Bot getBot() { + return bot; + } + + public int getSettingId() { + return settingId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/DoorbellAddUserComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/DoorbellAddUserComposer.java index 0f678902..2ed772d1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/DoorbellAddUserComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/DoorbellAddUserComposer.java @@ -17,4 +17,8 @@ public class DoorbellAddUserComposer extends MessageComposer { this.response.appendString(this.habbo); return this.response; } + + public String getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/FavoriteRoomChangedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/FavoriteRoomChangedComposer.java index af2ce192..86f9f6f4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/FavoriteRoomChangedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/FavoriteRoomChangedComposer.java @@ -20,4 +20,12 @@ public class FavoriteRoomChangedComposer extends MessageComposer { this.response.appendBoolean(this.favorite); return this.response; } + + public int getRoomId() { + return roomId; + } + + public boolean isFavorite() { + return favorite; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/FloodCounterComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/FloodCounterComposer.java index 90f747bd..f4c56cd1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/FloodCounterComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/FloodCounterComposer.java @@ -17,4 +17,8 @@ public class FloodCounterComposer extends MessageComposer { this.response.appendInt(this.time); return this.response; } + + public int getTime() { + return time; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/ForwardToRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/ForwardToRoomComposer.java index 7d758d26..ff675554 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/ForwardToRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/ForwardToRoomComposer.java @@ -17,4 +17,8 @@ public class ForwardToRoomComposer extends MessageComposer { this.response.appendInt(this.roomId); return this.response; } + + public int getRoomId() { + return roomId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/FreezeLivesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/FreezeLivesComposer.java index c4bf6d91..3ac67691 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/FreezeLivesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/FreezeLivesComposer.java @@ -19,4 +19,8 @@ public class FreezeLivesComposer extends MessageComposer { this.response.appendInt(this.gamePlayer.getLives()); return this.response; } + + public FreezeGamePlayer getGamePlayer() { + return gamePlayer; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/HideDoorbellComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/HideDoorbellComposer.java index e9a49ee7..393ba320 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/HideDoorbellComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/HideDoorbellComposer.java @@ -17,4 +17,8 @@ public class HideDoorbellComposer extends MessageComposer { this.response.appendString(this.username); return this.response; } + + public String getUsername() { + return username; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/KnockKnockUnknownComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/KnockKnockUnknownComposer.java deleted file mode 100644 index 67518055..00000000 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/KnockKnockUnknownComposer.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.eu.habbo.messages.outgoing.rooms; - -import com.eu.habbo.habbohotel.users.Habbo; -import com.eu.habbo.messages.ServerMessage; -import com.eu.habbo.messages.outgoing.MessageComposer; - -public class KnockKnockUnknownComposer extends MessageComposer { - private final Habbo habbo; - - public KnockKnockUnknownComposer(Habbo habbo) { - this.habbo = habbo; - } - - @Override - protected ServerMessage composeInternal() { - this.response.init(478); //TODO Hardcoded header - this.response.appendString(this.habbo.getHabboInfo().getUsername()); - this.response.appendInt(this.habbo.getHabboInfo().getId()); - return this.response; - } -} diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAccessDeniedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAccessDeniedComposer.java index 728a23b1..242b1580 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAccessDeniedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAccessDeniedComposer.java @@ -17,4 +17,8 @@ public class RoomAccessDeniedComposer extends MessageComposer { this.response.appendString(this.habbo); return this.response; } + + public String getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java index 6829f5f8..446b00b9 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomAddRightsListComposer.java @@ -24,4 +24,16 @@ public class RoomAddRightsListComposer extends MessageComposer { this.response.appendString(this.userName); return this.response; } + + public Room getRoom() { + return room; + } + + public int getUserId() { + return userId; + } + + public String getUserName() { + return userName; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomBannedUsersComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomBannedUsersComposer.java index 763e5a77..42a1d3a5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomBannedUsersComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomBannedUsersComposer.java @@ -51,4 +51,8 @@ public class RoomBannedUsersComposer extends MessageComposer { return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomChatSettingsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomChatSettingsComposer.java index 43a971a4..b4a63e68 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomChatSettingsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomChatSettingsComposer.java @@ -22,4 +22,8 @@ public class RoomChatSettingsComposer extends MessageComposer { this.response.appendInt(this.room.getChatProtection()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomDataComposer.java index 895cacc6..01326eac 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomDataComposer.java @@ -112,4 +112,20 @@ public class RoomDataComposer extends MessageComposer { return this.response; } + + public Room getRoom() { + return room; + } + + public Habbo getHabbo() { + return habbo; + } + + public boolean isRoomForward() { + return roomForward; + } + + public boolean isEnterRoom() { + return enterRoom; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEditSettingsErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEditSettingsErrorComposer.java index f53bef2c..07a46fec 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEditSettingsErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEditSettingsErrorComposer.java @@ -31,4 +31,16 @@ public class RoomEditSettingsErrorComposer extends MessageComposer { this.response.appendString(this.info); return this.response; } + + public int getRoomId() { + return roomId; + } + + public int getErrorCode() { + return errorCode; + } + + public String getInfo() { + return info; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEnterErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEnterErrorComposer.java index a2ec60e7..8945eca5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEnterErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEnterErrorComposer.java @@ -35,4 +35,12 @@ public class RoomEnterErrorComposer extends MessageComposer { this.response.appendString(this.queError); return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public String getQueError() { + return queError; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEntryInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEntryInfoComposer.java index be3d1185..8865e4b8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEntryInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomEntryInfoComposer.java @@ -19,4 +19,8 @@ public class RoomEntryInfoComposer extends MessageComposer { this.response.appendString(this.room.getOwnerName()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFilterWordsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFilterWordsComposer.java index 85b379d9..c75ab463 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFilterWordsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFilterWordsComposer.java @@ -24,4 +24,8 @@ public class RoomFilterWordsComposer extends MessageComposer { return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFloorThicknessUpdatedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFloorThicknessUpdatedComposer.java index 9d8c46c8..65a36ac8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFloorThicknessUpdatedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomFloorThicknessUpdatedComposer.java @@ -20,4 +20,8 @@ public class RoomFloorThicknessUpdatedComposer extends MessageComposer { this.response.appendInt(this.room.getWallSize()); //Wall Thickness return this.response; } + + public Room getRoom() { + return room; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomHeightMapComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomHeightMapComposer.java index bfe4220d..2e78ae08 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomHeightMapComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomHeightMapComposer.java @@ -20,4 +20,8 @@ public class RoomHeightMapComposer extends MessageComposer { this.response.appendString(this.room.getLayout().getRelativeMap()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java index d845f545..5d733a9b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomModelComposer.java @@ -19,4 +19,8 @@ public class RoomModelComposer extends MessageComposer { this.response.appendInt(this.room.getId()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomMutedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomMutedComposer.java index 7e038cc8..8c7226d8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomMutedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomMutedComposer.java @@ -18,4 +18,8 @@ public class RoomMutedComposer extends MessageComposer { this.response.appendBoolean(this.room.isMuted()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaintComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaintComposer.java index 6961fa62..4856fd67 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaintComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaintComposer.java @@ -20,4 +20,12 @@ public class RoomPaintComposer extends MessageComposer { this.response.appendString(this.value); return this.response; } + + public String getType() { + return type; + } + + public String getValue() { + return value; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaneComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaneComposer.java index db8e3929..9e9c3f33 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaneComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomPaneComposer.java @@ -21,4 +21,12 @@ public class RoomPaneComposer extends MessageComposer { this.response.appendBoolean(this.roomOwner); return this.response; } + + public Room getRoom() { + return room; + } + + public boolean isRoomOwner() { + return roomOwner; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRelativeMapComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRelativeMapComposer.java index 8236b453..4359c8bd 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRelativeMapComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRelativeMapComposer.java @@ -39,4 +39,8 @@ public class RoomRelativeMapComposer extends MessageComposer { } return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRemoveRightsListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRemoveRightsListComposer.java index cf12bdec..005c900a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRemoveRightsListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRemoveRightsListComposer.java @@ -22,4 +22,12 @@ public class RoomRemoveRightsListComposer extends MessageComposer { this.response.appendInt(this.userId); return this.response; } + + public Room getRoom() { + return room; + } + + public int getUserId() { + return userId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsComposer.java index 23e5e4cc..9bae00be 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsComposer.java @@ -18,4 +18,8 @@ public class RoomRightsComposer extends MessageComposer { this.response.appendInt(this.type.level); return this.response; } + + public RoomRightLevels getType() { + return type; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsListComposer.java index 7a08a9d4..42e2c571 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomRightsListComposer.java @@ -31,4 +31,8 @@ public class RoomRightsListComposer extends MessageComposer { return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomScoreComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomScoreComposer.java index e3e7eb7d..56682818 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomScoreComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomScoreComposer.java @@ -20,4 +20,12 @@ public class RoomScoreComposer extends MessageComposer { this.response.appendBoolean(this.canVote); return this.response; } + + public int getScore() { + return score; + } + + public boolean isCanVote() { + return canVote; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsComposer.java index f37dce64..4b02d945 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsComposer.java @@ -54,4 +54,8 @@ public class RoomSettingsComposer extends MessageComposer { this.response.appendInt(this.room.getBanOption()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsSavedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsSavedComposer.java index b6c6ac42..850cf4ac 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsSavedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsSavedComposer.java @@ -18,4 +18,8 @@ public class RoomSettingsSavedComposer extends MessageComposer { this.response.appendInt(this.room.getId()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsUpdatedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsUpdatedComposer.java index 7e1041b6..6521f016 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsUpdatedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomSettingsUpdatedComposer.java @@ -18,4 +18,8 @@ public class RoomSettingsUpdatedComposer extends MessageComposer { this.response.appendInt(this.room.getId()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomThicknessComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomThicknessComposer.java index 9a1c9ea0..b595c0a0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomThicknessComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/RoomThicknessComposer.java @@ -20,4 +20,8 @@ public class RoomThicknessComposer extends MessageComposer { this.response.appendInt(this.room.getFloorSize()); return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/UpdateStackHeightComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/UpdateStackHeightComposer.java index 9da42a67..08c35841 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/UpdateStackHeightComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/UpdateStackHeightComposer.java @@ -8,6 +8,8 @@ import com.eu.habbo.messages.outgoing.MessageComposer; import com.eu.habbo.messages.outgoing.Outgoing; import gnu.trove.set.hash.THashSet; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; public class UpdateStackHeightComposer extends MessageComposer { @@ -33,39 +35,40 @@ public class UpdateStackHeightComposer extends MessageComposer { @Override protected ServerMessage composeInternal() { - //TODO: maybe do this another way? doesn't seem to be very clean but gets the job done this.response.init(Outgoing.UpdateStackHeightComposer); + if (this.updateTiles != null) { - this.updateTiles.removeIf(Objects::isNull); - // prevent overflow. Byte max value is 127 - if(this.updateTiles.size() > 127) { - RoomTile[] tiles = this.updateTiles.toArray(new RoomTile[updateTiles.size()]); + List tilesCopy = new ArrayList<>(this.updateTiles); + tilesCopy.removeIf(Objects::isNull); + + if (tilesCopy.size() > 127) { this.response.appendByte(127); - for(int i = 0; i < 127; i++) { - RoomTile t = tiles[i]; - updateTiles.remove(t); // remove it from the set + for (int i = 0; i < 127; i++) { + RoomTile t = tilesCopy.get(i); this.response.appendByte((int) t.x); this.response.appendByte((int) t.y); - if(Emulator.getConfig().getBoolean("custom.stacking.enabled")) { + if (Emulator.getConfig().getBoolean("custom.stacking.enabled")) { this.response.appendShort((short) (t.z * 256.0)); - } - else { + } else { this.response.appendShort(t.relativeHeight()); } } - //send the remaining tiles in a new message - this.room.sendComposer(new UpdateStackHeightComposer(this.room, updateTiles).compose()); + + List remainingTiles = tilesCopy.subList(127, tilesCopy.size()); + if (!remainingTiles.isEmpty()) { + this.room.sendComposer(new UpdateStackHeightComposer(this.room, new THashSet<>(remainingTiles)).compose()); + } + return this.response; } - this.response.appendByte(this.updateTiles.size()); - for (RoomTile t : this.updateTiles) { + this.response.appendByte(tilesCopy.size()); + for (RoomTile t : tilesCopy) { this.response.appendByte((int) t.x); this.response.appendByte((int) t.y); - if(Emulator.getConfig().getBoolean("custom.stacking.enabled")) { + if (Emulator.getConfig().getBoolean("custom.stacking.enabled")) { this.response.appendShort((short) (t.z * 256.0)); - } - else { + } else { this.response.appendShort(t.relativeHeight()); } } @@ -73,13 +76,37 @@ public class UpdateStackHeightComposer extends MessageComposer { this.response.appendByte(1); this.response.appendByte(this.x); this.response.appendByte(this.y); - if(Emulator.getConfig().getBoolean("custom.stacking.enabled")) { + if (Emulator.getConfig().getBoolean("custom.stacking.enabled")) { this.response.appendShort((short) (this.z * 256.0)); - } - else { + } else { this.response.appendShort((int) (this.height)); } } + return this.response; } + + public int getX() { + return x; + } + + public int getY() { + return y; + } + + public short getZ() { + return z; + } + + public double getHeight() { + return height; + } + + public THashSet getUpdateTiles() { + return updateTiles; + } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddFloorItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddFloorItemComposer.java index b27e75d9..c3a3a86d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddFloorItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddFloorItemComposer.java @@ -28,4 +28,12 @@ public class AddFloorItemComposer extends MessageComposer { this.response.appendString(this.itemOwnerName); return this.response; } + + public HabboItem getItem() { + return item; + } + + public String getItemOwnerName() { + return itemOwnerName; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddWallItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddWallItemComposer.java index 300eec19..81a5b64b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddWallItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/AddWallItemComposer.java @@ -21,4 +21,12 @@ public class AddWallItemComposer extends MessageComposer { this.response.appendString(this.itemOwnerName); return this.response; } + + public HabboItem getItem() { + return item; + } + + public String getItemOwnerName() { + return itemOwnerName; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemOnRollerComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemOnRollerComposer.java index 878b9490..eb350e30 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemOnRollerComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemOnRollerComposer.java @@ -77,4 +77,36 @@ public class FloorItemOnRollerComposer extends MessageComposer { return this.response; } + + public HabboItem getItem() { + return item; + } + + public HabboItem getRoller() { + return roller; + } + + public RoomTile getOldLocation() { + return oldLocation; + } + + public RoomTile getNewLocation() { + return newLocation; + } + + public double getHeightOffset() { + return heightOffset; + } + + public double getOldZ() { + return oldZ; + } + + public double getNewZ() { + return newZ; + } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemUpdateComposer.java index df9cf6f2..5ce45b95 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/FloorItemUpdateComposer.java @@ -25,4 +25,8 @@ public class FloorItemUpdateComposer extends MessageComposer { this.response.appendInt(this.item.getUserId()); return this.response; } + + public HabboItem getItem() { + return item; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemExtraDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemExtraDataComposer.java index 1fe1ebfc..b334a6ce 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemExtraDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemExtraDataComposer.java @@ -19,4 +19,8 @@ public class ItemExtraDataComposer extends MessageComposer { this.item.serializeExtradata(this.response); return this.response; } + + public HabboItem getItem() { + return item; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemIntStateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemIntStateComposer.java index af739f27..87812ab4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemIntStateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemIntStateComposer.java @@ -20,4 +20,12 @@ public class ItemIntStateComposer extends MessageComposer { this.response.appendInt(this.value); return this.response; } + + public int getId() { + return id; + } + + public int getValue() { + return value; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemStateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemStateComposer.java index 792b96a3..8064bbd5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemStateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemStateComposer.java @@ -25,4 +25,8 @@ public class ItemStateComposer extends MessageComposer { return this.response; } + + public HabboItem getItem() { + return item; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemsDataUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemsDataUpdateComposer.java index 3e5fb517..26c91d00 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemsDataUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/ItemsDataUpdateComposer.java @@ -27,4 +27,8 @@ public class ItemsDataUpdateComposer extends MessageComposer { return this.response; } + + public Set getItems() { + return items; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/MoodLightDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/MoodLightDataComposer.java index 45c934cc..64c32246 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/MoodLightDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/MoodLightDataComposer.java @@ -52,4 +52,8 @@ public class MoodLightDataComposer extends MessageComposer { //:test 2780 i:1 i:1 i:1 i:2 s:#FF00FF i:255 return this.response; } + + public TIntObjectMap getMoodLightData() { + return moodLightData; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItDataComposer.java index 497317af..a701d654 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItDataComposer.java @@ -23,4 +23,8 @@ public class PostItDataComposer extends MessageComposer { this.response.appendString(this.postIt.getExtradata()); return this.response; } + + public InteractionPostIt getPostIt() { + return postIt; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItStickyPoleOpenComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItStickyPoleOpenComposer.java index e4151744..6feeff3a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItStickyPoleOpenComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PostItStickyPoleOpenComposer.java @@ -19,4 +19,8 @@ public class PostItStickyPoleOpenComposer extends MessageComposer { this.response.appendString(""); return this.response; } + + public HabboItem getItem() { + return item; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PresentItemOpenedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PresentItemOpenedComposer.java index fea440e1..c0fe0366 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PresentItemOpenedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/PresentItemOpenedComposer.java @@ -28,4 +28,16 @@ public class PresentItemOpenedComposer extends MessageComposer { this.response.appendString(this.text); return this.response; } + + public HabboItem getItem() { + return item; + } + + public String getText() { + return text; + } + + public boolean isUnknown() { + return unknown; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveFloorItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveFloorItemComposer.java index 9050674c..ae1816dc 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveFloorItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveFloorItemComposer.java @@ -30,4 +30,12 @@ public class RemoveFloorItemComposer extends MessageComposer { return this.response; } + + public HabboItem getItem() { + return item; + } + + public boolean isNoUser() { + return noUser; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveWallItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveWallItemComposer.java index eb926801..9e175c55 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveWallItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RemoveWallItemComposer.java @@ -19,4 +19,8 @@ public class RemoveWallItemComposer extends MessageComposer { this.response.appendInt(this.item.getUserId()); return this.response; } + + public HabboItem getItem() { + return item; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomFloorItemsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomFloorItemsComposer.java index 35210fa2..6a330a32 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomFloorItemsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomFloorItemsComposer.java @@ -50,4 +50,12 @@ public class RoomFloorItemsComposer extends MessageComposer { } return this.response; } + + public TIntObjectMap getFurniOwnerNames() { + return furniOwnerNames; + } + + public THashSet getItems() { + return items; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomWallItemsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomWallItemsComposer.java index 0f8a6696..7c3cf1c7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomWallItemsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/RoomWallItemsComposer.java @@ -51,4 +51,8 @@ public class RoomWallItemsComposer extends MessageComposer { } return this.response; } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/UpdateStackHeightTileHeightComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/UpdateStackHeightTileHeightComposer.java index 2b378c95..4de9a85b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/UpdateStackHeightTileHeightComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/UpdateStackHeightTileHeightComposer.java @@ -22,4 +22,12 @@ public class UpdateStackHeightTileHeightComposer extends MessageComposer { this.response.appendInt(this.height); return this.response; } + + public HabboItem getItem() { + return item; + } + + public int getHeight() { + return height; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/WallItemUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/WallItemUpdateComposer.java index 2a009599..10cbd605 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/WallItemUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/WallItemUpdateComposer.java @@ -19,4 +19,8 @@ public class WallItemUpdateComposer extends MessageComposer { this.response.appendString(this.item.getUserId() + ""); return this.response; } + + public HabboItem getItem() { + return item; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxMySongsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxMySongsComposer.java index e9a61572..c5d584e3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxMySongsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxMySongsComposer.java @@ -28,4 +28,8 @@ public class JukeBoxMySongsComposer extends MessageComposer { return this.response; } + + public List getItems() { + return items; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxNowPlayingMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxNowPlayingMessageComposer.java index 9e8f0c64..19e56d1f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxNowPlayingMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxNowPlayingMessageComposer.java @@ -35,4 +35,16 @@ public class JukeBoxNowPlayingMessageComposer extends MessageComposer { } return this.response; } + + public SoundTrack getTrack() { + return track; + } + + public int getPlayListId() { + return playListId; + } + + public int getMsPlayed() { + return msPlayed; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListAddSongComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListAddSongComposer.java index ec65f396..1d9f7089 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListAddSongComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListAddSongComposer.java @@ -21,4 +21,8 @@ public class JukeBoxPlayListAddSongComposer extends MessageComposer { this.response.appendString(this.track.getAuthor()); return this.response; } + + public SoundTrack getTrack() { + return track; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListComposer.java index 29c82b72..df1e6e5b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListComposer.java @@ -27,4 +27,12 @@ public class JukeBoxPlayListComposer extends MessageComposer { } return this.response; } + + public List getSongs() { + return songs; + } + + public int getTotalLength() { + return totalLength; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListUpdatedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListUpdatedComposer.java index c4a0ceb4..6fe1afb1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListUpdatedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxPlayListUpdatedComposer.java @@ -35,4 +35,8 @@ public class JukeBoxPlayListUpdatedComposer extends MessageComposer { return this.response; } + + public THashSet getTracks() { + return tracks; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackCodeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackCodeComposer.java index 3759c337..6b6e7873 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackCodeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackCodeComposer.java @@ -19,4 +19,8 @@ public class JukeBoxTrackCodeComposer extends MessageComposer { this.response.appendInt(this.track.getId()); return this.response; } + + public SoundTrack getTrack() { + return track; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackDataComposer.java index 77fbb08e..f97dca4f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/jukebox/JukeBoxTrackDataComposer.java @@ -30,4 +30,8 @@ public class JukeBoxTrackDataComposer extends MessageComposer { return this.response; } + + public List getTracks() { + return tracks; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFinishedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFinishedComposer.java index ddeb2ff1..cec88f99 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFinishedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFinishedComposer.java @@ -18,4 +18,8 @@ public class LoveLockFurniFinishedComposer extends MessageComposer { this.response.appendInt(this.loveLock.getId()); return this.response; } + + public InteractionLoveLock getLoveLock() { + return loveLock; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFriendConfirmedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFriendConfirmedComposer.java index 660fbe95..27422b8d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFriendConfirmedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniFriendConfirmedComposer.java @@ -18,4 +18,8 @@ public class LoveLockFurniFriendConfirmedComposer extends MessageComposer { this.response.appendInt(this.loveLock.getId()); return this.response; } + + public InteractionLoveLock getLoveLock() { + return loveLock; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniStartComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniStartComposer.java index 20cb7c90..e0a1fc38 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniStartComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/lovelock/LoveLockFurniStartComposer.java @@ -19,4 +19,8 @@ public class LoveLockFurniStartComposer extends MessageComposer { this.response.appendBoolean(true); return this.response; } + + public InteractionLoveLock getLoveLock() { + return loveLock; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceInfoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceInfoComposer.java index cbefc155..724d1261 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceInfoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceInfoComposer.java @@ -51,4 +51,16 @@ public class RentableSpaceInfoComposer extends MessageComposer { this.response.appendInt(((InteractionRentableSpace) this.item).rentCost()); //Price return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public HabboItem getItem() { + return item; + } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknown2Composer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknown2Composer.java index 81ce6b29..6de93c8e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknown2Composer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknown2Composer.java @@ -17,4 +17,8 @@ public class RentableSpaceUnknown2Composer extends MessageComposer { this.response.appendInt(this.itemId); return this.response; } + + public int getItemId() { + return itemId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java index af042c18..33128e12 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/rentablespaces/RentableSpaceUnknownComposer.java @@ -17,4 +17,8 @@ public class RentableSpaceUnknownComposer extends MessageComposer { this.response.appendInt(this.itemId); return this.response; } + + public int getItemId() { + return itemId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeDisplayListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeDisplayListComposer.java index 11c6773c..1d9d698e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeDisplayListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeDisplayListComposer.java @@ -33,4 +33,16 @@ public class YoutubeDisplayListComposer extends MessageComposer { this.response.appendString(this.currentPlaylist == null ? "" : this.currentPlaylist.getId()); // current playlist ID return this.response; } + + public int getItemId() { + return itemId; + } + + public ArrayList getPlaylists() { + return playlists; + } + + public YoutubeManager.YoutubePlaylist getCurrentPlaylist() { + return currentPlaylist; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeStateChangeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeStateChangeComposer.java index 762a5021..91c1407c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeStateChangeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeStateChangeComposer.java @@ -21,4 +21,12 @@ public class YoutubeStateChangeComposer extends MessageComposer { return this.response; } + + public int getFurniId() { + return furniId; + } + + public int getState() { + return state; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeVideoComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeVideoComposer.java index 225220e1..e4176a1f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeVideoComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/items/youtube/YoutubeVideoComposer.java @@ -28,4 +28,20 @@ public class YoutubeVideoComposer extends MessageComposer { this.response.appendInt(this.playing ? 1 : 2); return this.response; } + + public int getItemId() { + return itemId; + } + + public YoutubeManager.YoutubeVideo getVideo() { + return video; + } + + public boolean isPlaying() { + return playing; + } + + public int getStartTime() { + return startTime; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/CantScratchPetNotOldEnoughComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/CantScratchPetNotOldEnoughComposer.java index b3e33e30..67bb3168 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/CantScratchPetNotOldEnoughComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/CantScratchPetNotOldEnoughComposer.java @@ -20,4 +20,12 @@ public class CantScratchPetNotOldEnoughComposer extends MessageComposer { this.response.appendInt(this.requiredAge); return this.response; } + + public int getCurrentAge() { + return currentAge; + } + + public int getRequiredAge() { + return requiredAge; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetInformationComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetInformationComposer.java index 06a05b4a..41cec304 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetInformationComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetInformationComposer.java @@ -67,4 +67,16 @@ public class PetInformationComposer extends MessageComposer { return this.response; } + + public Pet getPet() { + return pet; + } + + public Room getRoom() { + return room; + } + + public Habbo getRequestingHabbo() { + return requestingHabbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpComposer.java index f3bf2bf9..d4367587 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpComposer.java @@ -27,4 +27,8 @@ public class PetLevelUpComposer extends MessageComposer { //:test 2329 i:0 s:a i:3 i:1 i:1 s:FF00FF i:0 i:0 return this.response; } + + public Pet getPet() { + return pet; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpdatedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpdatedComposer.java index 46f76ae0..5dd1f261 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpdatedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetLevelUpdatedComposer.java @@ -20,4 +20,8 @@ public class PetLevelUpdatedComposer extends MessageComposer { this.response.appendInt(this.pet.getLevel()); return this.response; } + + public Pet getPet() { + return pet; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageComposer.java index 70f8d918..01327c08 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageComposer.java @@ -18,4 +18,8 @@ public class PetPackageComposer extends MessageComposer { this.response.appendInt(this.item.getId()); return this.response; } + + public HabboItem getItem() { + return item; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageNameValidationComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageNameValidationComposer.java index 9d99ade4..d0167d72 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageNameValidationComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetPackageNameValidationComposer.java @@ -29,4 +29,16 @@ public class PetPackageNameValidationComposer extends MessageComposer { this.response.appendString(this.errorString); return this.response; } + + public int getItemId() { + return itemId; + } + + public int getErrorCode() { + return errorCode; + } + + public String getErrorString() { + return errorString; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetStatusUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetStatusUpdateComposer.java index 37549fe6..69881b62 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetStatusUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetStatusUpdateComposer.java @@ -25,4 +25,8 @@ public class PetStatusUpdateComposer extends MessageComposer { this.response.appendBoolean(this.pet instanceof MonsterplantPet && ((MonsterplantPet) this.pet).isPubliclyBreedable()); return this.response; } + + public Pet getPet() { + return pet; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetTrainingPanelComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetTrainingPanelComposer.java index f9254269..bdf56810 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetTrainingPanelComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/PetTrainingPanelComposer.java @@ -46,4 +46,8 @@ public class PetTrainingPanelComposer extends MessageComposer { return this.response; } + + public Pet getPet() { + return pet; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetComposer.java index c515a694..ab776a4e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetComposer.java @@ -59,4 +59,8 @@ public class RoomPetComposer extends MessageComposer implements TIntObjectProced return true; } + + public TIntObjectMap getPets() { + return pets; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java index 60983021..a577084a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetExperienceComposer.java @@ -22,4 +22,12 @@ public class RoomPetExperienceComposer extends MessageComposer { this.response.appendInt(this.amount); return this.response; } + + public Pet getPet() { + return pet; + } + + public int getAmount() { + return amount; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetHorseFigureComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetHorseFigureComposer.java index e8f066f7..3c7cd570 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetHorseFigureComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetHorseFigureComposer.java @@ -48,4 +48,8 @@ public class RoomPetHorseFigureComposer extends MessageComposer { this.response.appendBoolean(false); // this.pet.anyoneCanRide() return this.response; } + + public HorsePet getPet() { + return pet; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetRespectComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetRespectComposer.java index 59f939ed..a306be60 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetRespectComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/RoomPetRespectComposer.java @@ -30,4 +30,12 @@ public class RoomPetRespectComposer extends MessageComposer { this.pet.serialize(this.response); return this.response; } + + public Pet getPet() { + return pet; + } + + public int getType() { + return type; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingCompleted.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingCompleted.java index 2cd37d06..3777fef9 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingCompleted.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingCompleted.java @@ -20,4 +20,12 @@ public class PetBreedingCompleted extends MessageComposer { this.response.appendInt(this.race); return this.response; } + + public int getType() { + return type; + } + + public int getRace() { + return race; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingFailedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingFailedComposer.java index b39a16a0..ca19d8c0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingFailedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingFailedComposer.java @@ -20,4 +20,12 @@ public class PetBreedingFailedComposer extends MessageComposer { this.response.appendInt(this.anInt2); return this.response; } + + public int getAnInt1() { + return anInt1; + } + + public int getAnInt2() { + return anInt2; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingResultComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingResultComposer.java index 035e83c3..05ff67b1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingResultComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingResultComposer.java @@ -108,5 +108,29 @@ public class PetBreedingResultComposer extends MessageComposer { message.appendString(this.pet.getColor()); message.appendString(this.ownerName); } + + public Pet getPet() { + return pet; + } + + public String getOwnerName() { + return ownerName; + } + } + + public int getBoxId() { + return boxId; + } + + public int getPetType() { + return petType; + } + + public PetBreedingPet getPetOne() { + return petOne; + } + + public PetBreedingPet getPetTwo() { + return petTwo; } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartComposer.java index 55647113..e7a6753f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartComposer.java @@ -24,4 +24,16 @@ public class PetBreedingStartComposer extends MessageComposer { this.response.appendInt(this.anInt2); return this.response; } + + public int getState() { + return state; + } + + public int getAnInt1() { + return anInt1; + } + + public int getAnInt2() { + return anInt2; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartFailedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartFailedComposer.java index 6f1e51ce..22b9b253 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartFailedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/pets/breeding/PetBreedingStartFailedComposer.java @@ -25,4 +25,8 @@ public class PetBreedingStartFailedComposer extends MessageComposer { this.response.appendInt(this.reason); return this.response; } + + public int getReason() { + return reason; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/PromoteOwnRoomsListComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/PromoteOwnRoomsListComposer.java index f791a26d..48635100 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/PromoteOwnRoomsListComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/PromoteOwnRoomsListComposer.java @@ -30,4 +30,8 @@ public class PromoteOwnRoomsListComposer extends MessageComposer { } return this.response; } + + public List getRooms() { + return rooms; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/RoomPromotionMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/RoomPromotionMessageComposer.java index 6167e61c..92fae0c0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/RoomPromotionMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/promotions/RoomPromotionMessageComposer.java @@ -50,4 +50,12 @@ public class RoomPromotionMessageComposer extends MessageComposer { return this.response; } + + public Room getRoom() { + return room; + } + + public RoomPromotion getRoomPromotion() { + return roomPromotion; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/ChangeNameUpdatedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/ChangeNameUpdatedComposer.java index cb72a29c..5c66292a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/ChangeNameUpdatedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/ChangeNameUpdatedComposer.java @@ -20,4 +20,8 @@ public class ChangeNameUpdatedComposer extends MessageComposer { this.response.appendInt(0); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitIdleComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitIdleComposer.java index 9a018261..222cdbd0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitIdleComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitIdleComposer.java @@ -19,4 +19,8 @@ public class RoomUnitIdleComposer extends MessageComposer { this.response.appendBoolean(this.roomUnit.isIdle()); return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitOnRollerComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitOnRollerComposer.java index 70df0b1c..d81e592c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitOnRollerComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUnitOnRollerComposer.java @@ -121,4 +121,44 @@ public class RoomUnitOnRollerComposer extends MessageComposer { return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } + + public HabboItem getRoller() { + return roller; + } + + public RoomTile getOldLocation() { + return oldLocation; + } + + public double getOldZ() { + return oldZ; + } + + public RoomTile getNewLocation() { + return newLocation; + } + + public double getNewZ() { + return newZ; + } + + public Room getRoom() { + return room; + } + + public int getX() { + return x; + } + + public int getY() { + return y; + } + + public HabboItem getOldTopItem() { + return oldTopItem; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserActionComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserActionComposer.java index ec54fda0..b1e6d942 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserActionComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserActionComposer.java @@ -22,4 +22,12 @@ public class RoomUserActionComposer extends MessageComposer { this.response.appendInt(this.action.getAction()); return this.response; } + + public RoomUserAction getAction() { + return action; + } + + public RoomUnit getRoomUnit() { + return roomUnit; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDanceComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDanceComposer.java index f0900df7..fc21db82 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDanceComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDanceComposer.java @@ -19,4 +19,8 @@ public class RoomUserDanceComposer extends MessageComposer { this.response.appendInt(this.roomUnit.getDanceType().getType()); return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDataComposer.java index 322a7ac7..3ed858d3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDataComposer.java @@ -22,4 +22,8 @@ public class RoomUserDataComposer extends MessageComposer { this.response.appendInt(this.habbo.getHabboStats().getAchievementScore()); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserEffectComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserEffectComposer.java index 8053b35e..23af40df 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserEffectComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserEffectComposer.java @@ -27,4 +27,12 @@ public class RoomUserEffectComposer extends MessageComposer { this.response.appendInt(0); return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } + + public int getEffectId() { + return effectId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserHandItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserHandItemComposer.java index 2c74c8f2..58a98852 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserHandItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserHandItemComposer.java @@ -19,4 +19,8 @@ public class RoomUserHandItemComposer extends MessageComposer { this.response.appendInt(this.roomUnit.getHandItem()); return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java index 51f7482b..5927d1d1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserIgnoredComposer.java @@ -25,4 +25,12 @@ public class RoomUserIgnoredComposer extends MessageComposer { this.response.appendString(this.habbo.getHabboInfo().getUsername()); return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public int getState() { + return state; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserNameChangedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserNameChangedComposer.java index 3e43c471..aba321e7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserNameChangedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserNameChangedComposer.java @@ -36,4 +36,16 @@ public class RoomUserNameChangedComposer extends MessageComposer { this.response.appendString(this.name); return this.response; } + + public int getUserId() { + return userId; + } + + public int getRoomId() { + return roomId; + } + + public String getName() { + return name; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserReceivedHandItemComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserReceivedHandItemComposer.java index 121ca4ea..adf3ea2d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserReceivedHandItemComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserReceivedHandItemComposer.java @@ -21,4 +21,12 @@ public class RoomUserReceivedHandItemComposer extends MessageComposer { this.response.appendInt(this.handItem); return this.response; } + + public RoomUnit getFrom() { + return from; + } + + public int getHandItem() { + return handItem; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveComposer.java index 9981b5b9..d6a84a42 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveComposer.java @@ -18,4 +18,8 @@ public class RoomUserRemoveComposer extends MessageComposer { this.response.appendString(this.roomUnit.getId() + ""); return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveRightsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveRightsComposer.java index ccf56264..04831326 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveRightsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRemoveRightsComposer.java @@ -21,4 +21,12 @@ public class RoomUserRemoveRightsComposer extends MessageComposer { this.response.appendInt(this.habboId); return this.response; } + + public Room getRoom() { + return room; + } + + public int getHabboId() { + return habboId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRespectComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRespectComposer.java index 4e807eef..d8d10ef0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRespectComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserRespectComposer.java @@ -19,4 +19,8 @@ public class RoomUserRespectComposer extends MessageComposer { this.response.appendInt(this.habbo.getHabboStats().respectPointsReceived); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserShoutComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserShoutComposer.java index 6c8945bf..840229fa 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserShoutComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserShoutComposer.java @@ -22,4 +22,8 @@ public class RoomUserShoutComposer extends MessageComposer { return this.response; } + + public RoomChatMessage getRoomChatMessage() { + return roomChatMessage; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserStatusComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserStatusComposer.java index 4aedd6bb..1a6d2e96 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserStatusComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserStatusComposer.java @@ -82,4 +82,16 @@ public class RoomUserStatusComposer extends MessageComposer { } return this.response; } + + public Collection getHabbos() { + return habbos; + } + + public THashSet getRoomUnits() { + return roomUnits; + } + + public double getOverrideZ() { + return overrideZ; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTagsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTagsComposer.java index a612e9e8..656160d3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTagsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTagsComposer.java @@ -23,4 +23,8 @@ public class RoomUserTagsComposer extends MessageComposer { } return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTalkComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTalkComposer.java index 6af2fdb7..54fc8a8b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTalkComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTalkComposer.java @@ -22,4 +22,8 @@ public class RoomUserTalkComposer extends MessageComposer { this.roomChatMessage.serialize(this.response); return this.response; } + + public RoomChatMessage getRoomChatMessage() { + return roomChatMessage; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTypingComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTypingComposer.java index b4126838..bd2ab3a0 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTypingComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserTypingComposer.java @@ -21,4 +21,12 @@ public class RoomUserTypingComposer extends MessageComposer { this.response.appendInt(this.typing ? 1 : 0); return this.response; } + + public RoomUnit getRoomUnit() { + return roomUnit; + } + + public boolean isTyping() { + return typing; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserUnbannedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserUnbannedComposer.java index 8390e131..8ef76163 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserUnbannedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserUnbannedComposer.java @@ -21,4 +21,12 @@ public class RoomUserUnbannedComposer extends MessageComposer { this.response.appendInt(this.userId); return this.response; } + + public Room getRoom() { + return room; + } + + public int getUserId() { + return userId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserWhisperComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserWhisperComposer.java index 10f8800c..5ad2055c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserWhisperComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserWhisperComposer.java @@ -22,4 +22,8 @@ public class RoomUserWhisperComposer extends MessageComposer { return this.response; } + + public RoomChatMessage getRoomChatMessage() { + return roomChatMessage; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersAddGuildBadgeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersAddGuildBadgeComposer.java index b8340394..d2b3ca46 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersAddGuildBadgeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersAddGuildBadgeComposer.java @@ -20,4 +20,8 @@ public class RoomUsersAddGuildBadgeComposer extends MessageComposer { this.response.appendString(this.guild.getBadge()); return this.response; } + + public Guild getGuild() { + return guild; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersComposer.java index 4b53f9c6..247e1edf 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersComposer.java @@ -150,4 +150,20 @@ public class RoomUsersComposer extends MessageComposer { } return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public Collection getHabbos() { + return habbos; + } + + public Bot getBot() { + return bot; + } + + public Collection getBots() { + return bots; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersGuildBadgesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersGuildBadgesComposer.java index babb2980..bb8f1c43 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersGuildBadgesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUsersGuildBadgesComposer.java @@ -28,4 +28,8 @@ public class RoomUsersGuildBadgesComposer extends MessageComposer { }); return this.response; } + + public THashMap getGuildBadges() { + return guildBadges; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeAcceptedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeAcceptedComposer.java index e6f10f66..21a5ee04 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeAcceptedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeAcceptedComposer.java @@ -19,4 +19,8 @@ public class TradeAcceptedComposer extends MessageComposer { this.response.appendInt(this.tradeUser.getAccepted()); return this.response; } + + public RoomTradeUser getTradeUser() { + return tradeUser; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeClosedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeClosedComposer.java index db247875..7fa04732 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeClosedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeClosedComposer.java @@ -23,4 +23,12 @@ public class TradeClosedComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getUserId() { + return userId; + } + + public int getErrorCode() { + return errorCode; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartComposer.java index 57d9118d..070deb88 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartComposer.java @@ -29,4 +29,12 @@ public class TradeStartComposer extends MessageComposer { } return this.response; } + + public RoomTrade getRoomTrade() { + return roomTrade; + } + + public int getState() { + return state; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java index 1012e680..6e85c823 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeStartFailComposer.java @@ -31,4 +31,12 @@ public class TradeStartFailComposer extends MessageComposer { this.response.appendString(this.username); return this.response; } + + public String getUsername() { + return username; + } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeUpdateComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeUpdateComposer.java index 14464cf1..b74d9751 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeUpdateComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/trading/TradeUpdateComposer.java @@ -43,4 +43,8 @@ public class TradeUpdateComposer extends MessageComposer { } return this.response; } + + public RoomTrade getRoomTrade() { + return roomTrade; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/CompetitionEntrySubmitResultComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/CompetitionEntrySubmitResultComposer.java index 36db1a94..8e92478e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/CompetitionEntrySubmitResultComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/CompetitionEntrySubmitResultComposer.java @@ -38,4 +38,24 @@ public class CompetitionEntrySubmitResultComposer extends MessageComposer { } return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } + + public String getUnknownString1() { + return unknownString1; + } + + public int getResult() { + return result; + } + + public List getUnknownStringList1() { + return unknownStringList1; + } + + public List getUnknownStringList2() { + return unknownStringList2; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ConvertedForwardToRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ConvertedForwardToRoomComposer.java index c36eb9fb..97eba819 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ConvertedForwardToRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ConvertedForwardToRoomComposer.java @@ -20,4 +20,12 @@ public class ConvertedForwardToRoomComposer extends MessageComposer { this.response.appendInt(this.unknownInt1); return this.response; } + + public String getUnknownString1() { + return unknownString1; + } + + public int getUnknownInt1() { + return unknownInt1; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/EpicPopupFrameComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/EpicPopupFrameComposer.java index 0fc2e05e..deeefce1 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/EpicPopupFrameComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/EpicPopupFrameComposer.java @@ -18,4 +18,8 @@ public class EpicPopupFrameComposer extends MessageComposer { this.response.appendString(this.assetURI); return this.response; } + + public String getAssetURI() { + return assetURI; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ErrorLoginComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ErrorLoginComposer.java index 80546dd3..0e2d72ad 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ErrorLoginComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ErrorLoginComposer.java @@ -17,4 +17,8 @@ public class ErrorLoginComposer extends MessageComposer { this.response.appendInt(this.errorCode); return this.response; } + + public int getErrorCode() { + return errorCode; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ExtendClubMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ExtendClubMessageComposer.java index 8225c519..dfdf3dab 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ExtendClubMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ExtendClubMessageComposer.java @@ -34,4 +34,28 @@ public class ExtendClubMessageComposer extends MessageComposer { this.response.appendInt(this.daysRemaining); return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public ClubOffer getOffer() { + return offer; + } + + public int getNormalCreditCost() { + return normalCreditCost; + } + + public int getNormalPointsCost() { + return normalPointsCost; + } + + public int getPointsType() { + return pointsType; + } + + public int getDaysRemaining() { + return daysRemaining; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/MessengerErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/MessengerErrorComposer.java index c16dee3c..476a922c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/MessengerErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/MessengerErrorComposer.java @@ -23,4 +23,8 @@ public class MessengerErrorComposer extends MessageComposer { } return this.response; } + + public Map getErrors() { + return errors; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ModToolSanctionDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ModToolSanctionDataComposer.java index 4cce8833..265c77a7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/ModToolSanctionDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/ModToolSanctionDataComposer.java @@ -51,5 +51,41 @@ public class ModToolSanctionDataComposer extends MessageComposer { message.appendString(this.tradelockInfo); message.appendString(this.machineBanInfo); } + + public String getName() { + return name; + } + + public int getLength() { + return length; + } + + public int getUnknownInt1() { + return unknownInt1; + } + + public boolean isAvatarOnly() { + return avatarOnly; + } + + public String getTradelockInfo() { + return tradelockInfo; + } + + public String getMachineBanInfo() { + return machineBanInfo; + } + } + + public int getUnknownInt1() { + return unknownInt1; + } + + public int getAccountId() { + return accountId; + } + + public CFHSanction getSanction() { + return sanction; } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RentableItemBuyOutPriceComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RentableItemBuyOutPriceComposer.java index 75b5f6db..eb5a1f1b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RentableItemBuyOutPriceComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RentableItemBuyOutPriceComposer.java @@ -32,4 +32,28 @@ public class RentableItemBuyOutPriceComposer extends MessageComposer { this.response.appendInt(this.pointsType); return this.response; } + + public boolean isUnknownBoolean1() { + return unknownBoolean1; + } + + public String getUnknownString1() { + return unknownString1; + } + + public boolean isUnknownBoolean2() { + return unknownBoolean2; + } + + public int getCredits() { + return credits; + } + + public int getPoints() { + return points; + } + + public int getPointsType() { + return pointsType; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomAdErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomAdErrorComposer.java index 0fb0752b..1aac5300 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomAdErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomAdErrorComposer.java @@ -20,4 +20,12 @@ public class RoomAdErrorComposer extends MessageComposer { this.response.appendString(this.unknownString); return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public String getUnknownString() { + return unknownString; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomCategoryUpdateMessageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomCategoryUpdateMessageComposer.java index a726d903..1b6c39d5 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomCategoryUpdateMessageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomCategoryUpdateMessageComposer.java @@ -17,4 +17,8 @@ public class RoomCategoryUpdateMessageComposer extends MessageComposer { this.response.appendInt(this.unknownInt1); return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomMessagesPostedCountComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomMessagesPostedCountComposer.java index 8a269fed..93a872ab 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomMessagesPostedCountComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomMessagesPostedCountComposer.java @@ -22,4 +22,12 @@ public class RoomMessagesPostedCountComposer extends MessageComposer { this.response.appendInt(this.count); return this.response; } + + public Room getRoom() { + return room; + } + + public int getCount() { + return count; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomUserQuestionAnsweredComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomUserQuestionAnsweredComposer.java index 3bd9a877..960d800a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomUserQuestionAnsweredComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/RoomUserQuestionAnsweredComposer.java @@ -29,4 +29,16 @@ public class RoomUserQuestionAnsweredComposer extends MessageComposer { } return this.response; } + + public int getUserId() { + return userId; + } + + public String getValue() { + return value; + } + + public Map getUnknownMap() { + return unknownMap; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsLoadingArenaComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsLoadingArenaComposer.java index d6f11a4f..9bd2a863 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsLoadingArenaComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsLoadingArenaComposer.java @@ -18,4 +18,8 @@ public class SnowWarsLoadingArenaComposer extends MessageComposer { //this.response.appendInt(1); //ItemID to dispose? return this.response; } + + public int getCount() { + return count; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsUserEnteredArenaComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsUserEnteredArenaComposer.java index 4bd4de90..26be97c8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsUserEnteredArenaComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/SnowWarsUserEnteredArenaComposer.java @@ -29,4 +29,8 @@ public class SnowWarsUserEnteredArenaComposer extends MessageComposer { } return this.response; } + + public int getType() { + return type; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailFailedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailFailedComposer.java index efcabe5b..acedb3f7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailFailedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailFailedComposer.java @@ -17,4 +17,8 @@ public class TalentTrackEmailFailedComposer extends MessageComposer { this.response.appendInt(this.result); return this.response; } + + public int getResult() { + return result; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailVerifiedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailVerifiedComposer.java index 119a0b36..c8ea17e2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailVerifiedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/TalentTrackEmailVerifiedComposer.java @@ -23,4 +23,16 @@ public class TalentTrackEmailVerifiedComposer extends MessageComposer { this.response.appendBoolean(this.unknownB2); return this.response; } + + public String getEmail() { + return email; + } + + public boolean isUnknownB1() { + return unknownB1; + } + + public boolean isUnknownB2() { + return unknownB2; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAdManagerComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAdManagerComposer.java index d690e8a9..58ee45f8 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAdManagerComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAdManagerComposer.java @@ -17,4 +17,8 @@ public class UnknownAdManagerComposer extends MessageComposer { this.response.appendBoolean(this.unknownBoolean); return this.response; } + + public boolean isUnknownBoolean() { + return unknownBoolean; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAvatarEditorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAvatarEditorComposer.java index 5ff0d0c5..68148ce3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAvatarEditorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownAvatarEditorComposer.java @@ -17,4 +17,8 @@ public class UnknownAvatarEditorComposer extends MessageComposer { this.response.appendInt(this.type); return this.response; } + + public int getType() { + return type; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCatalogPageOfferComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCatalogPageOfferComposer.java index 0ce8fbd0..fbfda9c7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCatalogPageOfferComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCatalogPageOfferComposer.java @@ -21,4 +21,12 @@ public class UnknownCatalogPageOfferComposer extends MessageComposer { this.catalogItem.serialize(this.response); return this.response; } + + public int getPageId() { + return pageId; + } + + public CatalogItem getCatalogItem() { + return catalogItem; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCompetitionComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCompetitionComposer.java index 903e322c..fa427d5e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCompetitionComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownCompetitionComposer.java @@ -26,4 +26,20 @@ public class UnknownCompetitionComposer extends MessageComposer { this.response.appendInt(this.unknownInt3); return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } + + public String getUnknownString1() { + return unknownString1; + } + + public int getUnknownInt2() { + return unknownInt2; + } + + public int getUnknownInt3() { + return unknownInt3; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownComposer8.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownComposer8.java index 99417c98..72887ad4 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownComposer8.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownComposer8.java @@ -23,4 +23,16 @@ public class UnknownComposer8 extends MessageComposer { this.response.appendInt(this.unknownInt2); return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } + + public int getUserId() { + return userId; + } + + public int getUnknownInt2() { + return unknownInt2; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownFurniModelComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownFurniModelComposer.java index e4c3d621..a21a5980 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownFurniModelComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownFurniModelComposer.java @@ -21,4 +21,12 @@ public class UnknownFurniModelComposer extends MessageComposer { this.response.appendInt(this.unknownInt); return this.response; } + + public HabboItem getItem() { + return item; + } + + public int getUnknownInt() { + return unknownInt; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuild2Composer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuild2Composer.java index dab7e51e..0da7e10a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuild2Composer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuild2Composer.java @@ -17,4 +17,8 @@ public class UnknownGuild2Composer extends MessageComposer { this.response.appendInt(this.guildId); return this.response; } + + public int getGuildId() { + return guildId; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuildComposer3.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuildComposer3.java index c82577c7..ebcaf8a7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuildComposer3.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownGuildComposer3.java @@ -17,4 +17,8 @@ public class UnknownGuildComposer3 extends MessageComposer { this.response.appendInt(this.userId); return this.response; } + + public int getUserId() { + return userId; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHabboWayQuizComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHabboWayQuizComposer.java index 5c1a6b06..12ed30f9 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHabboWayQuizComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHabboWayQuizComposer.java @@ -25,4 +25,12 @@ public class UnknownHabboWayQuizComposer extends MessageComposer { } return this.response; } + + public String getUnknownString() { + return unknownString; + } + + public List getUnknownIntegerList() { + return unknownIntegerList; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHintComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHintComposer.java index 82ff7d27..da26b5a7 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHintComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownHintComposer.java @@ -17,4 +17,8 @@ public class UnknownHintComposer extends MessageComposer { this.response.appendString(this.key); return this.response; } + + public String getKey() { + return key; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownMessengerErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownMessengerErrorComposer.java index 5f62eecd..9ce6705e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownMessengerErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownMessengerErrorComposer.java @@ -23,4 +23,16 @@ public class UnknownMessengerErrorComposer extends MessageComposer { this.response.appendString(this.message); return this.response; } + + public int getErrorCode() { + return errorCode; + } + + public int getUserId() { + return userId; + } + + public String getMessage() { + return message; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownPollQuestionComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownPollQuestionComposer.java index 61705142..c0616c28 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownPollQuestionComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownPollQuestionComposer.java @@ -26,4 +26,12 @@ public class UnknownPollQuestionComposer extends MessageComposer { } return this.response; } + + public int getUnknownInt() { + return unknownInt; + } + + public Map getUnknownMap() { + return unknownMap; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomDesktopComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomDesktopComposer.java index d535af23..87bd3739 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomDesktopComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomDesktopComposer.java @@ -26,4 +26,12 @@ public class UnknownRoomDesktopComposer extends MessageComposer { } return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } + + public Map getUnknownMap() { + return unknownMap; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomViewerComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomViewerComposer.java index 703a08e6..54399d97 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomViewerComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownRoomViewerComposer.java @@ -23,4 +23,8 @@ public class UnknownRoomViewerComposer extends MessageComposer { } return this.response; } + + public Map getUnknownMap() { + return unknownMap; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownStatusComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownStatusComposer.java index cfa8c309..19dc50f9 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownStatusComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnknownStatusComposer.java @@ -20,4 +20,8 @@ public class UnknownStatusComposer extends MessageComposer { this.response.appendInt(this.status); return this.response; } + + public int getStatus() { + return status; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnkownPetPackageComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnkownPetPackageComposer.java index 337951a1..5c094c73 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnkownPetPackageComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UnkownPetPackageComposer.java @@ -23,4 +23,8 @@ public class UnkownPetPackageComposer extends MessageComposer { } return this.response; } + + public Map getUnknownMap() { + return unknownMap; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UserClassificationComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UserClassificationComposer.java index f7c3213a..530c8088 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/UserClassificationComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/UserClassificationComposer.java @@ -25,4 +25,8 @@ public class UserClassificationComposer extends MessageComposer { } return this.response; } + + public List>> getInfo() { + return info; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java index 06dd2b9d..1fb1e74a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WatchAndEarnRewardComposer.java @@ -21,4 +21,8 @@ public class WatchAndEarnRewardComposer extends MessageComposer { this.response.appendString(this.item.getFullName()); return this.response; } + + public Item getItem() { + return item; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftComposer.java index 8345ec60..48ef4991 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftComposer.java @@ -29,4 +29,24 @@ public class WelcomeGiftComposer extends MessageComposer { this.response.appendBoolean(this.unknownB3); return this.response; } + + public String getEmail() { + return email; + } + + public boolean isUnknownB1() { + return unknownB1; + } + + public boolean isUnknownB2() { + return unknownB2; + } + + public int getFurniId() { + return furniId; + } + + public boolean isUnknownB3() { + return unknownB3; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftErrorComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftErrorComposer.java index afb1fde5..3e165c78 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftErrorComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/unknown/WelcomeGiftErrorComposer.java @@ -22,4 +22,8 @@ public class WelcomeGiftErrorComposer extends MessageComposer { this.response.appendInt(this.error); return this.response; } + + public int getError() { + return error; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/AddUserBadgeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/AddUserBadgeComposer.java index 7074188f..d8802b20 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/AddUserBadgeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/AddUserBadgeComposer.java @@ -19,4 +19,8 @@ public class AddUserBadgeComposer extends MessageComposer { this.response.appendString(this.badge.getCode()); return this.response; } + + public HabboBadge getBadge() { + return badge; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/ChangeNameCheckResultComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/ChangeNameCheckResultComposer.java index e451a884..a16c1d69 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/ChangeNameCheckResultComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/ChangeNameCheckResultComposer.java @@ -35,4 +35,16 @@ public class ChangeNameCheckResultComposer extends MessageComposer { } return this.response; } + + public int getStatus() { + return status; + } + + public String getName() { + return name; + } + + public List getSuggestions() { + return suggestions; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/ClubGiftReceivedComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/ClubGiftReceivedComposer.java index de0755f4..481da481 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/ClubGiftReceivedComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/ClubGiftReceivedComposer.java @@ -29,4 +29,12 @@ public class ClubGiftReceivedComposer extends MessageComposer { return this.response; } + + public String getName() { + return name; + } + + public THashSet getItems() { + return items; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/FavoriteRoomsCountComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/FavoriteRoomsCountComposer.java index 36f4c4e5..f382e559 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/FavoriteRoomsCountComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/FavoriteRoomsCountComposer.java @@ -28,4 +28,8 @@ public class FavoriteRoomsCountComposer extends MessageComposer { }); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/MeMenuSettingsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/MeMenuSettingsComposer.java index 73b2d1d9..15734e85 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/MeMenuSettingsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/MeMenuSettingsComposer.java @@ -25,4 +25,8 @@ public class MeMenuSettingsComposer extends MessageComposer { this.response.appendInt(this.habbo.getHabboStats().chatColor.getType()); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/MutedWhisperComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/MutedWhisperComposer.java index 1db3310f..bae0cc7a 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/MutedWhisperComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/MutedWhisperComposer.java @@ -17,4 +17,8 @@ public class MutedWhisperComposer extends MessageComposer { this.response.appendInt(this.seconds); return this.response; } + + public int getSeconds() { + return seconds; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/ProfileFriendsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/ProfileFriendsComposer.java index cc4d757c..2115df8b 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/ProfileFriendsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/ProfileFriendsComposer.java @@ -108,4 +108,20 @@ public class ProfileFriendsComposer extends MessageComposer { } return this.response; } + + public List getLovers() { + return lovers; + } + + public List getFriends() { + return friends; + } + + public List getHaters() { + return haters; + } + + public int getUserId() { + return userId; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UpdateUserLookComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UpdateUserLookComposer.java index ebe6f212..5e02ccef 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UpdateUserLookComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UpdateUserLookComposer.java @@ -19,4 +19,8 @@ public class UpdateUserLookComposer extends MessageComposer { this.response.appendString(this.habbo.getHabboInfo().getGender().name()); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserAchievementScoreComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserAchievementScoreComposer.java index 539481ab..bfb8a6b3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserAchievementScoreComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserAchievementScoreComposer.java @@ -18,4 +18,8 @@ public class UserAchievementScoreComposer extends MessageComposer { this.response.appendInt(this.habbo.getHabboStats().getAchievementScore()); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserBadgesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserBadgesComposer.java index 7574c3a6..287f72c2 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserBadgesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserBadgesComposer.java @@ -29,4 +29,12 @@ public class UserBadgesComposer extends MessageComposer { } return this.response; } + + public ArrayList getBadges() { + return badges; + } + + public int getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserCitizinShipComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserCitizinShipComposer.java index cbaea5ba..286a6367 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserCitizinShipComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserCitizinShipComposer.java @@ -19,4 +19,8 @@ public class UserCitizinShipComposer extends MessageComposer { this.response.appendInt(4); return this.response; } + + public String getName() { + return name; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserClothesComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserClothesComposer.java index 82c33e9f..c0b5dfe3 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserClothesComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserClothesComposer.java @@ -42,4 +42,12 @@ public class UserClothesComposer extends MessageComposer { this.nameList.forEach(this.response::appendString); return this.response; } + + public ArrayList getIdList() { + return idList; + } + + public ArrayList getNameList() { + return nameList; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserClubComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserClubComposer.java index 695561d2..d1a5641c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserClubComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserClubComposer.java @@ -160,4 +160,16 @@ public class UserClubComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } + + public String getSubscriptionType() { + return subscriptionType; + } + + public int getResponseType() { + return responseType; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserCreditsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserCreditsComposer.java index 70c89ae6..3a4ecc62 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserCreditsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserCreditsComposer.java @@ -18,4 +18,8 @@ public class UserCreditsComposer extends MessageComposer { this.response.appendString(this.habbo.getHabboInfo().getCredits() + ".0"); return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserCurrencyComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserCurrencyComposer.java index 22b689af..4272d4dd 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserCurrencyComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserCurrencyComposer.java @@ -36,4 +36,8 @@ public class UserCurrencyComposer extends MessageComposer { } return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserDataComposer.java index 6b4235dd..7e956d5c 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserDataComposer.java @@ -33,4 +33,8 @@ public class UserDataComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserHomeRoomComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserHomeRoomComposer.java index 4aeae0b3..34b1b164 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserHomeRoomComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserHomeRoomComposer.java @@ -20,4 +20,12 @@ public class UserHomeRoomComposer extends MessageComposer { this.response.appendInt(this.roomToEnter); return this.response; } + + public int getHomeRoom() { + return homeRoom; + } + + public int getRoomToEnter() { + return roomToEnter; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserPerksComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserPerksComposer.java index 7c81d3c2..5e3bc302 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserPerksComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserPerksComposer.java @@ -81,4 +81,8 @@ public class UserPerksComposer extends MessageComposer { return this.response; } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserPermissionsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserPermissionsComposer.java index d7c5809e..f67c2bfa 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserPermissionsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserPermissionsComposer.java @@ -24,4 +24,12 @@ public class UserPermissionsComposer extends MessageComposer { this.response.appendBoolean(this.habbo.hasPermission(Permission.ACC_AMBASSADOR)); return this.response; } + + public int getClubLevel() { + return clubLevel; + } + + public Habbo getHabbo() { + return habbo; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserPointsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserPointsComposer.java index 19ffa00c..560b4343 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserPointsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserPointsComposer.java @@ -23,4 +23,16 @@ public class UserPointsComposer extends MessageComposer { this.response.appendInt(this.type); return this.response; } + + public int getCurrentAmount() { + return currentAmount; + } + + public int getAmountAdded() { + return amountAdded; + } + + public int getType() { + return type; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserProfileComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserProfileComposer.java index 7a535652..c58fbe75 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserProfileComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserProfileComposer.java @@ -114,4 +114,16 @@ public class UserProfileComposer extends MessageComposer { return this.response; } + + public HabboInfo getHabboInfo() { + return habboInfo; + } + + public Habbo getHabbo() { + return habbo; + } + + public GameClient getViewer() { + return viewer; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/UserWardrobeComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/UserWardrobeComposer.java index 912fab51..fee0831d 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/UserWardrobeComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/UserWardrobeComposer.java @@ -24,4 +24,8 @@ public class UserWardrobeComposer extends MessageComposer { } return this.response; } + + public WardrobeComponent getWardrobeComponent() { + return wardrobeComponent; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneCodeWindowComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneCodeWindowComposer.java index f2923d4c..1cae312e 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneCodeWindowComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneCodeWindowComposer.java @@ -20,4 +20,12 @@ public class VerifyMobilePhoneCodeWindowComposer extends MessageComposer { this.response.appendInt(this.unknownInt2); return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } + + public int getUnknownInt2() { + return unknownInt2; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneDoneComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneDoneComposer.java index b91fca9f..e2e6222f 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneDoneComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneDoneComposer.java @@ -20,4 +20,12 @@ public class VerifyMobilePhoneDoneComposer extends MessageComposer { this.response.appendInt(this.unknownInt2); return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } + + public int getUnknownInt2() { + return unknownInt2; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneWindowComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneWindowComposer.java index 14766727..5433d7be 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneWindowComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/users/verification/VerifyMobilePhoneWindowComposer.java @@ -23,4 +23,16 @@ public class VerifyMobilePhoneWindowComposer extends MessageComposer { this.response.appendInt(this.unknownInt3); return this.response; } + + public int getUnknownInt1() { + return unknownInt1; + } + + public int getUnknownInt2() { + return unknownInt2; + } + + public int getUnknownInt3() { + return unknownInt3; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredConditionDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredConditionDataComposer.java index b3dcae0a..7da28790 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredConditionDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredConditionDataComposer.java @@ -22,4 +22,12 @@ public class WiredConditionDataComposer extends MessageComposer { this.condition.needsUpdate(true); return this.response; } + + public InteractionWiredCondition getCondition() { + return condition; + } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredEffectDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredEffectDataComposer.java index 73c84f2f..5a17a7ba 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredEffectDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredEffectDataComposer.java @@ -22,4 +22,12 @@ public class WiredEffectDataComposer extends MessageComposer { this.effect.needsUpdate(true); return this.response; } + + public InteractionWiredEffect getEffect() { + return effect; + } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredOpenComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredOpenComposer.java index d433f637..4a574d76 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredOpenComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredOpenComposer.java @@ -18,4 +18,8 @@ public class WiredOpenComposer extends MessageComposer { this.response.appendInt(this.item.getId()); return this.response; } + + public HabboItem getItem() { + return item; + } } \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredRewardAlertComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredRewardAlertComposer.java index 606a31eb..1b5bb525 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredRewardAlertComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredRewardAlertComposer.java @@ -27,4 +27,8 @@ public class WiredRewardAlertComposer extends MessageComposer { this.response.appendInt(this.code); return this.response; } + + public int getCode() { + return code; + } } diff --git a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredTriggerDataComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredTriggerDataComposer.java index 8541e814..0e7b7dcf 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredTriggerDataComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/wired/WiredTriggerDataComposer.java @@ -22,4 +22,12 @@ public class WiredTriggerDataComposer extends MessageComposer { this.trigger.needsUpdate(true); return this.response; } + + public InteractionWiredTrigger getTrigger() { + return trigger; + } + + public Room getRoom() { + return room; + } } diff --git a/src/main/java/com/eu/habbo/plugin/events/emulator/OutgoingPacketEvent.java b/src/main/java/com/eu/habbo/plugin/events/emulator/OutgoingPacketEvent.java new file mode 100644 index 00000000..4e0433b3 --- /dev/null +++ b/src/main/java/com/eu/habbo/plugin/events/emulator/OutgoingPacketEvent.java @@ -0,0 +1,39 @@ +package com.eu.habbo.plugin.events.emulator; + +import com.eu.habbo.habbohotel.users.Habbo; +import com.eu.habbo.messages.ServerMessage; +import com.eu.habbo.messages.outgoing.MessageComposer; +import com.eu.habbo.plugin.events.users.UserEvent; + +public class OutgoingPacketEvent extends UserEvent { + private final MessageComposer composer; + private final ServerMessage originalMessage; + private ServerMessage customMessage; + + public OutgoingPacketEvent(Habbo habbo, MessageComposer composer, ServerMessage originalMessage) { + super(habbo); + this.composer = composer; + this.originalMessage = originalMessage; + this.customMessage = null; + } + + public ServerMessage getOriginalMessage() { + return originalMessage; + } + + public MessageComposer getComposer() { + return composer; + } + + public void setCustomMessage(ServerMessage customMessage) { + this.customMessage = customMessage; + } + + public boolean hasCustomMessage() { + return this.customMessage != null; + } + + public ServerMessage getCustomMessage() { + return this.customMessage; + } +} \ No newline at end of file