Esempio n. 1
0
 private RustInterceptor(string server = "127.0.0.1", int port = 28015, int listenPort = 5678)
 {
     StringPool.Fill();
     serverIP        = server;
     serverPort      = port;
     this.listenPort = listenPort;
     serverPacket    = new Packet();
     //clientPacket = new Packet();
     //backgroundThread = new Thread(BackgroundThread);
     packetQueue      = new Queue <Packet>();
     remeberedPackets = new List <Packet>();
     packetFilter     = new List <Packet.Rust>();
 }