From 084ffc74c659c0c6ba86167590b0d146408aa56b Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Fri, 3 Apr 2009 10:42:39 +0000
Subject: * Implements MRM IObject.Say - this is equivilent to llSay Example:
public override void Start() {
Host.Object.Say("Hello World!"); }
---
OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'OpenSim/Region/OptionalModules/Scripting')
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
index da8fce5..21efc6d 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IObject.cs
@@ -103,6 +103,14 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
// RadiusOffset, Skew
PhysicsMaterial PhysicsMaterial { get; set; }
+
+ ///
+ /// Causes the object to speak to its surroundings,
+ /// equivilent to LSL/OSSL llSay
+ ///
+ /// The message to send to the user
+ void Say(string msg);
+
}
public enum PhysicsMaterial
--
cgit v1.1