diff options
author | Dan Lake | 2012-01-03 16:52:53 -0800 |
---|---|---|
committer | Dan Lake | 2012-01-03 16:52:53 -0800 |
commit | ecf9824b63d181bd4e64bd5cb0ff37b952669bb9 (patch) | |
tree | 269207a773c6bd1fd8383885e0c5649d70b34a62 /OpenSim/Services/Interfaces/IUserAccountService.cs | |
parent | Access to these static methods to serialize objects are useful outside of ser... (diff) | |
parent | Update C5.dll to version 1.1.1 from 1.1.0 (diff) | |
download | opensim-SC-ecf9824b63d181bd4e64bd5cb0ff37b952669bb9.zip opensim-SC-ecf9824b63d181bd4e64bd5cb0ff37b952669bb9.tar.gz opensim-SC-ecf9824b63d181bd4e64bd5cb0ff37b952669bb9.tar.bz2 opensim-SC-ecf9824b63d181bd4e64bd5cb0ff37b952669bb9.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Services/Interfaces/IUserAccountService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IUserAccountService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs index 6cc8eb8..1b85980 100644 --- a/OpenSim/Services/Interfaces/IUserAccountService.cs +++ b/OpenSim/Services/Interfaces/IUserAccountService.cs | |||
@@ -91,6 +91,7 @@ namespace OpenSim.Services.Interfaces | |||
91 | public int UserLevel; | 91 | public int UserLevel; |
92 | public int UserFlags; | 92 | public int UserFlags; |
93 | public string UserTitle; | 93 | public string UserTitle; |
94 | public Boolean LocalToGrid = true; | ||
94 | 95 | ||
95 | public Dictionary<string, object> ServiceURLs; | 96 | public Dictionary<string, object> ServiceURLs; |
96 | 97 | ||
@@ -119,6 +120,8 @@ namespace OpenSim.Services.Interfaces | |||
119 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); | 120 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); |
120 | if (kvp.ContainsKey("UserTitle")) | 121 | if (kvp.ContainsKey("UserTitle")) |
121 | UserTitle = kvp["UserTitle"].ToString(); | 122 | UserTitle = kvp["UserTitle"].ToString(); |
123 | if (kvp.ContainsKey("LocalToGrid")) | ||
124 | Boolean.TryParse(kvp["LocalToGrid"].ToString(), out LocalToGrid); | ||
122 | 125 | ||
123 | if (kvp.ContainsKey("Created")) | 126 | if (kvp.ContainsKey("Created")) |
124 | Created = Convert.ToInt32(kvp["Created"].ToString()); | 127 | Created = Convert.ToInt32(kvp["Created"].ToString()); |
@@ -152,6 +155,7 @@ namespace OpenSim.Services.Interfaces | |||
152 | result["UserLevel"] = UserLevel.ToString(); | 155 | result["UserLevel"] = UserLevel.ToString(); |
153 | result["UserFlags"] = UserFlags.ToString(); | 156 | result["UserFlags"] = UserFlags.ToString(); |
154 | result["UserTitle"] = UserTitle; | 157 | result["UserTitle"] = UserTitle; |
158 | result["LocalToGrid"] = LocalToGrid.ToString(); | ||
155 | 159 | ||
156 | string str = string.Empty; | 160 | string str = string.Empty; |
157 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) | 161 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) |