diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 166dcda..b7469ae 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -906,9 +906,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
906 | } | 906 | } |
907 | } | 907 | } |
908 | 908 | ||
909 | public void SendGenericMessage(string method, List<string> message) | 909 | public void SendGenericMessage(string method, UUID invoice, List<string> message) |
910 | { | 910 | { |
911 | GenericMessagePacket gmp = new GenericMessagePacket(); | 911 | GenericMessagePacket gmp = new GenericMessagePacket(); |
912 | |||
913 | gmp.AgentData.AgentID = AgentId; | ||
914 | gmp.AgentData.SessionID = m_sessionId; | ||
915 | gmp.AgentData.TransactionID = invoice; | ||
916 | |||
912 | gmp.MethodData.Method = Util.StringToBytes256(method); | 917 | gmp.MethodData.Method = Util.StringToBytes256(method); |
913 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | 918 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; |
914 | int i = 0; | 919 | int i = 0; |
@@ -921,9 +926,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
921 | OutPacket(gmp, ThrottleOutPacketType.Task); | 926 | OutPacket(gmp, ThrottleOutPacketType.Task); |
922 | } | 927 | } |
923 | 928 | ||
924 | public void SendGenericMessage(string method, List<byte[]> message) | 929 | public void SendGenericMessage(string method, UUID invoice, List<byte[]> message) |
925 | { | 930 | { |
926 | GenericMessagePacket gmp = new GenericMessagePacket(); | 931 | GenericMessagePacket gmp = new GenericMessagePacket(); |
932 | |||
933 | gmp.AgentData.AgentID = AgentId; | ||
934 | gmp.AgentData.SessionID = m_sessionId; | ||
935 | gmp.AgentData.TransactionID = invoice; | ||
936 | |||
927 | gmp.MethodData.Method = Util.StringToBytes256(method); | 937 | gmp.MethodData.Method = Util.StringToBytes256(method); |
928 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | 938 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; |
929 | int i = 0; | 939 | int i = 0; |