Package net.lightstone.msg

Examples of net.lightstone.msg.BlockPlacementMessage


    int y = buffer.readUnsignedByte();
    int z = buffer.readInt();
    int direction = buffer.readUnsignedByte();
    int id = buffer.readUnsignedShort();
    if (id == 0xFFFF) {
      return new BlockPlacementMessage(x, y, z, direction);
    } else {
      int count = buffer.readUnsignedByte();
      int damage = buffer.readUnsignedByte();
      return new BlockPlacementMessage(x, y, z, direction, id, count, damage);
    }
  }
View Full Code Here

TOP

Related Classes of net.lightstone.msg.BlockPlacementMessage

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.