Thank you, HomerHorwitz, for a patch that corrects and improves TP
to landmark and home position handling.
This commit is contained in:
Melanie Thielker
2008-08-14 00:04:37 +00:00
parent fb4eb05ae1
commit e3157e61aa
12 changed files with 105 additions and 16 deletions

View File

@@ -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);

View File

@@ -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();

View File

@@ -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
{