diff options
Diffstat (limited to 'OpenSim/Services/Interfaces')
-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 d0fddee..6d5d2a0 100644 --- a/OpenSim/Services/Interfaces/IUserAccountService.cs +++ b/OpenSim/Services/Interfaces/IUserAccountService.cs | |||
@@ -92,6 +92,7 @@ namespace OpenSim.Services.Interfaces | |||
92 | public int UserFlags; | 92 | public int UserFlags; |
93 | public string UserTitle; | 93 | public string UserTitle; |
94 | public string UserCountry; | 94 | public string UserCountry; |
95 | public Boolean LocalToGrid = true; | ||
95 | 96 | ||
96 | public Dictionary<string, object> ServiceURLs; | 97 | public Dictionary<string, object> ServiceURLs; |
97 | 98 | ||
@@ -122,6 +123,8 @@ namespace OpenSim.Services.Interfaces | |||
122 | UserTitle = kvp["UserTitle"].ToString(); | 123 | UserTitle = kvp["UserTitle"].ToString(); |
123 | if (kvp.ContainsKey("UserCountry")) | 124 | if (kvp.ContainsKey("UserCountry")) |
124 | UserCountry = kvp["UserCountry"].ToString(); | 125 | UserCountry = kvp["UserCountry"].ToString(); |
126 | if (kvp.ContainsKey("LocalToGrid")) | ||
127 | Boolean.TryParse(kvp["LocalToGrid"].ToString(), out LocalToGrid); | ||
125 | 128 | ||
126 | if (kvp.ContainsKey("Created")) | 129 | if (kvp.ContainsKey("Created")) |
127 | Created = Convert.ToInt32(kvp["Created"].ToString()); | 130 | Created = Convert.ToInt32(kvp["Created"].ToString()); |
@@ -156,6 +159,7 @@ namespace OpenSim.Services.Interfaces | |||
156 | result["UserFlags"] = UserFlags.ToString(); | 159 | result["UserFlags"] = UserFlags.ToString(); |
157 | result["UserTitle"] = UserTitle; | 160 | result["UserTitle"] = UserTitle; |
158 | result["UserCountry"] = UserCountry; | 161 | result["UserCountry"] = UserCountry; |
162 | result["LocalToGrid"] = LocalToGrid.ToString(); | ||
159 | 163 | ||
160 | string str = string.Empty; | 164 | string str = string.Empty; |
161 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) | 165 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) |