blob: cff84f236253b2f781a19957a138d105adfe8c26 [file] [log] [blame] [raw]
package net.lightstone.msg;
public final class SetWindowSlotMessage extends Message {
private final int id, slot, item, count, damage;
public SetWindowSlotMessage(int id, int slot) {
this(id, slot, -1, 0, 0);
}
public SetWindowSlotMessage(int id, int slot, int item, int count, int damage) {
this.id = id;
this.slot = slot;
this.item = item;
this.count = count;
this.damage = damage;
}
public int getId() {
return id;
}
public int getSlot() {
return slot;
}
public int getItem() {
return item;
}
public int getCount() {
return count;
}
public int getDamage() {
return damage;
}
}