private static void Start(params string[] args) { foreach (var arg in args) { if (arg.StartsWith("-enableconsole")) ConsoleManager.Start(); } Proxy = new ServerProxy("127.0.0.1"); Proxy.Start(); Update(); }
public static void Start() { Util.Log("=============TCP START============="); server = new ServerProxy(); server.Start(); InitClient(1); RegisterCommond(); //Thread.Sleep(2000); //Shutdown(); }