aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-10 19:16:50 +0000
committerTeravus Ovares2007-12-10 19:16:50 +0000
commiteac9bc68890cff90c9be45fe8ddfd3ea5f4fade2 (patch)
treeb22806adaff492d7e67def10fe01221ea11dea0f /OpenSim/Framework
parentChanged how TextureDownloadModule is initialised, due to some weird behaviour... (diff)
downloadopensim-SC-eac9bc68890cff90c9be45fe8ddfd3ea5f4fade2.zip
opensim-SC-eac9bc68890cff90c9be45fe8ddfd3ea5f4fade2.tar.gz
opensim-SC-eac9bc68890cff90c9be45fe8ddfd3ea5f4fade2.tar.bz2
opensim-SC-eac9bc68890cff90c9be45fe8ddfd3ea5f4fade2.tar.xz
* More refactoring to prepare for draw distance based agent sim notification.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/RegionInfo.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index ff5c204..bd896bd 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -64,6 +64,16 @@ namespace OpenSim.Framework
64 64
65 m_internalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), (int) port); 65 m_internalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), (int) port);
66 } 66 }
67 public SimpleRegionInfo(RegionInfo ConvertFrom)
68 {
69 m_regionLocX = ConvertFrom.RegionLocX;
70 m_regionLocY = ConvertFrom.RegionLocY;
71 m_internalEndPoint = ConvertFrom.InternalEndPoint;
72 m_externalHostName = ConvertFrom.ExternalHostName;
73 m_remotingPort = ConvertFrom.RemotingPort;
74 RemotingAddress = ConvertFrom.RemotingAddress;
75 RegionID = LLUUID.Zero;
76 }
67 77
68 public LLUUID RegionID = LLUUID.Zero; 78 public LLUUID RegionID = LLUUID.Zero;
69 79
@@ -238,6 +248,16 @@ namespace OpenSim.Framework
238 RemotingAddress = ConvertFrom.RemotingAddress; 248 RemotingAddress = ConvertFrom.RemotingAddress;
239 RegionID = LLUUID.Zero; 249 RegionID = LLUUID.Zero;
240 } 250 }
251 public RegionInfo(SimpleRegionInfo ConvertFrom)
252 {
253 m_regionLocX = ConvertFrom.RegionLocX;
254 m_regionLocY = ConvertFrom.RegionLocY;
255 m_internalEndPoint = ConvertFrom.InternalEndPoint;
256 m_externalHostName = ConvertFrom.ExternalHostName;
257 m_remotingPort = ConvertFrom.RemotingPort;
258 RemotingAddress = ConvertFrom.RemotingAddress;
259 RegionID = LLUUID.Zero;
260 }
241 //not in use, should swap to nini though. 261 //not in use, should swap to nini though.
242 public void LoadFromNiniSource(IConfigSource source) 262 public void LoadFromNiniSource(IConfigSource source)
243 { 263 {