mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-09-17 13:34:16 +02:00
23 lines
659 B
Java
23 lines
659 B
Java
package com.eu.habbo.messages.outgoing.rooms.items;
|
|
|
|
import com.eu.habbo.messages.ServerMessage;
|
|
import com.eu.habbo.messages.outgoing.MessageComposer;
|
|
import com.eu.habbo.messages.outgoing.Outgoing;
|
|
|
|
public class ItemIntStateComposer extends MessageComposer {
|
|
private final int id;
|
|
private final int value;
|
|
|
|
public ItemIntStateComposer(int id, int value) {
|
|
this.id = id;
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public ServerMessage compose() {
|
|
this.response.init(Outgoing.ItemStateComposer2);
|
|
this.response.appendInt(this.id);
|
|
this.response.appendInt(this.value);
|
|
return this.response;
|
|
}
|
|
} |