From b2197e3b94f3865ba3927a4aaaf38cffe141cd72 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 21 May 2010 23:37:05 +0100
Subject: Apply http://opensimulator.org/mantis/view.php?id=4632 Adds dialog
methods for MRM. Thanks ziah.
---
.../Scripting/Minimodule/Interfaces/IObject.cs | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs')
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
index 29f7f68..e189489 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
@@ -189,9 +189,25 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
///
/// The message to send to the user
void Say(string msg);
-
+
+ ///
+ /// Causes the object to speak to on a specific channel,
+ /// equivilent to LSL/OSSL llSay
+ ///
+ /// The message to send to the user
+ /// The channel on which to send the message
void Say(string msg,int channel);
+ ///
+ /// Opens a Dialog Panel in the Users Viewer,
+ /// equivilent to LSL/OSSL llDialog
+ ///
+ /// The UUID of the Avatar to which the Dialog should be send
+ /// The Message to display at the top of the Dialog
+ /// The Strings that act as label/value of the Bottons in the Dialog
+ /// The channel on which to send the response
+ void Dialog(UUID avatar, string message, string[] buttons, int chat_channel);
+
////
/// Grants access to the objects inventory
///
--
cgit v1.1