From 044446821b7d1d4550e43b0351c2611026874755 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 22 Jun 2009 12:18:04 +0000 Subject: Committing the meat of the user server interface and the bones of the service implementation --- OpenSim/Framework/RegionInfo.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Framework/RegionInfo.cs') diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 7b65504..db23af9 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs @@ -71,6 +71,7 @@ namespace OpenSim.Framework protected uint m_remotingPort; public UUID RegionID = UUID.Zero; public string RemotingAddress; + public UUID ScopeID = UUID.Zero; public SimpleRegionInfo() { @@ -470,6 +471,9 @@ namespace OpenSim.Framework configMember.addConfigurationOption("object_capacity", ConfigurationOption.ConfigurationTypes.TYPE_INT32, "Max objects this sim will hold", m_objectCapacity.ToString(), true); + + configMember.addConfigurationOption("scope_id", ConfigurationOption.ConfigurationTypes.TYPE_UUID, + "Scope ID for this region", ScopeID.ToString(), true); } public void loadConfigurationOptions() @@ -530,6 +534,9 @@ namespace OpenSim.Framework configMember.addConfigurationOption("object_capacity", ConfigurationOption.ConfigurationTypes.TYPE_INT32, "Max objects this sim will hold", "0", true); + + configMember.addConfigurationOption("scope_id", ConfigurationOption.ConfigurationTypes.TYPE_UUID, + "Scope ID for this region", UUID.Zero.ToString(), true); } public bool shouldMasterAvatarDetailsBeAsked(string configuration_key) @@ -607,6 +614,9 @@ namespace OpenSim.Framework case "object_capacity": m_objectCapacity = (int)configuration_result; break; + case "scope_id": + ScopeID = (UUID)configuration_result; + break; } return true; -- cgit v1.1