aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/LOParcel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/LOParcel.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/LOParcel.cs90
1 files changed, 45 insertions, 45 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/LOParcel.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/LOParcel.cs
index aceeacc..8ab1a56 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/LOParcel.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/LOParcel.cs
@@ -1,45 +1,45 @@
1using OpenSim.Region.Framework.Interfaces; 1using OpenSim.Region.Framework.Interfaces;
2using OpenSim.Region.Framework.Scenes; 2using OpenSim.Region.Framework.Scenes;
3 3
4namespace OpenSim.Region.OptionalModules.Scripting.Minimodule 4namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
5{ 5{
6 class LOParcel : IParcel 6 class LOParcel : IParcel
7 { 7 {
8 private readonly Scene m_scene; 8 private readonly Scene m_scene;
9 private readonly int m_parcelID; 9 private readonly int m_parcelID;
10 10
11 public LOParcel(Scene m_scene, int m_parcelID) 11 public LOParcel(Scene m_scene, int m_parcelID)
12 { 12 {
13 this.m_scene = m_scene; 13 this.m_scene = m_scene;
14 this.m_parcelID = m_parcelID; 14 this.m_parcelID = m_parcelID;
15 } 15 }
16 16
17 private ILandObject GetLO() 17 private ILandObject GetLO()
18 { 18 {
19 return m_scene.LandChannel.GetLandObject(m_parcelID); 19 return m_scene.LandChannel.GetLandObject(m_parcelID);
20 } 20 }
21 21
22 public string Name 22 public string Name
23 { 23 {
24 get { return GetLO().landData.Name; } 24 get { return GetLO().landData.Name; }
25 set { GetLO().landData.Name = value; } 25 set { GetLO().landData.Name = value; }
26 } 26 }
27 27
28 public string Description 28 public string Description
29 { 29 {
30 get { return GetLO().landData.Description; } 30 get { return GetLO().landData.Description; }
31 set { GetLO().landData.Description = value; } 31 set { GetLO().landData.Description = value; }
32 } 32 }
33 33
34 public ISocialEntity Owner 34 public ISocialEntity Owner
35 { 35 {
36 get { throw new System.NotImplementedException(); } 36 get { throw new System.NotImplementedException(); }
37 set { throw new System.NotImplementedException(); } 37 set { throw new System.NotImplementedException(); }
38 } 38 }
39 39
40 public bool[,] Bitmap 40 public bool[,] Bitmap
41 { 41 {
42 get { return GetLO().landBitmap; } 42 get { return GetLO().landBitmap; }
43 } 43 }
44 } 44 }
45} 45}