Package org.misaka.api.common.network
Class NetworkSystem
java.lang.Object
org.misaka.api.common.network.NetworkSystem
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends PacketType<?,?>>
TgetPacketType(Class<?> packetClass) static <T extends PacketType<?,?>>
TgetPacketTypeById(int id) static booleanstatic voidstatic voidsetDebugInfo(boolean debugInfo) 感觉有点多此一举了喵, 无所谓了喵static <P extends Packet<?,?>>
booleanshouldReceive(Class<P> clazz, ThreadType currentThreadType) 老实说这个报错很烦喵
-
Method Details
-
isDebugInfo
public static boolean isDebugInfo() -
setDebugInfo
public static void setDebugInfo(boolean debugInfo) 感觉有点多此一举了喵, 无所谓了喵 -
progressRegistry
public static void progressRegistry() -
getPacketTypeById
-
getPacketType
-
shouldReceive
public static <P extends Packet<?,?>> boolean shouldReceive(Class<P> clazz, ThreadType currentThreadType) 老实说这个报错很烦喵
-