diff options
Diffstat (limited to 'OpenSim/Region/Communications/Hypergrid/HGUserServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs index 93d5434..8d9ca34 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | |||
@@ -62,12 +62,15 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
62 | { | 62 | { |
63 | m_localUserServices = local; | 63 | m_localUserServices = local; |
64 | } | 64 | } |
65 | |||
66 | public override bool AddUserAgent(UserAgentData agentdata) | ||
67 | { | ||
68 | if (m_localUserServices != null) | ||
69 | return m_localUserServices.AddUserAgent(agentdata); | ||
70 | |||
71 | return base.AddUserAgent(agentdata); | ||
72 | } | ||
65 | 73 | ||
66 | /// <summary> | ||
67 | /// Get a user agent from the user server | ||
68 | /// </summary> | ||
69 | /// <param name="avatarID"></param> | ||
70 | /// <returns>null if the request fails</returns> | ||
71 | public override UserAgentData GetAgentByUUID(UUID userId) | 74 | public override UserAgentData GetAgentByUUID(UUID userId) |
72 | { | 75 | { |
73 | string url = string.Empty; | 76 | string url = string.Empty; |
@@ -77,14 +80,6 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
77 | return base.GetAgentByUUID(userId); | 80 | return base.GetAgentByUUID(userId); |
78 | } | 81 | } |
79 | 82 | ||
80 | /// <summary> | ||
81 | /// Logs off a user on the user server | ||
82 | /// </summary> | ||
83 | /// <param name="UserID">UUID of the user</param> | ||
84 | /// <param name="regionID">UUID of the Region</param> | ||
85 | /// <param name="regionhandle">regionhandle</param> | ||
86 | /// <param name="position">final position</param> | ||
87 | /// <param name="lookat">final lookat</param> | ||
88 | public override void LogOffUser(UUID userid, UUID regionid, ulong regionhandle, Vector3 position, Vector3 lookat) | 83 | public override void LogOffUser(UUID userid, UUID regionid, ulong regionhandle, Vector3 position, Vector3 lookat) |
89 | { | 84 | { |
90 | string url = string.Empty; | 85 | string url = string.Empty; |