29 using System.Collections.Generic;
30 using System.Reflection;
35 using OpenSim.Framework;
36 using OpenSim.Services.Interfaces;
42 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
46 m_log.Debug(
"[AGENT PREFERENCES SERVICE]: Starting agent preferences service");
59 d.Data =
new Dictionary<string, string>();
60 d.Data[
"PrincipalID"] = data.PrincipalID.ToString();
61 d.Data[
"AccessPrefs"] = data.AccessPrefs;
62 d.Data[
"HoverHeight"] = data.HoverHeight.ToString();
63 d.Data[
"Language"] = data.Language;
64 d.Data[
"LanguageIsPublic"] = (data.LanguageIsPublic ?
"1" :
"0");
65 d.Data[
"PermEveryone"] = data.PermEveryone.ToString();
66 d.Data[
"PermGroup"] = data.PermGroup.ToString();
67 d.Data[
"PermNextOwner"] = data.PermNextOwner.ToString();
68 return m_Database.Store(d);
73 AgentPrefs data = GetAgentPreferences(principalID);
string GetLang(UUID principalID)
AgentPrefs GetAgentPreferences(UUID principalID)
bool StoreAgentPreferences(AgentPrefs data)
Interactive OpenSim region server
Dictionary< string, string > Data
AgentPreferencesService(IConfigSource config)