public static void Init() { ProtoHandler.RegisterPacket(Packet); }
public static void Init() { Packet = new Dictionary <int, byte[]>(); //注册解析udp数据包. ProtoHandler.RegisterPacket(Packet); }