aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Regions
diff options
context:
space:
mode:
authorlbsa712007-09-21 03:13:49 +0000
committerlbsa712007-09-21 03:13:49 +0000
commit409bcd999d19c52133f7099963febdf96d865467 (patch)
treea4853c05b6af3b17a2ee1392aca9e08ed38ac427 /OpenSim/Region/Environment/Regions
parentphysics-related fixes; should stabilize border crossings (diff)
downloadopensim-SC_OLD-409bcd999d19c52133f7099963febdf96d865467.zip
opensim-SC_OLD-409bcd999d19c52133f7099963febdf96d865467.tar.gz
opensim-SC_OLD-409bcd999d19c52133f7099963febdf96d865467.tar.bz2
opensim-SC_OLD-409bcd999d19c52133f7099963febdf96d865467.tar.xz
* 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.
Diffstat (limited to 'OpenSim/Region/Environment/Regions')
-rw-r--r--OpenSim/Region/Environment/Regions/Region.cs15
-rw-r--r--OpenSim/Region/Environment/Regions/RegionManager.cs16
-rw-r--r--OpenSim/Region/Environment/Regions/RegionPresence.cs14
3 files changed, 45 insertions, 0 deletions
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 @@
1using System.Collections.Generic;
2using libsecondlife;
3
4namespace OpenSim.Region.Environment.Regions
5{
6 public class Region
7 {
8 private Dictionary<LLUUID, RegionPresence> m_regionPresences;
9
10 public Region()
11 {
12 m_regionPresences = new Dictionary<LLUUID, RegionPresence>( );
13 }
14 }
15}
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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Region.Environment.Regions
6{
7 public class RegionManager
8 {
9 private Dictionary<uint, Region> m_regions;
10
11 public RegionManager( )
12 {
13 m_regions = new Dictionary<uint, Region>( );
14 }
15 }
16}
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 @@
1using OpenSim.Framework.Interfaces;
2
3namespace OpenSim.Region.Environment.Regions
4{
5 public class RegionPresence
6 {
7 private IClientAPI m_client;
8
9 public RegionPresence(IClientAPI client )
10 {
11 m_client = client;
12 }
13 }
14}