MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / PacketHandler

Class PacketHandler

src/main/java/emu/grasscutter/net/packet/PacketHandler.java:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import emu.grasscutter.server.game.GameSession;
4
5public abstract class PacketHandler {
6 protected static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
7
8 public abstract void handle(GameSession session, byte[] header, byte[] payload) throws Exception;
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected