Add packet type (unused yet)

This commit is contained in:
Sotr
2019-03-18 19:44:46 +08:00
parent 5b032a4e42
commit 7a3490a487
2 changed files with 11 additions and 0 deletions

View File

@@ -20,4 +20,10 @@ public interface Packet<T extends PacketListener> {
default boolean a() {
return false;
}
// Akarin start
public default io.akarin.server.core.PacketType getType() {
return io.akarin.server.core.PacketType.UNKNOWN;
}
// Akarin end
}