mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Refactor how next packages are handled
This commit is contained in:
1 parent
d5c112bcf9
commit
e0dc291def
4 files changed
+71
-5
No files matched your search
@@ -14,6 +14,8 @@ import us.hebi.quickbuf.ProtoSink;
|
||||
public class PacketHelper {
|
||||
private static Object2IntMap<Class<?>> methodIndexCache = new Object2IntOpenHashMap<>();
|
||||
|
||||
// Next packages
|
||||
|
||||
public static void cacheProtos() {
|
||||
var classes = new Reflections(Nebula.class.getPackage().getName()).getSubTypesOf(ProtoMessage.class);
|
||||
|
||||
|
||||
Reference in new issue
Block a user