diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 3888a0b..173c9e5 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -831,6 +831,21 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
831 | } | 831 | } |
832 | } | 832 | } |
833 | 833 | ||
834 | public void SendGenericMessage(string method, List<string> message) | ||
835 | { | ||
836 | GenericMessagePacket gmp = new GenericMessagePacket(); | ||
837 | gmp.MethodData.Method = Util.StringToBytes256(method); | ||
838 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | ||
839 | int i = 0; | ||
840 | foreach (string val in message) | ||
841 | { | ||
842 | gmp.ParamList[i] = new GenericMessagePacket.ParamListBlock(); | ||
843 | gmp.ParamList[i++].Parameter = Util.StringToBytes256(val); | ||
844 | } | ||
845 | |||
846 | OutPacket(gmp, ThrottleOutPacketType.Task); | ||
847 | } | ||
848 | |||
834 | public void SendGenericMessage(string method, List<byte[]> message) | 849 | public void SendGenericMessage(string method, List<byte[]> message) |
835 | { | 850 | { |
836 | GenericMessagePacket gmp = new GenericMessagePacket(); | 851 | GenericMessagePacket gmp = new GenericMessagePacket(); |