From 3dffc3e3f647faa3e82126f5107ce13fbd610ffb Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 19 Aug 2007 14:55:43 +0000 Subject: small clean up. --- OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 14 ++++++++++++++ OpenSim/Region/Environment/Scenes/Scene.cs | 2 ++ 2 files changed, 16 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') 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 /// /// /// + /// + public void RequestAvatarProperty(IClientAPI remoteClient, LLUUID avatarID) + { + string about = "OpenSim crash test dummy"; + string bornOn = "Before now"; + string flAbout = "First life? What is one of those? OpenSim is my life!"; + LLUUID partner = new LLUUID("11111111-1111-0000-0000-000100bba000"); + remoteClient.SendAvatarProperties(avatarID, about, bornOn, "", flAbout, 0, LLUUID.Zero, LLUUID.Zero, "", partner); + } + + /// + /// + /// + /// /// /// 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 client.OnXferReceive += commsManager.TransactionsManager.HandleXfer; // client.OnRequestXfer += RequestXfer; + client.OnRequestAvatarProperties += RequestAvatarProperty; + client.OnGrabObject += ProcessObjectGrab; } -- cgit v1.1