aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorJohn Hurliman2010-09-29 14:24:32 -0700
committerJohn Hurliman2010-09-29 14:24:32 -0700
commit9b7c99f0cfd8fbcd3ce31e0be6fa68f5bedef78b (patch)
treec22a7beeb227fd525610cad9a0faa1bb5f66aa58 /OpenSim/Services/Interfaces
parentRestrict top colliders / top scripts to estate managers (diff)
downloadopensim-SC_OLD-9b7c99f0cfd8fbcd3ce31e0be6fa68f5bedef78b.zip
opensim-SC_OLD-9b7c99f0cfd8fbcd3ce31e0be6fa68f5bedef78b.tar.gz
opensim-SC_OLD-9b7c99f0cfd8fbcd3ce31e0be6fa68f5bedef78b.tar.bz2
opensim-SC_OLD-9b7c99f0cfd8fbcd3ce31e0be6fa68f5bedef78b.tar.xz
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
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IGridUserService.cs14
1 files changed, 12 insertions, 2 deletions
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
108 bool LoggedOut(string userID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); 108 bool LoggedOut(string userID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
109 109
110 bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt); 110 bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt);
111 bool SetLastPosition(string userID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); 111
112 112 /// <summary>
113 /// Stores the last known user position at the grid level
114 /// </summary>
115 /// <param name="userID">Ignore if your connector does not use userID for position updates</param>
116 /// <param name="sessionID">Ignore if your connector does not use sessionID for position updates</param>
117 /// <param name="regionID">RegionID where the user is currently located</param>
118 /// <param name="lastPosition">Region-relative position</param>
119 /// <param name="lastLookAt">Normalized look direction</param>
120 /// <returns>True if the user's last position was successfully updated, otherwise false</returns>
121 bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
122
113 GridUserInfo GetGridUserInfo(string userID); 123 GridUserInfo GetGridUserInfo(string userID);
114 } 124 }
115} \ No newline at end of file 125} \ No newline at end of file