those are from retail sniffed packets
the basic structure is
public class name extends L2GameServerPackets
{
private static final String packet name string = "packet name";
// constructor with packet variables
public name()
{
}
// writeImpl() is the action of the packet
@Override
protected final void writeImpl()
{
}
@Override
public String getType()
{
return packet name string;
}
}
these are for server packets.
clientpackets use a readImpl() and runImpl() method readImpl() collect info(from client) runImpl() do the action of the clientpacket the others are similar