diff options
author | John Hurliman | 2010-03-07 16:05:12 -0800 |
---|---|---|
committer | John Hurliman | 2010-03-07 16:05:12 -0800 |
commit | d71ed7081b2267ff056927c97ac8ef32466f7b96 (patch) | |
tree | d5308dc67cde3e7aa5c3d323598b49c449529a31 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | * Updated to libomv r3268 which fixes the mapping for OpenJPEG on 64-bit syst... (diff) | |
parent | Bug fix: correct name of methods in user accounts connector. (diff) | |
download | opensim-SC_OLD-d71ed7081b2267ff056927c97ac8ef32466f7b96.zip opensim-SC_OLD-d71ed7081b2267ff056927c97ac8ef32466f7b96.tar.gz opensim-SC_OLD-d71ed7081b2267ff056927c97ac8ef32466f7b96.tar.bz2 opensim-SC_OLD-d71ed7081b2267ff056927c97ac8ef32466f7b96.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 20 |
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 | } |