Grasscutter/src/main/java/emu/grasscutter/net/packet/PacketHandler.java
2022-04-17 05:43:07 -07:00

10 lines
290 B
Java

package emu.grasscutter.net.packet;
import emu.grasscutter.server.game.GameSession;
public abstract class PacketHandler {
protected static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
public abstract void handle(GameSession session, byte[] header, byte[] payload) throws Exception;
}