Esempio n. 1
0
 public Client(SharedServerState state)
 {
     this.state = state;
     number     = Interlocked.Increment(ref state.ClientCounter);
     Trace.TraceInformation("{0} accepted", this);
     timer          = new System.Timers.Timer(GlobalConst.LobbyProtocolPingInterval * 1000);
     timer.Elapsed += TimerOnElapsed;
 }
 public LoginChecker(SharedServerState state)
 {
     this.state = state;
     geoIP      = new DatabaseReader("GeoLite2-Country.mmdb", FileAccessMode.Memory);
 }
 public LoginChecker(SharedServerState state)
 {
     this.state = state;
     geoIP = new DatabaseReader("GeoLite2-Country.mmdb", FileAccessMode.Memory);
 }