Ejemplo n.º 1
0
        protected KSPMGlobals()
        {
            this.nullLogger = new DevNullLog();
            this.log        = this.nullLogger;
            this.gameServer = null;

            this.natTraversingMethod = new NATNone();

            this.stringEncoder = new UTF8Encoder();
            this.ioFilePath    = string.Format(".{0}config{1}", System.IO.Path.DirectorySeparatorChar, System.IO.Path.DirectorySeparatorChar);

            RealTimer.Timer.Start();
        }
Ejemplo n.º 2
0
 public void SetNATTraversingMethod(NATTraversal method)
 {
     this.natTraversingMethod = method;
 }