From 409bcd999d19c52133f7099963febdf96d865467 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 21 Sep 2007 03:13:49 +0000 Subject: * Continuing refactoring of presence * Deleted stub ScenePresence.Body.cs * Added stub Region classes The idea is to, at first, have every ScenePresence have one RegionPresence, moving code over to it until we can detach the two classes and not have a ScenePresence for every RegionPresence. --- OpenSim/Region/Environment/Regions/Region.cs | 15 +++++++++++++++ OpenSim/Region/Environment/Regions/RegionManager.cs | 16 ++++++++++++++++ OpenSim/Region/Environment/Regions/RegionPresence.cs | 14 ++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 OpenSim/Region/Environment/Regions/Region.cs create mode 100644 OpenSim/Region/Environment/Regions/RegionManager.cs create mode 100644 OpenSim/Region/Environment/Regions/RegionPresence.cs (limited to 'OpenSim/Region/Environment/Regions') diff --git a/OpenSim/Region/Environment/Regions/Region.cs b/OpenSim/Region/Environment/Regions/Region.cs new file mode 100644 index 0000000..f7669a9 --- /dev/null +++ b/OpenSim/Region/Environment/Regions/Region.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using libsecondlife; + +namespace OpenSim.Region.Environment.Regions +{ + public class Region + { + private Dictionary m_regionPresences; + + public Region() + { + m_regionPresences = new Dictionary( ); + } + } +} diff --git a/OpenSim/Region/Environment/Regions/RegionManager.cs b/OpenSim/Region/Environment/Regions/RegionManager.cs new file mode 100644 index 0000000..ab5b97c --- /dev/null +++ b/OpenSim/Region/Environment/Regions/RegionManager.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenSim.Region.Environment.Regions +{ + public class RegionManager + { + private Dictionary m_regions; + + public RegionManager( ) + { + m_regions = new Dictionary( ); + } + } +} diff --git a/OpenSim/Region/Environment/Regions/RegionPresence.cs b/OpenSim/Region/Environment/Regions/RegionPresence.cs new file mode 100644 index 0000000..9720bb3 --- /dev/null +++ b/OpenSim/Region/Environment/Regions/RegionPresence.cs @@ -0,0 +1,14 @@ +using OpenSim.Framework.Interfaces; + +namespace OpenSim.Region.Environment.Regions +{ + public class RegionPresence + { + private IClientAPI m_client; + + public RegionPresence(IClientAPI client ) + { + m_client = client; + } + } +} -- cgit v1.1