diff options
small clean up.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 14 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 6b8ddc6..a35140d 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -761,6 +761,20 @@ namespace OpenSim.Region.Environment.Scenes | |||
761 | /// | 761 | /// |
762 | /// </summary> | 762 | /// </summary> |
763 | /// <param name="remoteClient"></param> | 763 | /// <param name="remoteClient"></param> |
764 | /// <param name="avatarID"></param> | ||
765 | public void RequestAvatarProperty(IClientAPI remoteClient, LLUUID avatarID) | ||
766 | { | ||
767 | string about = "OpenSim crash test dummy"; | ||
768 | string bornOn = "Before now"; | ||
769 | string flAbout = "First life? What is one of those? OpenSim is my life!"; | ||
770 | LLUUID partner = new LLUUID("11111111-1111-0000-0000-000100bba000"); | ||
771 | remoteClient.SendAvatarProperties(avatarID, about, bornOn, "", flAbout, 0, LLUUID.Zero, LLUUID.Zero, "", partner); | ||
772 | } | ||
773 | |||
774 | /// <summary> | ||
775 | /// | ||
776 | /// </summary> | ||
777 | /// <param name="remoteClient"></param> | ||
764 | /// <param name="xferID"></param> | 778 | /// <param name="xferID"></param> |
765 | /// <param name="fileName"></param> | 779 | /// <param name="fileName"></param> |
766 | public void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName) | 780 | public void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName) |
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 85479a7..7834230 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -711,6 +711,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
711 | client.OnXferReceive += commsManager.TransactionsManager.HandleXfer; | 711 | client.OnXferReceive += commsManager.TransactionsManager.HandleXfer; |
712 | // client.OnRequestXfer += RequestXfer; | 712 | // client.OnRequestXfer += RequestXfer; |
713 | 713 | ||
714 | client.OnRequestAvatarProperties += RequestAvatarProperty; | ||
715 | |||
714 | client.OnGrabObject += ProcessObjectGrab; | 716 | client.OnGrabObject += ProcessObjectGrab; |
715 | } | 717 | } |
716 | 718 | ||