diff options
author | Melanie | 2013-04-22 22:24:41 +0200 |
---|---|---|
committer | Melanie | 2013-04-22 22:39:08 +0100 |
commit | 293a024c141d3567d42169f625bc449b89a1b59d (patch) | |
tree | f8d7064f5e2fa813ee8a15f1b6e235d3c79620db /OpenSim/Region/ClientStack/Linden/UDP | |
parent | Clean up unused config and config comments. (diff) | |
download | opensim-SC_OLD-293a024c141d3567d42169f625bc449b89a1b59d.zip opensim-SC_OLD-293a024c141d3567d42169f625bc449b89a1b59d.tar.gz opensim-SC_OLD-293a024c141d3567d42169f625bc449b89a1b59d.tar.bz2 opensim-SC_OLD-293a024c141d3567d42169f625bc449b89a1b59d.tar.xz |
Allow callers to set the invoice parameter for GenericMessage
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-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; |