mirror of
https://github.com/opensim/opensim.git
synced 2026-07-05 19:51:27 +08:00
* Added AvatarPicker in Standalone mode. Works for finding avatar to ban, manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D.
* Grid mode always returns 0 results until the Grid Communications portion is done.
This commit is contained in:
@@ -217,7 +217,16 @@ namespace OpenSim.Region.ClientStack
|
||||
OnAgentSit(this, agentSit.AgentData.AgentID);
|
||||
}
|
||||
break;
|
||||
|
||||
case PacketType.AvatarPickerRequest:
|
||||
AvatarPickerRequestPacket avRequestQuery = (AvatarPickerRequestPacket)Pack;
|
||||
AvatarPickerRequestPacket.AgentDataBlock Requestdata = avRequestQuery.AgentData;
|
||||
AvatarPickerRequestPacket.DataBlock querydata = avRequestQuery.Data;
|
||||
//System.Console.WriteLine("Agent Sends:" + Helpers.FieldToUTF8String(querydata.Name));
|
||||
if (OnAvatarPickerRequest != null)
|
||||
{
|
||||
OnAvatarPickerRequest(this, Requestdata.AgentID, Requestdata.QueryID, Helpers.FieldToUTF8String(querydata.Name));
|
||||
}
|
||||
break;
|
||||
#endregion
|
||||
|
||||
#region Objects/m_sceneObjects
|
||||
|
||||
Reference in New Issue
Block a user