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(); }
public void SetNATTraversingMethod(NATTraversal method) { this.natTraversingMethod = method; }