mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Added IRegistryCore and RegistryCore to OpenSim.Framework.
Added a ApplicationRegistry to OpenSimBase. Changed LoadRegionsPlugin so it registers itself to that application registry. Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
This commit is contained in:
@@ -45,16 +45,21 @@ namespace OpenSim.Region.ClientStack
|
||||
private static readonly ILog m_log
|
||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
protected IAssetCache m_assetCache;
|
||||
protected Dictionary<EndPoint, uint> m_clientCircuits = new Dictionary<EndPoint, uint>();
|
||||
protected NetworkServersInfo m_networkServersInfo;
|
||||
|
||||
public NetworkServersInfo NetServersInfo
|
||||
{
|
||||
get { return m_networkServersInfo; }
|
||||
}
|
||||
|
||||
protected BaseHttpServer m_httpServer;
|
||||
protected uint m_httpServerPort;
|
||||
|
||||
public CommunicationsManager CommunicationsManager
|
||||
{
|
||||
get { return m_commsManager; }
|
||||
set { m_commsManager = value; }
|
||||
}
|
||||
protected CommunicationsManager m_commsManager;
|
||||
|
||||
@@ -67,6 +72,14 @@ namespace OpenSim.Region.ClientStack
|
||||
get { return m_sceneManager; }
|
||||
}
|
||||
protected SceneManager m_sceneManager = new SceneManager();
|
||||
|
||||
protected IAssetCache m_assetCache;
|
||||
|
||||
public IAssetCache AssetCache
|
||||
{
|
||||
get { return m_assetCache; }
|
||||
set { m_assetCache = value; }
|
||||
}
|
||||
|
||||
protected abstract void Initialize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user