Add a careminster API to scripting again

This commit is contained in:
Melanie
2011-01-24 02:16:28 +01:00
parent 105deab601
commit dbbf43663e
4 changed files with 32 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ namespace OpenSim.Services.Interfaces
public int UserLevel;
public int UserFlags;
public string UserTitle;
public string UserCountry;
public Dictionary<string, object> ServiceURLs;
@@ -91,6 +92,8 @@ namespace OpenSim.Services.Interfaces
UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString());
if (kvp.ContainsKey("UserTitle"))
UserTitle = kvp["UserTitle"].ToString();
if (kvp.ContainsKey("UserCountry"))
UserCountry = kvp["UserCountry"].ToString();
if (kvp.ContainsKey("Created"))
Created = Convert.ToInt32(kvp["Created"].ToString());
@@ -124,6 +127,7 @@ namespace OpenSim.Services.Interfaces
result["UserLevel"] = UserLevel.ToString();
result["UserFlags"] = UserFlags.ToString();
result["UserTitle"] = UserTitle;
result["UserCountry"] = UserCountry;
string str = string.Empty;
foreach (KeyValuePair<string, object> kvp in ServiceURLs)