Grasscutter/src/main/java/emu/grasscutter/net/packet/PacketHandler.java

10 lines
290 B
Java
Raw Normal View History

2022-04-17 20:43:07 +08:00
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;
}