killed InProcServer class; use ListenPort, ExternalPort, and GameName settings from settings.ini

This commit is contained in:
Chris Forbes
2010-03-13 12:46:19 +13:00
parent 8b80ae006a
commit be547479ce
3 changed files with 11 additions and 19 deletions

View File

@@ -26,8 +26,8 @@ using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Security.Cryptography;
using OpenRA.FileFormats;
using System.Threading;
using OpenRA.FileFormats;
namespace OpenRA.Server
{
@@ -566,15 +566,4 @@ namespace OpenRA.Server
lastPing = Environment.TickCount;
}
}
// temporary threaded inproc server wrapper.
public static class InprocServer
{
public static void Start( string[] mods )
{
Server.ServerMain( "OpenRA Server", 1234, 1234, mods );
}
public static void Stop() { }
}
}