mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Mantis #1946
Thank you, HomerHorwitz, for a patch that corrects and improves TP to landmark and home position handling.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
using System.Collections.Generic;
|
||||
using libsecondlife;
|
||||
|
||||
namespace OpenSim.Framework.Communications
|
||||
{
|
||||
@@ -52,6 +53,7 @@ namespace OpenSim.Framework.Communications
|
||||
List<SimpleRegionInfo> RequestNeighbours(uint x, uint y);
|
||||
|
||||
RegionInfo RequestNeighbourInfo(ulong regionHandle);
|
||||
RegionInfo RequestNeighbourInfo(LLUUID regionID);
|
||||
RegionInfo RequestClosestRegion(string regionName);
|
||||
Dictionary<string, string> GetGridSettings();
|
||||
List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY);
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework
|
||||
IClientAPI remoteClient, ulong regionHandle, LLVector3 position, LLVector3 lookAt, uint flags);
|
||||
|
||||
public delegate void TeleportLandmarkRequest(
|
||||
IClientAPI remoteClient, ulong regionHandle, LLVector3 position);
|
||||
IClientAPI remoteClient, LLUUID regionID, LLVector3 position);
|
||||
|
||||
public delegate void DisconnectUser();
|
||||
|
||||
|
||||
@@ -149,6 +149,16 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
private LLUUID _homeRegionID;
|
||||
/// <summary>
|
||||
/// The regionID of the users home region. This is unique; even if the position of the region changes within the grid, this will refer to the same region.
|
||||
/// </summary>
|
||||
public LLUUID HomeRegionID
|
||||
{
|
||||
get { return _homeRegionID; }
|
||||
set { _homeRegionID = value; }
|
||||
}
|
||||
|
||||
// Property wrappers
|
||||
public virtual LLUUID ID
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user