diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/CommunicationsManager.cs | 13 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs index ee0d164..2813aa0 100644 --- a/OpenSim/Framework/Communications/CommunicationsManager.cs +++ b/OpenSim/Framework/Communications/CommunicationsManager.cs | |||
@@ -259,6 +259,19 @@ namespace OpenSim.Framework.Communications | |||
259 | } | 259 | } |
260 | } | 260 | } |
261 | } | 261 | } |
262 | public string UUIDNameRequestString(LLUUID uuid) | ||
263 | { | ||
264 | UserProfileData profileData = m_userService.GetUserProfile(uuid); | ||
265 | if (profileData != null) | ||
266 | { | ||
267 | //LLUUID profileId = profileData.ID; | ||
268 | string firstname = profileData.FirstName; | ||
269 | string lastname = profileData.SurName; | ||
270 | |||
271 | return firstname + " " + lastname; | ||
272 | } | ||
273 | return "(hippos)"; | ||
274 | } | ||
262 | 275 | ||
263 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(LLUUID queryID, string query) | 276 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(LLUUID queryID, string query) |
264 | { | 277 | { |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 8f41728..02dfc8c 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -729,6 +729,7 @@ namespace OpenSim.Framework | |||
729 | uint flags, LLUUID flImageID, LLUUID imageID, string profileURL, LLUUID partnerID); | 729 | uint flags, LLUUID flImageID, LLUUID imageID, string profileURL, LLUUID partnerID); |
730 | 730 | ||
731 | void SendScriptQuestion(LLUUID taskID, string taskName, string ownerName, LLUUID itemID, int question); | 731 | void SendScriptQuestion(LLUUID taskID, string taskName, string ownerName, LLUUID itemID, int question); |
732 | void SendHealth(float health); | ||
732 | 733 | ||
733 | byte[] GetThrottlesPacked(float multiplier); | 734 | byte[] GetThrottlesPacked(float multiplier); |
734 | 735 | ||