package net.sf.l2j.gameserver;
import java.nio.ByteBuffer;
/**
* This interface can be implemented by custom extensions to l2j to get packets
* before the normal processing of PacketHandler
*
* @version $Revision: $ $Date: $
* @author galun
*/
public interface CustomPacketHandlerInterface {
/**
* interface for a custom packethandler to ckeck received packets
* PacketHandler will take care of the packet if this function returns false.
* @param data the packet
* @param client the ClientThread
* @return true if the packet has been processed, false otherwise
*/
public boolean handlePacket(ByteBuffer data, ClientThread client);
}