aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/IAgentPreferencesData.cs
diff options
context:
space:
mode:
authorCinder2015-06-12 18:48:07 -0600
committerDiva Canto2015-06-13 07:27:42 -0700
commit0fa94f222df8ed7f308730c3692bf2a774138718 (patch)
tree560efc5542dea946a79dbbaebd39b991a67ede73 /OpenSim/Data/IAgentPreferencesData.cs
parentRelicense AgentPreferences files to BSD and OpenSimulator (diff)
downloadopensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.zip
opensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.tar.gz
opensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.tar.bz2
opensim-SC_OLD-0fa94f222df8ed7f308730c3692bf2a774138718.tar.xz
Refactor AgentPreferences so that database operations happen centrally. the opensim way.
Signed-off-by: Diva Canto <diva@metaverseink.com>
Diffstat (limited to 'OpenSim/Data/IAgentPreferencesData.cs')
-rw-r--r--OpenSim/Data/IAgentPreferencesData.cs13
1 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Data/IAgentPreferencesData.cs b/OpenSim/Data/IAgentPreferencesData.cs
index f8261e2..8763299 100644
--- a/OpenSim/Data/IAgentPreferencesData.cs
+++ b/OpenSim/Data/IAgentPreferencesData.cs
@@ -34,22 +34,13 @@ namespace OpenSim.Data
34{ 34{
35 public class AgentPreferencesData 35 public class AgentPreferencesData
36 { 36 {
37 public UUID PrincipalID = UUID.Zero; 37 public Dictionary<string, string> Data;
38 public string AccessPrefs = "M";
39 //public int GodLevel;
40 public double HoverHeight = 0.0;
41 public string Language = "en-us";
42 public bool LanguageIsPublic = true;
43 // DefaultObjectPermMasks
44 public int PermEveryone = 0;
45 public int PermGroup = 0;
46 public int PermNextOwner = 532480;
47 } 38 }
48 39
49 public interface IAgentPreferencesData 40 public interface IAgentPreferencesData
50 { 41 {
42 bool Store(AgentPreferencesData data);
51 AgentPreferencesData GetPrefs(UUID agentID); 43 AgentPreferencesData GetPrefs(UUID agentID);
52 void StorePrefs(AgentPreferencesData data);
53 } 44 }
54} 45}
55 46