aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs
diff options
context:
space:
mode:
authorCharles Krinke2009-06-29 21:47:47 +0000
committerCharles Krinke2009-06-29 21:47:47 +0000
commit6942eaed5b3d8065ebf01dc465e905ca456c0fa4 (patch)
treeba35780085d13474160ea9a39d2a83b5e401f6a4 /OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs
parentThanks StrawberryFride, for a patch that fixes MSSQL migration: (diff)
downloadopensim-SC-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.zip
opensim-SC-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.gz
opensim-SC-6942eaed5b3d8065ebf01dc465e905ca456c0fa4.tar.bz2
opensim-SC-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.cs8
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
33using OpenMetaverse; 33using OpenMetaverse;
34using OpenSim.Region.Framework.Scenes; 34using OpenSim.Region.Framework.Scenes;
35using OpenSim.Region.Framework.Interfaces;
35 36
36using log4net; 37using 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}