aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
authormingchen2007-06-03 16:02:08 +0000
committermingchen2007-06-03 16:02:08 +0000
commitf22e27498e5e7fa2c0eee1e45a89dd0e107e57f9 (patch)
tree96503cce2b80bc70d9f3fccfd8a0a4249fc486bb /OpenSim/OpenSim.RegionServer/RegionInfo.cs
parent* Fixing world map generation issues (thankyou LL for using different coordin... (diff)
downloadopensim-SC_OLD-f22e27498e5e7fa2c0eee1e45a89dd0e107e57f9.zip
opensim-SC_OLD-f22e27498e5e7fa2c0eee1e45a89dd0e107e57f9.tar.gz
opensim-SC_OLD-f22e27498e5e7fa2c0eee1e45a89dd0e107e57f9.tar.bz2
opensim-SC_OLD-f22e27498e5e7fa2c0eee1e45a89dd0e107e57f9.tar.xz
Added Basic Parcel Support
*Created Parcel class to handle each parcel *Created ParcelManager class to handle the Parcel Object *For now, by default it is assigned to a fake avatar key and set for sale to L$0
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/RegionInfo.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfo.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
index dc9bb1a..d0ce1ce 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -26,6 +26,8 @@ namespace OpenSim
26 public string UserRecvKey = ""; 26 public string UserRecvKey = "";
27 private bool isSandbox; 27 private bool isSandbox;
28 28
29 public string RegionOwnerName = "";
30
29 public string DataStore; 31 public string DataStore;
30 32
31 public RegionInfo() 33 public RegionInfo()
@@ -222,6 +224,19 @@ namespace OpenSim
222 } 224 }
223 225
224 226
227 attri = "";
228 attri = configData.GetAttribute("RegionOwnerName");
229 if (attri == "")
230 {
231 string name = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Region Owner Avatar Name", "Test User");
232 this.RegionOwnerName = name;
233 configData.SetAttribute("RegionOwnerName", this.RegionOwnerName);
234 }
235 else
236 {
237 this.RegionOwnerName = attri;
238 }
239
225 if (!isSandbox) 240 if (!isSandbox)
226 { 241 {
227 //shouldn't be reading this data in here, it should be up to the classes implementing the server interfaces to read what they need from the config object 242 //shouldn't be reading this data in here, it should be up to the classes implementing the server interfaces to read what they need from the config object