Class NetworkSystem

java.lang.Object
org.misaka.api.common.network.NetworkSystem

public final class NetworkSystem extends Object
  • Method Details

    • isDebugInfo

      public static boolean isDebugInfo()
    • setDebugInfo

      public static void setDebugInfo(boolean debugInfo)
      感觉有点多此一举了喵, 无所谓了喵
    • progressRegistry

      public static void progressRegistry()
    • getPacketTypeById

      public static <T extends PacketType<?, ?>> T getPacketTypeById(int id)
    • getPacketType

      public static <T extends PacketType<?, ?>> T getPacketType(Class<?> packetClass)
    • shouldReceive

      public static <P extends Packet<?, ?>> boolean shouldReceive(Class<P> clazz, ThreadType currentThreadType)
      老实说这个报错很烦喵