public PhysicsClient(bool local) { if (local) { server = new PhysicsServer(); } }
static void ServerMain(string[] args) { Root r = new Root(args, true); r.ServerServer(args); Mod.Instance.Init(); r.NextIndex += 10; while (!Root.Instance.Quit) { Flow f = new PhysicsServer(); r.CurrentFlow = f; f.Start(); r.ServerRun(true); f.Stop(); } r.ServerStop(); r.Dispose(); }