diff options
author | Melanie | 2011-01-24 02:16:28 +0100 |
---|---|---|
committer | Melanie | 2011-01-24 02:16:28 +0100 |
commit | dbbf43663e688b136d806965edfb82b4cd9e3e91 (patch) | |
tree | 48a3ffa0bf6a29a80edb34632aabd3451fdf9a55 /OpenSim/Services/Interfaces | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC_OLD-dbbf43663e688b136d806965edfb82b4cd9e3e91.zip opensim-SC_OLD-dbbf43663e688b136d806965edfb82b4cd9e3e91.tar.gz opensim-SC_OLD-dbbf43663e688b136d806965edfb82b4cd9e3e91.tar.bz2 opensim-SC_OLD-dbbf43663e688b136d806965edfb82b4cd9e3e91.tar.xz |
Add a careminster API to scripting again
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 80258d6..a91aa0f 100644 --- a/OpenSim/Services/Interfaces/IUserAccountService.cs +++ b/OpenSim/Services/Interfaces/IUserAccountService.cs | |||
@@ -63,6 +63,7 @@ namespace OpenSim.Services.Interfaces | |||
63 | public int UserLevel; | 63 | public int UserLevel; |
64 | public int UserFlags; | 64 | public int UserFlags; |
65 | public string UserTitle; | 65 | public string UserTitle; |
66 | public string UserCountry; | ||
66 | 67 | ||
67 | public Dictionary<string, object> ServiceURLs; | 68 | public Dictionary<string, object> ServiceURLs; |
68 | 69 | ||
@@ -91,6 +92,8 @@ namespace OpenSim.Services.Interfaces | |||
91 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); | 92 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); |
92 | if (kvp.ContainsKey("UserTitle")) | 93 | if (kvp.ContainsKey("UserTitle")) |
93 | UserTitle = kvp["UserTitle"].ToString(); | 94 | UserTitle = kvp["UserTitle"].ToString(); |
95 | if (kvp.ContainsKey("UserCountry")) | ||
96 | UserCountry = kvp["UserCountry"].ToString(); | ||
94 | 97 | ||
95 | if (kvp.ContainsKey("Created")) | 98 | if (kvp.ContainsKey("Created")) |
96 | Created = Convert.ToInt32(kvp["Created"].ToString()); | 99 | Created = Convert.ToInt32(kvp["Created"].ToString()); |
@@ -124,6 +127,7 @@ namespace OpenSim.Services.Interfaces | |||
124 | result["UserLevel"] = UserLevel.ToString(); | 127 | result["UserLevel"] = UserLevel.ToString(); |
125 | result["UserFlags"] = UserFlags.ToString(); | 128 | result["UserFlags"] = UserFlags.ToString(); |
126 | result["UserTitle"] = UserTitle; | 129 | result["UserTitle"] = UserTitle; |
130 | result["UserCountry"] = UserCountry; | ||
127 | 131 | ||
128 | string str = string.Empty; | 132 | string str = string.Empty; |
129 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) | 133 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) |