using System; using System.Collections.Generic; using System.Text; using System.Net; //using System.Net.Sockets; using libsecondlife; using libsecondlife.Packets; using OpenSim.world; using OpenSim.Framework.Interfaces; using OpenSim.UserServer; using OpenSim.Assets; using OpenSim.CAPS; using OpenSim.Framework.Console; using OpenSim.Physics.Manager; namespace OpenSim { public class OpenSimRoot { private static OpenSimRoot instance = new OpenSimRoot(); //null; public static OpenSimRoot Instance { get { return instance; } } private OpenSimRoot() { } public World LocalWorld; public Grid GridServers; public SimConfig Cfg; public SimCAPSHTTPServer HttpServer; public AssetCache AssetCache; public InventoryCache InventoryCache; //public Dictionary ClientThreads = new Dictionary(); public Dictionary ClientThreads = new Dictionary(); public DateTime startuptime; public OpenSimApplication Application; public bool Sandbox = false; public void StartUp() { if (this.Application != null) { this.Application.StartUp(); } } public void Shutdown() { if (this.Application != null) { this.Application.Shutdown(); } } } }