mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-09-11 19:24:16 +02:00
28 lines
876 B
Java
28 lines
876 B
Java
package com.eu.habbo.messages.outgoing.rooms;
|
|
|
|
import com.eu.habbo.habbohotel.rooms.Room;
|
|
import com.eu.habbo.messages.ServerMessage;
|
|
import com.eu.habbo.messages.outgoing.MessageComposer;
|
|
import com.eu.habbo.messages.outgoing.Outgoing;
|
|
|
|
public class RoomAddRightsListComposer extends MessageComposer {
|
|
private final Room room;
|
|
private final int userId;
|
|
private final String userName;
|
|
|
|
public RoomAddRightsListComposer(Room room, int userId, String username) {
|
|
this.room = room;
|
|
this.userId = userId;
|
|
this.userName = username;
|
|
}
|
|
|
|
@Override
|
|
public ServerMessage compose() {
|
|
this.response.init(Outgoing.RoomAddRightsListComposer);
|
|
this.response.appendInt(this.room.getId());
|
|
this.response.appendInt(this.userId);
|
|
this.response.appendString(this.userName);
|
|
return this.response;
|
|
}
|
|
}
|