Examples of WindowClickMessage


Examples of net.glowstone.net.message.play.inv.WindowClickMessage

        int slot = buf.readShort();
        int button = buf.readByte();
        int action = buf.readShort();
        int mode = buf.readByte();
        ItemStack item = GlowBufUtils.readSlot(buf);
        return new WindowClickMessage(id, slot, button, action, mode, item);
    }
View Full Code Here

Examples of net.lightstone.msg.WindowClickMessage

    int slot = buffer.readUnsignedShort();
    boolean rightClick = buffer.readUnsignedByte() != 0;
    int transaction = buffer.readUnsignedShort();
    int item = buffer.readUnsignedShort();
    if (item == 0xFFFF) {
      return new WindowClickMessage(id, slot, rightClick, transaction);
    } else {
      int count = buffer.readUnsignedByte();
      int damage = buffer.readUnsignedByte();
      return new WindowClickMessage(id, slot, rightClick, transaction, item, count, damage);
    }
  }
View Full Code Here

Examples of org.spout.vanilla.protocol.msg.window.WindowClickMessage

    int slot = buffer.readUnsignedShort();
    byte button = buffer.readByte();
    int transaction = buffer.readUnsignedShort();
    byte mode = buffer.readByte();
    ItemStack item = VanillaByteBufUtils.readItemStack(buffer);
    return new WindowClickMessage(id, slot, button, transaction, mode, item);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.