From 9b7c99f0cfd8fbcd3ce31e0be6fa68f5bedef78b Mon Sep 17 00:00:00 2001
From: John Hurliman
Date: Wed, 29 Sep 2010 14:24:32 -0700
Subject: Made IGridUserService.SetLastPosition() more flexible to allow
different possible implementations. This doesn't change any behavior or any
Robust code, but it simplifies the SimianGrid connector by using the standard
OpenSim interface for setting last position now
---
OpenSim/Services/Interfaces/IGridUserService.cs | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Services/Interfaces')
diff --git a/OpenSim/Services/Interfaces/IGridUserService.cs b/OpenSim/Services/Interfaces/IGridUserService.cs
index 95ce5e8..dfb79a4 100644
--- a/OpenSim/Services/Interfaces/IGridUserService.cs
+++ b/OpenSim/Services/Interfaces/IGridUserService.cs
@@ -108,8 +108,18 @@ namespace OpenSim.Services.Interfaces
bool LoggedOut(string userID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt);
- bool SetLastPosition(string userID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
-
+
+ ///
+ /// Stores the last known user position at the grid level
+ ///
+ /// Ignore if your connector does not use userID for position updates
+ /// Ignore if your connector does not use sessionID for position updates
+ /// RegionID where the user is currently located
+ /// Region-relative position
+ /// Normalized look direction
+ /// True if the user's last position was successfully updated, otherwise false
+ bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
+
GridUserInfo GetGridUserInfo(string userID);
}
}
\ No newline at end of file
--
cgit v1.1