aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorMelanie2010-09-30 16:01:45 +0100
committerMelanie2010-09-30 16:01:45 +0100
commit521e2c83558d77c0482bebb6764a22c1fb8c5fd9 (patch)
treeb58fdcab0d9ac8c9056413f005144384da1686a3 /OpenSim/Services/Interfaces
parentFix an inventory fetch issue (diff)
parentPrevent dropping someone else's attachments (diff)
downloadopensim-SC-521e2c83558d77c0482bebb6764a22c1fb8c5fd9.zip
opensim-SC-521e2c83558d77c0482bebb6764a22c1fb8c5fd9.tar.gz
opensim-SC-521e2c83558d77c0482bebb6764a22c1fb8c5fd9.tar.bz2
opensim-SC-521e2c83558d77c0482bebb6764a22c1fb8c5fd9.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IGridUserService.cs26
1 files changed, 23 insertions, 3 deletions
diff --git a/OpenSim/Services/Interfaces/IGridUserService.cs b/OpenSim/Services/Interfaces/IGridUserService.cs
index 95ce5e8..6613ae7 100644
--- a/OpenSim/Services/Interfaces/IGridUserService.cs
+++ b/OpenSim/Services/Interfaces/IGridUserService.cs
@@ -105,11 +105,31 @@ namespace OpenSim.Services.Interfaces
105 public interface IGridUserService 105 public interface IGridUserService
106 { 106 {
107 GridUserInfo LoggedIn(string userID); 107 GridUserInfo LoggedIn(string userID);
108 bool LoggedOut(string userID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); 108
109 /// <summary>
110 /// Informs the grid that a user is logged out and to remove any session data for them
111 /// </summary>
112 /// <param name="userID">Ignore if your connector does not use userID for logouts</param>
113 /// <param name="sessionID">Ignore if your connector does not use sessionID for logouts</param>
114 /// <param name="regionID">RegionID where the user was last located</param>
115 /// <param name="lastPosition">Last region-relative position of the user</param>
116 /// <param name="lastLookAt">Last normalized look direction for the user</param>
117 /// <returns>True if the logout request was successfully processed, otherwise false</returns>
118 bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
109 119
110 bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt); 120 bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt);
111 bool SetLastPosition(string userID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); 121
112 122 /// <summary>
123 /// Stores the last known user position at the grid level
124 /// </summary>
125 /// <param name="userID">Ignore if your connector does not use userID for position updates</param>
126 /// <param name="sessionID">Ignore if your connector does not use sessionID for position updates</param>
127 /// <param name="regionID">RegionID where the user is currently located</param>
128 /// <param name="lastPosition">Region-relative position</param>
129 /// <param name="lastLookAt">Normalized look direction</param>
130 /// <returns>True if the user's last position was successfully updated, otherwise false</returns>
131 bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
132
113 GridUserInfo GetGridUserInfo(string userID); 133 GridUserInfo GetGridUserInfo(string userID);
114 } 134 }
115} \ No newline at end of file 135} \ No newline at end of file