aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-22 23:04:32 +0000
committerJustin Clarke Casey2009-04-22 23:04:32 +0000
commitbd8e4a8892e204e2d9e7e24087f7200c16be57f0 (patch)
treec1d70399cd3f75a8bf97e09a9dcb8f652a1e8a3d /OpenSim/Region/Communications/Hypergrid/HGUserServices.cs
parent* Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some se... (diff)
downloadopensim-SC-bd8e4a8892e204e2d9e7e24087f7200c16be57f0.zip
opensim-SC-bd8e4a8892e204e2d9e7e24087f7200c16be57f0.tar.gz
opensim-SC-bd8e4a8892e204e2d9e7e24087f7200c16be57f0.tar.bz2
opensim-SC-bd8e4a8892e204e2d9e7e24087f7200c16be57f0.tar.xz
* Fix hypergrid standalone login by overriding AddNewUserAgent in HGUserServices
Diffstat (limited to 'OpenSim/Region/Communications/Hypergrid/HGUserServices.cs')
-rw-r--r--OpenSim/Region/Communications/Hypergrid/HGUserServices.cs21
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;