mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-09-11 19:24:16 +02:00
24 lines
684 B
Java
24 lines
684 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 RoomScoreComposer extends MessageComposer {
|
|
private final int score;
|
|
private final boolean canVote;
|
|
|
|
public RoomScoreComposer(int score, boolean canVote) {
|
|
this.score = score;
|
|
this.canVote = canVote;
|
|
}
|
|
|
|
@Override
|
|
public ServerMessage compose() {
|
|
this.response.init(Outgoing.RoomScoreComposer);
|
|
this.response.appendInt(this.score);
|
|
this.response.appendBoolean(this.canVote);
|
|
return this.response;
|
|
}
|
|
}
|