Package net.glowstone.net.message.play.player

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

Related Classes of net.glowstone.net.message.play.player.PlayerActionMessage

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.