From 7161689a97edcdeceee3d3eeeaee7eadc4e06a89 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 14 Aug 2008 19:59:32 +0000 Subject: 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 --- OpenSim/Framework/UserProfileData.cs | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework') 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 /// private LLUUID _webLoginKey; + // Data for estates and other goodies + // to get away from per-machine configs a little + // + private int _userFlags; + private int _godLevel; + /// /// 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 /// @@ -330,5 +336,17 @@ namespace OpenSim.Framework get { return _currentAgent; } set { _currentAgent = value; } } + + public virtual int UserFlags + { + get { return _userFlags; } + set { _userFlags = value; } + } + + public virtual int GodLevel + { + get { return _godLevel; } + set { _godLevel = value; } + } } -} \ No newline at end of file +} -- cgit v1.1