aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-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;