aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-14 19:59:32 +0000
committerMelanie Thielker2008-08-14 19:59:32 +0000
commit7161689a97edcdeceee3d3eeeaee7eadc4e06a89 (patch)
treea6b77bb4cb8598ce3075f8b5e58895fe0f7a0363 /OpenSim/Framework
parentMake the estate owner work. Changes permissions checks to allow the (diff)
downloadopensim-SC-7161689a97edcdeceee3d3eeeaee7eadc4e06a89.zip
opensim-SC-7161689a97edcdeceee3d3eeeaee7eadc4e06a89.tar.gz
opensim-SC-7161689a97edcdeceee3d3eeeaee7eadc4e06a89.tar.bz2
opensim-SC-7161689a97edcdeceee3d3eeeaee7eadc4e06a89.tar.xz
Adds UserFlags and GodLevel to the user data store and plumbs then in.
This will have no effect unless both the UGAI and the region are this revision or later
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/UserProfileData.cs20
1 files changed, 19 insertions, 1 deletions
diff --git a/OpenSim/Framework/UserProfileData.cs b/OpenSim/Framework/UserProfileData.cs
index 2b0e15f..ec9c473 100644
--- a/OpenSim/Framework/UserProfileData.cs
+++ b/OpenSim/Framework/UserProfileData.cs
@@ -136,6 +136,12 @@ namespace OpenSim.Framework
136 /// </summary> 136 /// </summary>
137 private LLUUID _webLoginKey; 137 private LLUUID _webLoginKey;
138 138
139 // Data for estates and other goodies
140 // to get away from per-machine configs a little
141 //
142 private int _userFlags;
143 private int _godLevel;
144
139 /// <summary> 145 /// <summary>
140 /// The regionhandle of the users preffered home region. If multiple sims occupy the same spot, the grid may decide which region the user logs into 146 /// The regionhandle of the users preffered home region. If multiple sims occupy the same spot, the grid may decide which region the user logs into
141 /// </summary> 147 /// </summary>
@@ -330,5 +336,17 @@ namespace OpenSim.Framework
330 get { return _currentAgent; } 336 get { return _currentAgent; }
331 set { _currentAgent = value; } 337 set { _currentAgent = value; }
332 } 338 }
339
340 public virtual int UserFlags
341 {
342 get { return _userFlags; }
343 set { _userFlags = value; }
344 }
345
346 public virtual int GodLevel
347 {
348 get { return _godLevel; }
349 set { _godLevel = value; }
350 }
333 } 351 }
334} \ No newline at end of file 352}