diff options
author | Adam Frisby | 2009-04-03 10:40:14 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-03 10:40:14 +0000 |
commit | 254d3099f03dde79a4e689bcb99e4d67d91f6300 (patch) | |
tree | 5db728a743a7cf7d9194a9438f738103d17faacf /OpenSim/Region/OptionalModules/Scripting | |
parent | * MRM Scripts will now no longer disconnect the client if there was an error ... (diff) | |
download | opensim-SC-254d3099f03dde79a4e689bcb99e4d67d91f6300.zip opensim-SC-254d3099f03dde79a4e689bcb99e4d67d91f6300.tar.gz opensim-SC-254d3099f03dde79a4e689bcb99e4d67d91f6300.tar.bz2 opensim-SC-254d3099f03dde79a4e689bcb99e4d67d91f6300.tar.xz |
* Implements Scene.SimChat(string,...) rather than byte[]. We should probably mark byte[] as obsolete.
* Implements SOPObject.Say for MRM. (Note, not IObject yet)
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs index 5010a34..12d996a 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |||
@@ -215,6 +215,17 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
215 | set { throw new System.NotImplementedException(); } | 215 | set { throw new System.NotImplementedException(); } |
216 | } | 216 | } |
217 | 217 | ||
218 | #region Public Functions | ||
219 | |||
220 | public void Say(string msg) | ||
221 | { | ||
222 | SceneObjectPart sop = GetSOP(); | ||
223 | |||
224 | m_rootScene.SimChat(msg, ChatTypeEnum.Say, sop.AbsolutePosition, sop.Name, sop.UUID, false); | ||
225 | } | ||
226 | |||
227 | #endregion | ||
228 | |||
218 | 229 | ||
219 | #region Supporting Functions | 230 | #region Supporting Functions |
220 | 231 | ||