* Committing more unfinished stuff. Nothing significant at the moment. IM related.

This commit is contained in:
Teravus Ovares
2008-06-01 10:05:22 +00:00
parent 52c55c8c23
commit d20cae2d03
5 changed files with 362 additions and 11 deletions

View File

@@ -49,6 +49,8 @@ namespace OpenSim.Framework.Communications
/// <returns>A user profile. Returns null if no user profile is found.</returns>
UserProfileData GetUserProfile(LLUUID userId);
UserAgentData GetAgentByUUID(LLUUID userId);
void clearUserAgent(LLUUID avatarID);
List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(LLUUID QueryID, string Query);

View File

@@ -103,7 +103,20 @@ namespace OpenSim.Framework.Communications
return null;
}
public UserAgentData GetAgentByUUID(LLUUID userId)
{
foreach (KeyValuePair<string, IUserData> plugin in _plugins)
{
UserAgentData agent = plugin.Value.GetAgentByUUID(userId);
if (agent != null)
{
return agent;
}
}
return null;
}
// see IUserService
public UserProfileData GetUserProfile(LLUUID uuid)
{