diff options
author | Charles Krinke | 2009-06-29 21:47:47 +0000 |
---|---|---|
committer | Charles Krinke | 2009-06-29 21:47:47 +0000 |
commit | 6942eaed5b3d8065ebf01dc465e905ca456c0fa4 (patch) | |
tree | ba35780085d13474160ea9a39d2a83b5e401f6a4 /OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs | |
parent | Thanks StrawberryFride, for a patch that fixes MSSQL migration: (diff) | |
download | opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.zip opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.gz opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.bz2 opensim-SC_OLD-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.xz |
Thank you kindly, Snowdrop, for a patch that solves:
The current API for MRM is quite sparse, this patch
supplies basic support for accessing the task
inventory of object.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs index 6fd36bf..a71d1e5 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs | |||
@@ -32,6 +32,7 @@ using System.Collections.Generic; | |||
32 | 32 | ||
33 | using OpenMetaverse; | 33 | using OpenMetaverse; |
34 | using OpenSim.Region.Framework.Scenes; | 34 | using OpenSim.Region.Framework.Scenes; |
35 | using OpenSim.Region.Framework.Interfaces; | ||
35 | 36 | ||
36 | using log4net; | 37 | using log4net; |
37 | 38 | ||
@@ -90,6 +91,13 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
90 | return attachments.ToArray(); | 91 | return attachments.ToArray(); |
91 | } | 92 | } |
92 | } | 93 | } |
94 | |||
95 | public void LoadUrl(IObject sender, string message, string url) | ||
96 | { | ||
97 | IDialogModule dm = m_rootScene.RequestModuleInterface<IDialogModule>(); | ||
98 | if(dm != null) | ||
99 | dm.SendUrlToUser(GetSP().UUID, sender.Name, sender.GlobalID, GetSP().UUID, false, message, url); | ||
100 | } | ||
93 | #endregion | 101 | #endregion |
94 | } | 102 | } |
95 | } | 103 | } |