Package net.lightstone.msg

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

TOP

Related Classes of net.lightstone.msg.WindowClickMessage

Copyright © 2018 www.massapicom. 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.