mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-09-11 19:24:16 +02:00
23 lines
723 B
Java
23 lines
723 B
Java
package com.eu.habbo.messages.outgoing.rooms;
|
|
|
|
import com.eu.habbo.messages.ServerMessage;
|
|
import com.eu.habbo.messages.outgoing.MessageComposer;
|
|
import com.eu.habbo.messages.outgoing.Outgoing;
|
|
|
|
public class FavoriteRoomChangedComposer extends MessageComposer {
|
|
private final int roomId;
|
|
private final boolean favorite;
|
|
|
|
public FavoriteRoomChangedComposer(int roomId, boolean favorite) {
|
|
this.roomId = roomId;
|
|
this.favorite = favorite;
|
|
}
|
|
|
|
@Override
|
|
public ServerMessage compose() {
|
|
this.response.init(Outgoing.FavoriteRoomChangedComposer);
|
|
this.response.appendInt(this.roomId);
|
|
this.response.appendBoolean(this.favorite);
|
|
return this.response;
|
|
}
|
|
} |