aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorAdam Frisby2009-04-03 10:40:14 +0000
committerAdam Frisby2009-04-03 10:40:14 +0000
commit254d3099f03dde79a4e689bcb99e4d67d91f6300 (patch)
tree5db728a743a7cf7d9194a9438f738103d17faacf /OpenSim/Region/Framework
parent* MRM Scripts will now no longer disconnect the client if there was an error ... (diff)
downloadopensim-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/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
index df6672d..4c99873 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
@@ -84,6 +84,16 @@ namespace OpenSim.Region.Framework.Scenes
84 SimChat(message, type, channel, fromPos, fromName, fromID, fromAgent, false); 84 SimChat(message, type, channel, fromPos, fromName, fromID, fromAgent, false);
85 } 85 }
86 86
87 public void SimChat(string message, ChatTypeEnum type, Vector3 fromPos, string fromName, UUID fromID, bool fromAgent)
88 {
89 SimChat(Utils.StringToBytes(message), type, 0, fromPos, fromName, fromID, fromAgent);
90 }
91
92 public void SimChat(string message, string fromName)
93 {
94 SimChat(message, ChatTypeEnum.Broadcast, Vector3.Zero, fromName, UUID.Zero, false);
95 }
96
87 /// <summary> 97 /// <summary>
88 /// 98 ///
89 /// </summary> 99 /// </summary>