aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authoralondria2008-02-02 22:53:01 +0000
committeralondria2008-02-02 22:53:01 +0000
commit742ed9537df1cb45a0c57e38e4c0c0735fc92eca (patch)
treeda78e2838e34139dfc4aa8f4fa5e118136781b16 /OpenSim/Region/Environment/Scenes
parentAdded llParseString2List (and a few extra methods to LSL_Types.list). (diff)
downloadopensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.zip
opensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.tar.gz
opensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.tar.bz2
opensim-SC-742ed9537df1cb45a0c57e38e4c0c0735fc92eca.tar.xz
Implements LSL function llDialog().
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 464a29a..c99cac0 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1727,6 +1727,14 @@ namespace OpenSim.Region.Environment.Scenes
1727 } 1727 }
1728 } 1728 }
1729 1729
1730 public void SendDialogToUser(LLUUID avatarID, string objectName, LLUUID objectID, LLUUID ownerID,string message,LLUUID TextureID,int ch,string[] buttonlabels)
1731 {
1732 if (m_scenePresences.ContainsKey(avatarID))
1733 {
1734 m_scenePresences[avatarID].ControllingClient.SendDialog(objectName,objectID,ownerID,message,TextureID,ch,buttonlabels);
1735 }
1736 }
1737
1730 /// <summary> 1738 /// <summary>
1731 /// 1739 ///
1732 /// </summary> 1740 /// </summary>