aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General
diff options
context:
space:
mode:
authorAdam Frisby2007-10-23 12:44:12 +0000
committerAdam Frisby2007-10-23 12:44:12 +0000
commit0c9933fd0f68187a0150f9dfefe4748256e52849 (patch)
treedadbefe0309422c2bb923a97305dc6d783896d70 /OpenSim/Framework/General
parentremove debug line (diff)
downloadopensim-SC_OLD-0c9933fd0f68187a0150f9dfefe4748256e52849.zip
opensim-SC_OLD-0c9933fd0f68187a0150f9dfefe4748256e52849.tar.gz
opensim-SC_OLD-0c9933fd0f68187a0150f9dfefe4748256e52849.tar.bz2
opensim-SC_OLD-0c9933fd0f68187a0150f9dfefe4748256e52849.tar.xz
* Added "create-region" console command. Syntax: create-region <name> <region.xml filename>
* Spring cleaning.
Diffstat (limited to 'OpenSim/Framework/General')
-rw-r--r--OpenSim/Framework/General/Types/RegionInfo.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/Types/RegionInfo.cs b/OpenSim/Framework/General/Types/RegionInfo.cs
index cab6cd7..49360f8 100644
--- a/OpenSim/Framework/General/Types/RegionInfo.cs
+++ b/OpenSim/Framework/General/Types/RegionInfo.cs
@@ -131,6 +131,10 @@ namespace OpenSim.Framework.Types
131 { 131 {
132 return m_externalHostName; 132 return m_externalHostName;
133 } 133 }
134 set
135 {
136 m_externalHostName = value;
137 }
134 } 138 }
135 139
136 protected IPEndPoint m_internalEndPoint; 140 protected IPEndPoint m_internalEndPoint;
@@ -140,6 +144,10 @@ namespace OpenSim.Framework.Types
140 { 144 {
141 return m_internalEndPoint; 145 return m_internalEndPoint;
142 } 146 }
147 set
148 {
149 m_internalEndPoint = value;
150 }
143 } 151 }
144 152
145 protected uint? m_regionLocX; 153 protected uint? m_regionLocX;
@@ -149,6 +157,10 @@ namespace OpenSim.Framework.Types
149 { 157 {
150 return m_regionLocX.Value; 158 return m_regionLocX.Value;
151 } 159 }
160 set
161 {
162 m_regionLocX = value;
163 }
152 } 164 }
153 165
154 protected uint? m_regionLocY; 166 protected uint? m_regionLocY;
@@ -158,6 +170,10 @@ namespace OpenSim.Framework.Types
158 { 170 {
159 return m_regionLocY.Value; 171 return m_regionLocY.Value;
160 } 172 }
173 set
174 {
175 m_regionLocY = value;
176 }
161 } 177 }
162 178
163 public ulong RegionHandle 179 public ulong RegionHandle
@@ -211,6 +227,11 @@ namespace OpenSim.Framework.Types
211 227
212 } 228 }
213 229
230 public RegionInfo()
231 {
232
233 }
234
214 //not in use, should swap to nini though. 235 //not in use, should swap to nini though.
215 public void LoadFromNiniSource(IConfigSource source) 236 public void LoadFromNiniSource(IConfigSource source)
216 { 237 {