From f22e27498e5e7fa2c0eee1e45a89dd0e107e57f9 Mon Sep 17 00:00:00 2001 From: mingchen Date: Sun, 3 Jun 2007 16:02:08 +0000 Subject: 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 --- OpenSim/OpenSim.RegionServer/RegionInfo.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'OpenSim/OpenSim.RegionServer/RegionInfo.cs') 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 public string UserRecvKey = ""; private bool isSandbox; + public string RegionOwnerName = ""; + public string DataStore; public RegionInfo() @@ -222,6 +224,19 @@ namespace OpenSim } + attri = ""; + attri = configData.GetAttribute("RegionOwnerName"); + if (attri == "") + { + string name = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Region Owner Avatar Name", "Test User"); + this.RegionOwnerName = name; + configData.SetAttribute("RegionOwnerName", this.RegionOwnerName); + } + else + { + this.RegionOwnerName = attri; + } + if (!isSandbox) { //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 -- cgit v1.1