diff options
author | Melanie Thielker | 2008-08-14 00:04:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-14 00:04:37 +0000 |
commit | e3157e61aa50d057b4345cb9d49c973afeb26b15 (patch) | |
tree | 8452565ff0d7e6c3d07541743e0e5f665bc7d03c /OpenSim/Framework | |
parent | * minor: make it clear on the console when a client is being logged out becau... (diff) | |
download | opensim-SC_OLD-e3157e61aa50d057b4345cb9d49c973afeb26b15.zip opensim-SC_OLD-e3157e61aa50d057b4345cb9d49c973afeb26b15.tar.gz opensim-SC_OLD-e3157e61aa50d057b4345cb9d49c973afeb26b15.tar.bz2 opensim-SC_OLD-e3157e61aa50d057b4345cb9d49c973afeb26b15.tar.xz |
Mantis #1946
Thank you, HomerHorwitz, for a patch that corrects and improves TP
to landmark and home position handling.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/IGridServices.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/UserProfileData.cs | 10 |
3 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/IGridServices.cs b/OpenSim/Framework/Communications/IGridServices.cs index 39f04c3..3ecda68 100644 --- a/OpenSim/Framework/Communications/IGridServices.cs +++ b/OpenSim/Framework/Communications/IGridServices.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
29 | using libsecondlife; | ||
29 | 30 | ||
30 | namespace OpenSim.Framework.Communications | 31 | namespace OpenSim.Framework.Communications |
31 | { | 32 | { |
@@ -52,6 +53,7 @@ namespace OpenSim.Framework.Communications | |||
52 | List<SimpleRegionInfo> RequestNeighbours(uint x, uint y); | 53 | List<SimpleRegionInfo> RequestNeighbours(uint x, uint y); |
53 | 54 | ||
54 | RegionInfo RequestNeighbourInfo(ulong regionHandle); | 55 | RegionInfo RequestNeighbourInfo(ulong regionHandle); |
56 | RegionInfo RequestNeighbourInfo(LLUUID regionID); | ||
55 | RegionInfo RequestClosestRegion(string regionName); | 57 | RegionInfo RequestClosestRegion(string regionName); |
56 | Dictionary<string, string> GetGridSettings(); | 58 | Dictionary<string, string> GetGridSettings(); |
57 | List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY); | 59 | List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY); |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 893a783..66ea3ea 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework | |||
81 | IClientAPI remoteClient, ulong regionHandle, LLVector3 position, LLVector3 lookAt, uint flags); | 81 | IClientAPI remoteClient, ulong regionHandle, LLVector3 position, LLVector3 lookAt, uint flags); |
82 | 82 | ||
83 | public delegate void TeleportLandmarkRequest( | 83 | public delegate void TeleportLandmarkRequest( |
84 | IClientAPI remoteClient, ulong regionHandle, LLVector3 position); | 84 | IClientAPI remoteClient, LLUUID regionID, LLVector3 position); |
85 | 85 | ||
86 | public delegate void DisconnectUser(); | 86 | public delegate void DisconnectUser(); |
87 | 87 | ||
diff --git a/OpenSim/Framework/UserProfileData.cs b/OpenSim/Framework/UserProfileData.cs index 17d339e..2b0e15f 100644 --- a/OpenSim/Framework/UserProfileData.cs +++ b/OpenSim/Framework/UserProfileData.cs | |||
@@ -149,6 +149,16 @@ namespace OpenSim.Framework | |||
149 | } | 149 | } |
150 | } | 150 | } |
151 | 151 | ||
152 | private LLUUID _homeRegionID; | ||
153 | /// <summary> | ||
154 | /// 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. | ||
155 | /// </summary> | ||
156 | public LLUUID HomeRegionID | ||
157 | { | ||
158 | get { return _homeRegionID; } | ||
159 | set { _homeRegionID = value; } | ||
160 | } | ||
161 | |||
152 | // Property wrappers | 162 | // Property wrappers |
153 | public virtual LLUUID ID | 163 | public virtual LLUUID ID |
154 | { | 164 | { |