diff options
author | MW | 2009-02-26 20:01:20 +0000 |
---|---|---|
committer | MW | 2009-02-26 20:01:20 +0000 |
commit | 33e7c09b7b894551b35fb8ab29133c96a5d7b037 (patch) | |
tree | a21839dc38477c2679b9c94fcebc96cca8bcc26d /OpenSim/Region/ClientStack | |
parent | Attempt to fix the "region starts but doesn't load anything" issue (diff) | |
download | opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.zip opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.tar.gz opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.tar.bz2 opensim-SC-33e7c09b7b894551b35fb8ab29133c96a5d7b037.tar.xz |
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).
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/RegionApplicationBase.cs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 55cf1ae..731e0e5 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs | |||
@@ -45,16 +45,21 @@ namespace OpenSim.Region.ClientStack | |||
45 | private static readonly ILog m_log | 45 | private static readonly ILog m_log |
46 | = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 46 | = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
47 | 47 | ||
48 | protected IAssetCache m_assetCache; | ||
49 | protected Dictionary<EndPoint, uint> m_clientCircuits = new Dictionary<EndPoint, uint>(); | 48 | protected Dictionary<EndPoint, uint> m_clientCircuits = new Dictionary<EndPoint, uint>(); |
50 | protected NetworkServersInfo m_networkServersInfo; | 49 | protected NetworkServersInfo m_networkServersInfo; |
51 | 50 | ||
51 | public NetworkServersInfo NetServersInfo | ||
52 | { | ||
53 | get { return m_networkServersInfo; } | ||
54 | } | ||
55 | |||
52 | protected BaseHttpServer m_httpServer; | 56 | protected BaseHttpServer m_httpServer; |
53 | protected uint m_httpServerPort; | 57 | protected uint m_httpServerPort; |
54 | 58 | ||
55 | public CommunicationsManager CommunicationsManager | 59 | public CommunicationsManager CommunicationsManager |
56 | { | 60 | { |
57 | get { return m_commsManager; } | 61 | get { return m_commsManager; } |
62 | set { m_commsManager = value; } | ||
58 | } | 63 | } |
59 | protected CommunicationsManager m_commsManager; | 64 | protected CommunicationsManager m_commsManager; |
60 | 65 | ||
@@ -67,6 +72,14 @@ namespace OpenSim.Region.ClientStack | |||
67 | get { return m_sceneManager; } | 72 | get { return m_sceneManager; } |
68 | } | 73 | } |
69 | protected SceneManager m_sceneManager = new SceneManager(); | 74 | protected SceneManager m_sceneManager = new SceneManager(); |
75 | |||
76 | protected IAssetCache m_assetCache; | ||
77 | |||
78 | public IAssetCache AssetCache | ||
79 | { | ||
80 | get { return m_assetCache; } | ||
81 | set { m_assetCache = value; } | ||
82 | } | ||
70 | 83 | ||
71 | protected abstract void Initialize(); | 84 | protected abstract void Initialize(); |
72 | 85 | ||