aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-05 15:53:11 +0000
committerTeravus Ovares2008-05-05 15:53:11 +0000
commitce19234dc865e645166dbe5cc52b6d8eb7c6d0af (patch)
treec84ebb52428d4c4db3305832a5bad5cb283164be /OpenSim/Region/ClientStack/LindenUDP
parent* A bit of spice from here, a pinch of salt from there, some brains that attr... (diff)
downloadopensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.zip
opensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.gz
opensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.bz2
opensim-SC_OLD-ce19234dc865e645166dbe5cc52b6d8eb7c6d0af.tar.xz
* Unraveled the DEBUG_CHANNEL mystery.
* Moved script errors to the debug channel. * Typing '/2147483647 OK' results in a debug_channel message. * Expanded the available parameters that are send-able through IClientAPI
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 475788a..4ff27e7 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -898,18 +898,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
898 /// <param name="fromPos"></param> 898 /// <param name="fromPos"></param>
899 /// <param name="fromName"></param> 899 /// <param name="fromName"></param>
900 /// <param name="fromAgentID"></param> 900 /// <param name="fromAgentID"></param>
901 public void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID) 901 public void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID, byte source, byte audible)
902 { 902 {
903 SendChatMessage(Helpers.StringToField(message), type, fromPos, fromName, fromAgentID); 903 SendChatMessage(Helpers.StringToField(message), type, fromPos, fromName, fromAgentID, source, audible);
904 } 904 }
905 905
906 public void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID) 906 public void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID, byte source, byte audible)
907 { 907 {
908 ChatFromSimulatorPacket reply = (ChatFromSimulatorPacket)PacketPool.Instance.GetPacket(PacketType.ChatFromSimulator); 908 ChatFromSimulatorPacket reply = (ChatFromSimulatorPacket)PacketPool.Instance.GetPacket(PacketType.ChatFromSimulator);
909 reply.ChatData.Audible = 1; 909 reply.ChatData.Audible = audible;
910 reply.ChatData.Message = message; 910 reply.ChatData.Message = message;
911 reply.ChatData.ChatType = type; 911 reply.ChatData.ChatType = type;
912 reply.ChatData.SourceType = 1; 912 reply.ChatData.SourceType = source;
913 reply.ChatData.Position = fromPos; 913 reply.ChatData.Position = fromPos;
914 reply.ChatData.FromName = Helpers.StringToField(fromName); 914 reply.ChatData.FromName = Helpers.StringToField(fromName);
915 reply.ChatData.OwnerID = fromAgentID; 915 reply.ChatData.OwnerID = fromAgentID;