예제 #1
0
        public ServerInstance()
        {
            m_launchedTime = DateTime.MinValue;

            m_serverThread   = null;
            m_serverInstance = this;

            string gameExePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HELLION_Dedicated.exe");

            if (System.IO.File.Exists(gameExePath))
            {
                m_assembly      = Assembly.LoadFile(gameExePath);
                m_serverWrapper = new ServerWrapper(m_assembly);
            }
            else
            {
                Console.WriteLine($"HELLION_Dedicated.exe not detected at {gameExePath}.\r\n Press any key to close.");
            }

            //m_gameServerProperties = new GameServerProperties();
            //m_gameServerProperties.Load();

            m_gameServerIni = new GameServerIni();
            m_gameServerIni.Load();
        }
예제 #2
0
 private void Config_Button_Reload_Click(object sender, EventArgs e)
 {
     m_gameServerIni.Load();
 }