package net.minecraft.network.packet; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; public class Packet254ServerPing extends Packet { public int field_82559_a = 0; /** * Abstract. Reads the raw packet data from the data stream. */ public void readPacketData(DataInputStream par1DataInputStream) throws IOException { try { this.field_82559_a = par1DataInputStream.readByte(); } catch (Throwable var3) { this.field_82559_a = 0; } } /** * Abstract. Writes the raw packet data to the data stream. */ public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException {} /** * Passes this Packet on to the NetHandler for processing. */ public void processPacket(NetHandler par1NetHandler) { par1NetHandler.handleServerPing(this); } /** * Abstract. Return the size of the packet (not counting the header). */ public int getPacketSize() { return 0; } }