aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie2010-03-09 22:46:17 +0000
committerMelanie2010-03-09 22:46:17 +0000
commit40873504dcde19a3738cf4d3a4928a59b811e8f0 (patch)
tree605d2c2575e21496b05eeabd0a5755b8fa788efd /OpenSim/Region/ClientStack/LindenUDP
parent- parcel blocking, region crossing blocking, teleport blocking (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-40873504dcde19a3738cf4d3a4928a59b811e8f0.zip
opensim-SC_OLD-40873504dcde19a3738cf4d3a4928a59b811e8f0.tar.gz
opensim-SC_OLD-40873504dcde19a3738cf4d3a4928a59b811e8f0.tar.bz2
opensim-SC_OLD-40873504dcde19a3738cf4d3a4928a59b811e8f0.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index ea73abb..8cd47fb 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -11621,5 +11621,25 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11621 11621
11622 OutPacket(packet, ThrottleOutPacketType.Task); 11622 OutPacket(packet, ThrottleOutPacketType.Task);
11623 } 11623 }
11624
11625 public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId)
11626 {
11627 ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog);
11628 dialog.Data.ObjectID = objectId;
11629 dialog.Data.ChatChannel = chatChannel;
11630 dialog.Data.ImageID = UUID.Zero;
11631 dialog.Data.ObjectName = Util.StringToBytes256(objectname);
11632 // this is the username of the *owner*
11633 dialog.Data.FirstName = Util.StringToBytes256(ownerFirstName);
11634 dialog.Data.LastName = Util.StringToBytes256(ownerLastName);
11635 dialog.Data.Message = Util.StringToBytes256(message);
11636
11637
11638 ScriptDialogPacket.ButtonsBlock[] buttons = new ScriptDialogPacket.ButtonsBlock[1];
11639 buttons[0] = new ScriptDialogPacket.ButtonsBlock();
11640 buttons[0].ButtonLabel = Util.StringToBytes256("!!llTextBox!!");
11641 dialog.Buttons = buttons;
11642 OutPacket(dialog, ThrottleOutPacketType.Task);
11643 }
11624 } 11644 }
11625} 11645}