aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorMelanie2010-05-23 06:09:54 +0100
committerMelanie2010-05-23 06:09:54 +0100
commita9dad994324122555c436a5db14ff4072fbf6c89 (patch)
tree3b5dfbb8f6d989cff561fd304c822e7cbfc7c61a /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parentMerge branch 'master' into careminster-presence-refactor (diff)
parentApply http://opensimulator.org/mantis/view.php?id=4632 (diff)
downloadopensim-SC-a9dad994324122555c436a5db14ff4072fbf6c89.zip
opensim-SC-a9dad994324122555c436a5db14ff4072fbf6c89.tar.gz
opensim-SC-a9dad994324122555c436a5db14ff4072fbf6c89.tar.bz2
opensim-SC-a9dad994324122555c436a5db14ff4072fbf6c89.tar.xz
Merge branch 'master' into careminster-presence-refactor
Conflicts: OpenSim/Region/Framework/Scenes/ScenePresence.cs
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs15
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();