Package org.spout.vanilla.protocol.msg.entity

Examples of org.spout.vanilla.protocol.msg.entity.EntityAttachEntityMessage


  @Override
  public EntityAttachEntityMessage decode(ByteBuf buffer) throws IOException {
    int id = buffer.readInt();
    int vehicle = buffer.readInt();
    byte leashed = buffer.readByte();
    return new EntityAttachEntityMessage(id, vehicle, leashed == 1);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.entity.EntityAttachEntityMessage

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.