Package org.spout.vanilla.protocol.msg.player.conn

Examples of org.spout.vanilla.protocol.msg.player.conn.PlayerPingMessage


    }
  }

  @EventHandler
  public void onPlayerKeepAlive(PingEvent event) {
    event.getMessages().add(new PlayerPingMessage(event.getHash()));
  }
View Full Code Here


  }

  @Override
  public PlayerPingMessage decode(ByteBuf buffer) {
    int id = buffer.readInt();
    return new PlayerPingMessage(id);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.player.conn.PlayerPingMessage

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.