mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-12 06:42:56 +08:00
10 lines
290 B
Java
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;
|
||
|
}
|