From 074937e0e510e9be6b7a0e5639d93a93be38d6b1 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 21 May 2010 23:34:47 +0100
Subject: Apply http://opensimulator.org/mantis/view.php?id=4627 Adds OwnerId
and CreatorId properties to MRM.IObject
---
.../OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs | 10 ++++++++++
1 file changed, 10 insertions(+)
(limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces')
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
index 30580e7..29f7f68 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
@@ -98,6 +98,16 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
String Description { get; set; }
///
+ /// Returns the UUID of the Owner of the Object.
+ ///
+ UUID OwnerId { get; }
+
+ ///
+ /// Returns the UUID of the Creator of the Object.
+ ///
+ UUID CreatorId { get; }
+
+ ///
/// Returns the root object of a linkset. If this object is the root, it will return itself.
///
IObject Root { get; }
--
cgit v1.1
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')
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