package common.clientevent;
import common.PubRoom;
import common.RoomType;
public class EditRoomClientEvent extends ClientEvent {
private static final long serialVersionUID = 1L;
private final PubRoom room;
private final String newName;
private final String newDesc;
private final RoomType newType;
private final String newImage;
private final Boolean newPostOffice;
private final byte[] uploadData;
public EditRoomClientEvent(PubRoom room,
String newName,
String newDesc,
RoomType newType,
String newImage,
Boolean newPostOffice,
byte[] uploadData) {
super(ClientEventType.EDIT_ROOM);
this.room = room;
this.newName = newName;
this.newDesc = newDesc;
this.newType = newType;
this.newImage = newImage;
this.newPostOffice = newPostOffice;
this.uploadData = uploadData;
}
public PubRoom getRoom() {
return room;
}
public String getNewName() {
return newName;
}
public String getNewDescription() {
return newDesc;
}
public RoomType getNewType() {
return newType;
}
public String getNewImage() {
return newImage;
}
public Boolean getNewPostOffice() {
return newPostOffice;
}
public byte[] getUploadData() {
return uploadData;
}
}