mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Stores the last known user position at the grid level
|
||||
/// </summary>
|
||||
/// <param name="userID">Ignore if your connector does not use userID for position updates</param>
|
||||
/// <param name="sessionID">Ignore if your connector does not use sessionID for position updates</param>
|
||||
/// <param name="regionID">RegionID where the user is currently located</param>
|
||||
/// <param name="lastPosition">Region-relative position</param>
|
||||
/// <param name="lastLookAt">Normalized look direction</param>
|
||||
/// <returns>True if the user's last position was successfully updated, otherwise false</returns>
|
||||
bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt);
|
||||
|
||||
GridUserInfo GetGridUserInfo(string userID);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user