BF2Statistics.Gamespy.GamespyEmulator.GamespyEmulator C# (CSharp) Method

GamespyEmulator() static private method

static private GamespyEmulator ( ) : System
return System
        static GamespyEmulator()
        {
            // Create our log file
            DebugLog = new LogWriter(Path.Combine(Program.RootPath, "Logs", "GamespyDebug.log"));

            // Register for events
            GpcmServer.OnClientsUpdate += (s, e) => OnClientsUpdate(s, e);
            MasterServer.OnServerlistUpdate += (s, e) => OnServerlistUpdate(s, e);
        }