aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs
diff options
context:
space:
mode:
authorJeff Ames2008-03-22 23:39:07 +0000
committerJeff Ames2008-03-22 23:39:07 +0000
commit37121bcf72263f1fea76fc5193b1cfa6c4b1f460 (patch)
treeb22e52b086e8f39d85755202512711287a708ca3 /OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs
parent*Moved LandManagement into its own region module (spiffy!) (diff)
downloadopensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.zip
opensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.tar.gz
opensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.tar.bz2
opensim-SC-37121bcf72263f1fea76fc5193b1cfa6c4b1f460.tar.xz
Update svn properties.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs124
1 files changed, 62 insertions, 62 deletions
diff --git a/OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs
index ac8c1a8..614929b 100644
--- a/OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/LandManagement/LandManagementModule.cs
@@ -1,62 +1,62 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using libsecondlife; 3using libsecondlife;
4using libsecondlife.Packets; 4using libsecondlife.Packets;
5using OpenSim.Framework; 5using OpenSim.Framework;
6using OpenSim.Framework.Console; 6using OpenSim.Framework.Console;
7using OpenSim.Region.Environment.Scenes; 7using OpenSim.Region.Environment.Scenes;
8using OpenSim.Region.Environment.Interfaces; 8using OpenSim.Region.Environment.Interfaces;
9using Nini.Config; 9using Nini.Config;
10 10
11namespace OpenSim.Region.Environment.Modules.LandManagement 11namespace OpenSim.Region.Environment.Modules.LandManagement
12{ 12{
13 public class LandManagementModule : IRegionModule 13 public class LandManagementModule : IRegionModule
14 { 14 {
15 private LandChannel landChannel; 15 private LandChannel landChannel;
16 private Scene m_scene; 16 private Scene m_scene;
17 17
18 #region IRegionModule Members 18 #region IRegionModule Members
19 19
20 public void Initialise(Scene scene, IConfigSource source) 20 public void Initialise(Scene scene, IConfigSource source)
21 { 21 {
22 m_scene = scene; 22 m_scene = scene;
23 landChannel = new LandChannel(scene); 23 landChannel = new LandChannel(scene);
24 24
25 m_scene.EventManager.OnParcelPrimCountAdd += landChannel.addPrimToLandPrimCounts; 25 m_scene.EventManager.OnParcelPrimCountAdd += landChannel.addPrimToLandPrimCounts;
26 m_scene.EventManager.OnParcelPrimCountUpdate += landChannel.updateLandPrimCounts; 26 m_scene.EventManager.OnParcelPrimCountUpdate += landChannel.updateLandPrimCounts;
27 m_scene.EventManager.OnAvatarEnteringNewParcel += new EventManager.AvatarEnteringNewParcel(landChannel.handleAvatarChangingParcel); 27 m_scene.EventManager.OnAvatarEnteringNewParcel += new EventManager.AvatarEnteringNewParcel(landChannel.handleAvatarChangingParcel);
28 m_scene.EventManager.OnClientMovement += new EventManager.ClientMovement(landChannel.handleAnyClientMovement); 28 m_scene.EventManager.OnClientMovement += new EventManager.ClientMovement(landChannel.handleAnyClientMovement);
29 29
30 lock (m_scene) 30 lock (m_scene)
31 { 31 {
32 m_scene.LandChannel = (ILandChannel)landChannel; 32 m_scene.LandChannel = (ILandChannel)landChannel;
33 } 33 }
34 } 34 }
35 35
36 public void PostInitialise() 36 public void PostInitialise()
37 { 37 {
38 38
39 } 39 }
40 40
41 public void Close() 41 public void Close()
42 { 42 {
43 43
44 } 44 }
45 45
46 public string Name 46 public string Name
47 { 47 {
48 get { return "LandManagementModule"; } 48 get { return "LandManagementModule"; }
49 } 49 }
50 50
51 public bool IsSharedModule 51 public bool IsSharedModule
52 { 52 {
53 get { return false; } 53 get { return false; }
54 } 54 }
55 55
56 56
57 57
58 58
59 59
60 #endregion 60 #endregion
61 } 61 }
62} 62}