From 04488d9d3819fd16502a095771d1513af02b7a93 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 15 Aug 2008 22:49:26 +0000 Subject: Plumb in the partner and the account title fields for profile info. --- OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'OpenSim/Region/Communications/OGS1/OGS1UserServices.cs') diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index 01b1933..3d42dfd 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs @@ -92,6 +92,18 @@ namespace OpenSim.Region.Communications.OGS1 if (data.Contains("god_level")) userData.GodLevel = Convert.ToInt32((string) data["god_level"]); + if (data.Contains("custom_type")) + userData.CustomType = (string) data["custom_type"]; + else + userData.CustomType = ""; + if(userData.CustomType == null) + userData.CustomType = ""; + + if (data.Contains("partner")) + userData.Partner = new LLUUID((string) data["partner"]); + else + userData.Partner = LLUUID.Zero; + return userData; } @@ -471,6 +483,8 @@ namespace OpenSim.Region.Communications.OGS1 param["home_look_z"] = UserProfile.HomeLookAtZ.ToString(); param["user_flags"] = UserProfile.UserFlags.ToString(); param["god_level"] = UserProfile.GodLevel.ToString(); + param["custom_type"] = UserProfile.CustomType.ToString(); + param["partner"] = UserProfile.Partner.ToString(); IList parameters = new ArrayList(); parameters.Add(param); -- cgit v1.1