aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler
diff options
context:
space:
mode:
authorJeff Ames2007-11-08 03:11:10 +0000
committerJeff Ames2007-11-08 03:11:10 +0000
commit0b4e15bc3586422d273bd8845962a2db681230e2 (patch)
treef3394ee384d7b20fc8c1f0eee4ebda3c10203a1a /OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler
parent* Added Rotational Velocity reporting for Client Interpolation to Terse Updates (diff)
downloadopensim-SC_OLD-0b4e15bc3586422d273bd8845962a2db681230e2.zip
opensim-SC_OLD-0b4e15bc3586422d273bd8845962a2db681230e2.tar.gz
opensim-SC_OLD-0b4e15bc3586422d273bd8845962a2db681230e2.tar.bz2
opensim-SC_OLD-0b4e15bc3586422d273bd8845962a2db681230e2.tar.xz
converted hard-coded chat type values to ChatTypeEnum
Diffstat (limited to 'OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler')
-rw-r--r--OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
index 7bc3ce4..64921d7 100644
--- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
@@ -270,24 +270,20 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler
270 270
271 public void llWhisper(int channelID, string text) 271 public void llWhisper(int channelID, string text)
272 { 272 {
273 //type for whisper is 0
274 World.SimChat(Helpers.StringToField(text), 273 World.SimChat(Helpers.StringToField(text),
275 0, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID); 274 ChatTypeEnum.Whisper, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID);
276 } 275 }
277 276
278 public void llSay(int channelID, string text) 277 public void llSay(int channelID, string text)
279 { 278 {
280 //type for say is 1
281
282 World.SimChat(Helpers.StringToField(text), 279 World.SimChat(Helpers.StringToField(text),
283 1, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID); 280 ChatTypeEnum.Say, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID);
284 } 281 }
285 282
286 public void llShout(int channelID, string text) 283 public void llShout(int channelID, string text)
287 { 284 {
288 //type for shout is 2
289 World.SimChat(Helpers.StringToField(text), 285 World.SimChat(Helpers.StringToField(text),
290 2, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID); 286 ChatTypeEnum.Shout, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID);
291 } 287 }
292 288
293 public int llListen(int channelID, string name, string ID, string msg) 289 public int llListen(int channelID, string name, string ID, string msg)