aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
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 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}