diff options
author | Diva Canto | 2010-05-23 12:23:16 -0700 |
---|---|---|
committer | Diva Canto | 2010-05-23 12:23:16 -0700 |
commit | 30e94cd0753809094b9b01b664e0ae643db28492 (patch) | |
tree | 4a76c17218f68ff6aeeb43524b3298b2107e74fc /OpenSim/Region/ClientStack/LindenUDP | |
parent | The 8th migration statement in AssetStore.migrations didn't look right. (diff) | |
parent | Remove an unneeded conditional (diff) | |
download | opensim-SC_OLD-30e94cd0753809094b9b01b664e0ae643db28492.zip opensim-SC_OLD-30e94cd0753809094b9b01b664e0ae643db28492.tar.gz opensim-SC_OLD-30e94cd0753809094b9b01b664e0ae643db28492.tar.bz2 opensim-SC_OLD-30e94cd0753809094b9b01b664e0ae643db28492.tar.xz |
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
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 9eb35fa..e67428d 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -816,6 +816,21 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
816 | } | 816 | } |
817 | } | 817 | } |
818 | 818 | ||
819 | public void SendGenericMessage(string method, List<string> message) | ||
820 | { | ||
821 | GenericMessagePacket gmp = new GenericMessagePacket(); | ||
822 | gmp.MethodData.Method = Util.StringToBytes256(method); | ||
823 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | ||
824 | int i = 0; | ||
825 | foreach (string val in message) | ||
826 | { | ||
827 | gmp.ParamList[i] = new GenericMessagePacket.ParamListBlock(); | ||
828 | gmp.ParamList[i++].Parameter = Util.StringToBytes256(val); | ||
829 | } | ||
830 | |||
831 | OutPacket(gmp, ThrottleOutPacketType.Task); | ||
832 | } | ||
833 | |||
819 | public void SendGenericMessage(string method, List<byte[]> message) | 834 | public void SendGenericMessage(string method, List<byte[]> message) |
820 | { | 835 | { |
821 | GenericMessagePacket gmp = new GenericMessagePacket(); | 836 | GenericMessagePacket gmp = new GenericMessagePacket(); |