using System; using Base; using Object = Base.Object; namespace App { class Program { static void Main(string[] args) { try { Object.ObjectManager.Register("Model", typeof(Scene).Assembly); Server.Scene.AddComponent(); Server.Scene.AddComponent(); Server.Scene.AddComponent(NetworkProtocol.UDP); Server.Scene.AddComponent(SceneType.Realm, "realm"); Server.Scene.AddComponent(Server.Scene.GetComponent().SceneType); while (true) { Object.ObjectManager.Update(); } } catch (Exception e) { Log.Error(e.ToString()); } } } }