diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-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 1609012..1eb953c 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -900,9 +900,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
900 | } | 900 | } |
901 | } | 901 | } |
902 | 902 | ||
903 | public void SendGenericMessage(string method, List<string> message) | 903 | public void SendGenericMessage(string method, UUID invoice, List<string> message) |
904 | { | 904 | { |
905 | GenericMessagePacket gmp = new GenericMessagePacket(); | 905 | GenericMessagePacket gmp = new GenericMessagePacket(); |
906 | |||
907 | gmp.AgentData.AgentID = AgentId; | ||
908 | gmp.AgentData.SessionID = m_sessionId; | ||
909 | gmp.AgentData.TransactionID = invoice; | ||
910 | |||
906 | gmp.MethodData.Method = Util.StringToBytes256(method); | 911 | gmp.MethodData.Method = Util.StringToBytes256(method); |
907 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | 912 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; |
908 | int i = 0; | 913 | int i = 0; |
@@ -915,9 +920,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
915 | OutPacket(gmp, ThrottleOutPacketType.Task); | 920 | OutPacket(gmp, ThrottleOutPacketType.Task); |
916 | } | 921 | } |
917 | 922 | ||
918 | public void SendGenericMessage(string method, List<byte[]> message) | 923 | public void SendGenericMessage(string method, UUID invoice, List<byte[]> message) |
919 | { | 924 | { |
920 | GenericMessagePacket gmp = new GenericMessagePacket(); | 925 | GenericMessagePacket gmp = new GenericMessagePacket(); |
926 | |||
927 | gmp.AgentData.AgentID = AgentId; | ||
928 | gmp.AgentData.SessionID = m_sessionId; | ||
929 | gmp.AgentData.TransactionID = invoice; | ||
930 | |||
921 | gmp.MethodData.Method = Util.StringToBytes256(method); | 931 | gmp.MethodData.Method = Util.StringToBytes256(method); |
922 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | 932 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; |
923 | int i = 0; | 933 | int i = 0; |