diff options
author | Dr Scofield | 2008-05-26 15:37:31 +0000 |
---|---|---|
committer | Dr Scofield | 2008-05-26 15:37:31 +0000 |
commit | 1bb1d5d9b06887380eec0696102eb859f04810e6 (patch) | |
tree | fecd69763a3daeba464a1bcbc1349828dd9445b3 /OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API | |
parent | Adding OnChatBroadcast event logic to EventManager providing (diff) | |
download | opensim-SC-1bb1d5d9b06887380eec0696102eb859f04810e6.zip opensim-SC-1bb1d5d9b06887380eec0696102eb859f04810e6.tar.gz opensim-SC-1bb1d5d9b06887380eec0696102eb859f04810e6.tar.bz2 opensim-SC-1bb1d5d9b06887380eec0696102eb859f04810e6.tar.xz |
This cleans up a merge mess from the earlier checkin and implements llOwnerSay()
via the newly created Scene.SimBroadcast() call.
Diffstat (limited to 'OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API')
-rw-r--r-- | OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 22 |
1 files changed, 14 insertions, 8 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 64d3493..b06a457 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 | |||
@@ -272,19 +272,30 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler | |||
272 | public void llWhisper(int channelID, string text) | 272 | public void llWhisper(int channelID, string text) |
273 | { | 273 | { |
274 | World.SimChat(Helpers.StringToField(text), | 274 | World.SimChat(Helpers.StringToField(text), |
275 | ChatTypeEnum.Whisper, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID); | 275 | ChatTypeEnum.Whisper, channelID, m_host.AbsolutePosition, |
276 | m_host.Name, m_host.UUID, false); | ||
276 | } | 277 | } |
277 | 278 | ||
278 | public void llSay(int channelID, string text) | 279 | public void llSay(int channelID, string text) |
279 | { | 280 | { |
280 | World.SimChat(Helpers.StringToField(text), | 281 | World.SimChat(Helpers.StringToField(text), |
281 | ChatTypeEnum.Say, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID); | 282 | ChatTypeEnum.Say, channelID, m_host.AbsolutePosition, |
283 | m_host.Name, m_host.UUID, false); | ||
282 | } | 284 | } |
283 | 285 | ||
284 | public void llShout(int channelID, string text) | 286 | public void llShout(int channelID, string text) |
285 | { | 287 | { |
286 | World.SimChat(Helpers.StringToField(text), | 288 | World.SimChat(Helpers.StringToField(text), |
287 | ChatTypeEnum.Shout, channelID, m_host.AbsolutePosition, m_host.Name, m_host.UUID); | 289 | ChatTypeEnum.Shout, channelID, m_host.AbsolutePosition, |
290 | m_host.Name, m_host.UUID, false); | ||
291 | } | ||
292 | |||
293 | public void llOwnerSay(string msg) | ||
294 | { | ||
295 | m_log.DebugFormat("llOwnerSay(\"{0}\")", msg); | ||
296 | World.SimChatBroadcast(Helpers.StringToField(text), | ||
297 | ChatTypeEnum.Owner, 0, m_host.AbsolutePosition, | ||
298 | m_host.Name, m_host.UUID, false); | ||
288 | } | 299 | } |
289 | 300 | ||
290 | public int llListen(int channelID, string name, string ID, string msg) | 301 | public int llListen(int channelID, string name, string ID, string msg) |
@@ -2032,11 +2043,6 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler | |||
2032 | return ""; | 2043 | return ""; |
2033 | } | 2044 | } |
2034 | 2045 | ||
2035 | public void llOwnerSay(string msg) | ||
2036 | { | ||
2037 | NotImplemented("llOwnerSay"); | ||
2038 | } | ||
2039 | |||
2040 | public void llRequestSimulatorData(string simulator, int data) | 2046 | public void llRequestSimulatorData(string simulator, int data) |
2041 | { | 2047 | { |
2042 | NotImplemented("llRequestSimulatorData"); | 2048 | NotImplemented("llRequestSimulatorData"); |