aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/Hypergrid/HGUserServices.cs')
-rw-r--r--OpenSim/Region/Communications/Hypergrid/HGUserServices.cs33
1 files changed, 2 insertions, 31 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs
index 370ef12..357d8a6 100644
--- a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs
+++ b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs
@@ -59,6 +59,7 @@ namespace OpenSim.Region.Communications.Hypergrid
59 59
60 // Constructor called when running in standalone 60 // Constructor called when running in standalone
61 public HGUserServices(LocalUserServices local) 61 public HGUserServices(LocalUserServices local)
62 : base(null)
62 { 63 {
63 m_localUserServices = local; 64 m_localUserServices = local;
64 } 65 }
@@ -101,30 +102,12 @@ namespace OpenSim.Region.Communications.Hypergrid
101 base.LogOffUser(userid, regionid, regionhandle, position, lookat); 102 base.LogOffUser(userid, regionid, regionhandle, position, lookat);
102 } 103 }
103 104
104 /// <summary>
105 /// Logs off a user on the user server (deprecated as of 2008-08-27)
106 /// </summary>
107 /// <param name="UserID">UUID of the user</param>
108 /// <param name="regionID">UUID of the Region</param>
109 /// <param name="regionhandle">regionhandle</param>
110 /// <param name="posx">final position x</param>
111 /// <param name="posy">final position y</param>
112 /// <param name="posz">final position z</param>
113 public override void LogOffUser(UUID userid, UUID regionid, ulong regionhandle, float posx, float posy, float posz)
114 {
115 string url = string.Empty;
116 if ((m_localUserServices != null) && !IsForeignUser(userid, out url))
117 m_localUserServices.LogOffUser(userid, regionid, regionhandle, posx, posy, posz);
118 else
119 base.LogOffUser(userid, regionid, regionhandle, posx, posy, posz);
120 }
121
122 public override UserProfileData GetUserProfile(string firstName, string lastName) 105 public override UserProfileData GetUserProfile(string firstName, string lastName)
123 { 106 {
124 if (m_localUserServices != null) 107 if (m_localUserServices != null)
125 return m_localUserServices.GetUserProfile(firstName, lastName); 108 return m_localUserServices.GetUserProfile(firstName, lastName);
126 109
127 return GetUserProfile(firstName + " " + lastName); 110 return base.GetUserProfile(firstName, lastName);
128 } 111 }
129 112
130 public override List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(UUID queryID, string query) 113 public override List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(UUID queryID, string query)
@@ -140,18 +123,6 @@ namespace OpenSim.Region.Communications.Hypergrid
140 /// </summary> 123 /// </summary>
141 /// <param name="avatarID"></param> 124 /// <param name="avatarID"></param>
142 /// <returns>null if the request fails</returns> 125 /// <returns>null if the request fails</returns>
143 public override UserProfileData GetUserProfile(string name)
144 {
145 // This doesn't exist in LocalUserServices
146
147 return base.GetUserProfile(name);
148 }
149
150 /// <summary>
151 /// Get a user profile from the user server
152 /// </summary>
153 /// <param name="avatarID"></param>
154 /// <returns>null if the request fails</returns>
155 public override UserProfileData GetUserProfile(UUID avatarID) 126 public override UserProfileData GetUserProfile(UUID avatarID)
156 { 127 {
157 //string url = string.Empty; 128 //string url = string.Empty;