mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Committing more unfinished stuff. Nothing significant at the moment. IM related.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user