diff options
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1UserServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index 2d37e2f..ee5c7bb 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -85,6 +85,11 @@ namespace OpenSim.Region.Communications.OGS1 | |||
85 | new LLVector3((float) Convert.ToDecimal((string) data["home_look_x"]), | 85 | new LLVector3((float) Convert.ToDecimal((string) data["home_look_x"]), |
86 | (float) Convert.ToDecimal((string) data["home_look_y"]), | 86 | (float) Convert.ToDecimal((string) data["home_look_y"]), |
87 | (float) Convert.ToDecimal((string) data["home_look_z"])); | 87 | (float) Convert.ToDecimal((string) data["home_look_z"])); |
88 | if(data.Contains("user_flags")) | ||
89 | userData.UserFlags = Convert.ToInt32((string) data["user_flags"]); | ||
90 | if(data.Contains("god_level")) | ||
91 | userData.GodLevel = Convert.ToInt32((string) data["god_level"]); | ||
92 | |||
88 | return userData; | 93 | return userData; |
89 | } | 94 | } |
90 | 95 | ||
@@ -462,6 +467,8 @@ namespace OpenSim.Region.Communications.OGS1 | |||
462 | param["home_look_x"] = UserProfile.HomeLookAtX.ToString(); | 467 | param["home_look_x"] = UserProfile.HomeLookAtX.ToString(); |
463 | param["home_look_y"] = UserProfile.HomeLookAtY.ToString(); | 468 | param["home_look_y"] = UserProfile.HomeLookAtY.ToString(); |
464 | param["home_look_z"] = UserProfile.HomeLookAtZ.ToString(); | 469 | param["home_look_z"] = UserProfile.HomeLookAtZ.ToString(); |
470 | param["user_flags"] = UserProfile.UserFlags.ToString(); | ||
471 | param["god_level"] = UserProfile.GodLevel.ToString(); | ||
465 | 472 | ||
466 | IList parameters = new ArrayList(); | 473 | IList parameters = new ArrayList(); |
467 | parameters.Add(param); | 474 | parameters.Add(param); |