Package net.lightstone.msg

Examples of net.lightstone.msg.EntityInteractionMessage


  @Override
  public EntityInteractionMessage decode(ChannelBuffer buffer) throws IOException {
    int id = buffer.readInt();
    int target = buffer.readInt();
    boolean punching = buffer.readByte() != 0;
    return new EntityInteractionMessage(id, target, punching);
  }
View Full Code Here

TOP

Related Classes of net.lightstone.msg.EntityInteractionMessage

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.