Arcturus-Community/src/main/java/com/eu/habbo/messages/outgoing/modtool/ModToolIssueHandlerDimensionsComposer.java

29 lines
914 B
Java
Raw Normal View History

2018-07-06 15:30:00 +02:00
package com.eu.habbo.messages.outgoing.modtool;
import com.eu.habbo.messages.ServerMessage;
import com.eu.habbo.messages.outgoing.MessageComposer;
import com.eu.habbo.messages.outgoing.Outgoing;
2019-05-26 20:14:53 +02:00
public class ModToolIssueHandlerDimensionsComposer extends MessageComposer {
2018-07-06 15:30:00 +02:00
private final int x;
private final int y;
private final int width;
private final int height;
2019-05-26 20:14:53 +02:00
public ModToolIssueHandlerDimensionsComposer(int x, int y, int width, int height) {
2018-07-06 15:30:00 +02:00
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
@Override
2019-05-26 20:14:53 +02:00
public ServerMessage compose() {
2018-07-06 15:30:00 +02:00
this.response.init(Outgoing.ModToolIssueHandlerDimensionsComposer);
this.response.appendInt(this.x);
this.response.appendInt(this.y);
this.response.appendInt(this.width);
this.response.appendInt(this.height);
return this.response;
}
}