Examples of PlayerActionMessage


Examples of net.glowstone.net.message.play.player.PlayerActionMessage

    @Override
    public PlayerActionMessage decode(ByteBuf buf) throws IOException {
        int id = ByteBufUtils.readVarInt(buf);
        int action = buf.readByte();
        int jumpBoost = ByteBufUtils.readVarInt(buf);
        return new PlayerActionMessage(id, action, jumpBoost);
    }
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.