aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorunknown2010-03-06 14:13:12 -0600
committerMelanie2010-03-06 20:05:11 +0000
commit2dcf73dd93f2bc8993c2f534ef5ee8c72e24d0f3 (patch)
tree6b44acaa4ce8d0227996433d21272b3654baeb3a /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-2dcf73dd93f2bc8993c2f534ef5ee8c72e24d0f3.zip
opensim-SC_OLD-2dcf73dd93f2bc8993c2f534ef5ee8c72e24d0f3.tar.gz
opensim-SC_OLD-2dcf73dd93f2bc8993c2f534ef5ee8c72e24d0f3.tar.bz2
opensim-SC_OLD-2dcf73dd93f2bc8993c2f534ef5ee8c72e24d0f3.tar.xz
- supporting llTextBox
Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-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 569dc8d..2e59457 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -11630,5 +11630,25 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11630 11630
11631 OutPacket(packet, ThrottleOutPacketType.Task); 11631 OutPacket(packet, ThrottleOutPacketType.Task);
11632 } 11632 }
11633
11634 public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId)
11635 {
11636 ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog);
11637 dialog.Data.ObjectID = objectId;
11638 dialog.Data.ChatChannel = chatChannel;
11639 dialog.Data.ImageID = UUID.Zero;
11640 dialog.Data.ObjectName = Util.StringToBytes256(objectname);
11641 // this is the username of the *owner*
11642 dialog.Data.FirstName = Util.StringToBytes256(ownerFirstName);
11643 dialog.Data.LastName = Util.StringToBytes256(ownerLastName);
11644 dialog.Data.Message = Util.StringToBytes256(message);
11645
11646
11647 ScriptDialogPacket.ButtonsBlock[] buttons = new ScriptDialogPacket.ButtonsBlock[1];
11648 buttons[0] = new ScriptDialogPacket.ButtonsBlock();
11649 buttons[0].ButtonLabel = Util.StringToBytes256("!!llTextBox!!");
11650 dialog.Buttons = buttons;
11651 OutPacket(dialog, ThrottleOutPacketType.Task);
11652 }
11633 } 11653 }
11634} 11654}