aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2011-03-22 10:43:43 +0100
committerMelanie2011-03-22 10:43:43 +0100
commitc330f89fb1954ba2a784cd5bc421965b7594d60c (patch)
treeae00576857798df9a4a6495b6e5bad83c47487ed /OpenSim/Framework
parentAdding a helper function lifted from Aurora. Not for core. (diff)
downloadopensim-SC-c330f89fb1954ba2a784cd5bc421965b7594d60c.zip
opensim-SC-c330f89fb1954ba2a784cd5bc421965b7594d60c.tar.gz
opensim-SC-c330f89fb1954ba2a784cd5bc421965b7594d60c.tar.bz2
opensim-SC-c330f89fb1954ba2a784cd5bc421965b7594d60c.tar.xz
Add some more fields to Estate settings and make them work.
Run alter table estate_settings add column AllowLandmark tinyint not null default 1, add column AllowParcelChanges tinyint not null default 1, add column AllowSetHome tinyint not null default 1; to make this work.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/EstateSettings.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs
index 37f6ed7..afbdd49 100644
--- a/OpenSim/Framework/EstateSettings.cs
+++ b/OpenSim/Framework/EstateSettings.cs
@@ -58,6 +58,30 @@ namespace OpenSim.Framework
58 set { m_EstateName = value; } 58 set { m_EstateName = value; }
59 } 59 }
60 60
61 private bool m_AllowLandmark = true;
62
63 public bool AllowLandmark
64 {
65 get { return m_AllowLandmark; }
66 set { m_AllowLandmark = value; }
67 }
68
69 private bool m_AllowParcelChanges = true;
70
71 public bool AllowParcelChanges
72 {
73 get { return m_AllowParcelChanges; }
74 set { m_AllowParcelChanges = value; }
75 }
76
77 private bool m_AllowSetHome = true;
78
79 public bool AllowSetHome
80 {
81 get { return m_AllowSetHome; }
82 set { m_AllowSetHome = value; }
83 }
84
61 private uint m_ParentEstateID = 1; 85 private uint m_ParentEstateID = 1;
62 86
63 public uint ParentEstateID 87 public uint ParentEstateID