diff options
author | Diva Canto | 2009-12-28 20:26:44 -0800 |
---|---|---|
committer | Diva Canto | 2009-12-28 20:26:44 -0800 |
commit | c164b85ea6351f7a00ea6ec2776101287976da10 (patch) | |
tree | 884193165c1139340b4ae17f3aaabf63a4b3bbe2 /OpenSim/Services/Interfaces/IPresenceService.cs | |
parent | Add the indices to really make this table work (diff) | |
download | opensim-SC-c164b85ea6351f7a00ea6ec2776101287976da10.zip opensim-SC-c164b85ea6351f7a00ea6ec2776101287976da10.tar.gz opensim-SC-c164b85ea6351f7a00ea6ec2776101287976da10.tar.bz2 opensim-SC-c164b85ea6351f7a00ea6ec2776101287976da10.tar.xz |
* Added packing/unpacking of the Home fields in PresenceInfo
* Cleaned up IUserService and beefed up UserAccoutData
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IPresenceService.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IPresenceService.cs b/OpenSim/Services/Interfaces/IPresenceService.cs index 2582648..2dad7e6 100644 --- a/OpenSim/Services/Interfaces/IPresenceService.cs +++ b/OpenSim/Services/Interfaces/IPresenceService.cs | |||
@@ -65,6 +65,12 @@ namespace OpenSim.Services.Interfaces | |||
65 | Boolean.TryParse(kvp["online"].ToString(), out Online); | 65 | Boolean.TryParse(kvp["online"].ToString(), out Online); |
66 | if (kvp.ContainsKey("position")) | 66 | if (kvp.ContainsKey("position")) |
67 | Vector3.TryParse(kvp["position"].ToString(), out Position); | 67 | Vector3.TryParse(kvp["position"].ToString(), out Position); |
68 | if (kvp.ContainsKey("HomeRegionID")) | ||
69 | UUID.TryParse(kvp["HomeRegionID"].ToString(), out HomeRegionID); | ||
70 | if (kvp.ContainsKey("HomePosition")) | ||
71 | Vector3.TryParse(kvp["HomePosition"].ToString(), out HomePosition); | ||
72 | if (kvp.ContainsKey("HomeLookAt")) | ||
73 | Vector3.TryParse(kvp["HomeLookAt"].ToString(), out HomeLookAt); | ||
68 | 74 | ||
69 | } | 75 | } |
70 | 76 | ||
@@ -78,6 +84,9 @@ namespace OpenSim.Services.Interfaces | |||
78 | result["logout"] = Logout.ToString(); | 84 | result["logout"] = Logout.ToString(); |
79 | result["position"] = Position.ToString(); | 85 | result["position"] = Position.ToString(); |
80 | result["lookAt"] = LookAt.ToString(); | 86 | result["lookAt"] = LookAt.ToString(); |
87 | result["HomeRegionID"] = HomeRegionID.ToString(); | ||
88 | result["HomePosition"] = HomePosition.ToString(); | ||
89 | result["HomeLookAt"] = HomeLookAt.ToString(); | ||
81 | 90 | ||
82 | return result; | 91 | return result; |
83 | } | 92 | } |